Skip to content

Do not see columns specifications  #12

@belonesox

Description

@belonesox

Let's consider sample from doc:

>>> import numpy as np
>>> import array_to_latex as a2l
>>> A = np.array([[1.23456, 23.45678],[456.23, 8.239521]])
>>> latex_code = a2l.to_ltx(A, frmt = '{:6.2f}', arraytype = 'array')
\begin{array}
    1.23 &   23.46\\
  456.23 &    8.24
\end{array}

I do not see here any column specifications,
( https://latex-programming.fandom.com/wiki/Array_(LaTeX_environment) )
for me it works only when we specify columns

\begin{array}{|r|r|}
    1.23 &   23.46\\
  456.23 &    8.24
\end{array}

and dont work without it.

Am I doing something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions