File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,23 @@ Convert a `numpy.NDArray` to various LaTeX forms.
32321 & 2 & 3 \\
33334 & 5 & 6 \\
3434\end{bmatrix}
35+ >> > print (atx.to_tabular(A))
36+ \begin{tabular}{c c c}
37+ \toprule
38+ Col 1 & Col 2 & Col 3 \\
39+ \midrule
40+ 1 & 2 & 3 \\
41+ 4 & 5 & 6 \\
42+ \bottomrule
43+ \end{tabular}
3544```
3645
3746Inspired by [ @josephcslater ] ( https://github.com/josephcslater ) 's
3847[ array_to_latex] ( https://github.com/josephcslater/array_to_latex ) .
3948
4049## Features
4150
42- - Support for different matrix environment delimiters, (` bmatrix ` , ` pmatrix ` , etc.)
51+ - Support for matrix environments with different delimiters (` bmatrix ` , ` pmatrix ` , etc.).
4352- Support for tabular environments.
4453- Support for builtin number formats (` :.2f ` , ` :.3e ` , etc.).
4554- Fully tested and typed.
You can’t perform that action at this time.
0 commit comments