Skip to content

Commit 087c0b7

Browse files
committed
update readme
1 parent d5a4e39 commit 087c0b7

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,23 @@ Convert a `numpy.NDArray` to various LaTeX forms.
3232
1 & 2 & 3 \\
3333
4 & 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

3746
Inspired 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.

0 commit comments

Comments
 (0)