Caustic v0.1.22 Caustic.Format View Source

Formatting for beautiful layout of equations and tables.

Link to this section Summary

Link to this section Functions

Examples

iex> Caustic.Format.equations ["x", "1 + 1 + 1", "1 + 2", "3"]
"x = 1 + 1 + 1\n  = 1 + 2\n  = 3"
Link to this function table(t, row_labels, col_labels) View Source

Examples

iex> Caustic.Format.table [[2, 3], [1, 4]], ["x + 1", "x^2"], [1, 2]
"      | 1 | 2\nx + 1 | 2 | 3\n  x^2 | 1 | 4"