smpl.latex.si_tab¶
- smpl.latex.si_tab(tab, skip=0, fmt='{}')[source]¶
Get arrays of (uncertainty) numbers in a latex table compatible form.
Parameters¶
- tabarray_like
Array containing the values of the table
- skipnumber
Skip this many table lines
- fmtstr
format string for the numbers
Returns¶
str
Examples¶
>>> si_tab([[1,2],[3,4]]) '\\SI{1}{}&\\SI{2}{}\\\\\n\\SI{3}{}&\\SI{4}{}\\\\\n'