Using the siunitx package. I have a table with column specifier S
if I then put an imaginary number in it comes up with a compile time error:
! siunitx error: "table-partial-number"
!
! No space reserved for a complex on line 20.
!
! See the siunitx documentation for further information.
...
| The number in the current table cell contains a complex part,
| but you did not reserve any space to print it:
| it will be missing in the output.
It sounds like I need to enter in some optional argument to make this work but I don't know what that is from reading the manual.
Here's some code (remove the i in the left column to make to compile):
\documentclass{article}
\usepackage{siunitx}
\usepackage{booktabs}
\begin{document}
\begin{table}
\centering
\sisetup{table-alignment=center}
\begin{tabular}{ S S S S }
\toprule
\multicolumn{3}{c}{things} & \\
a & b & c & {related things}\\
\midrule
1 & 1 & 1 & 1 \\
2 & 1 & 2 & 4 \\
3i & 2 & 3 & 18 \\
4 & 2 & 4 & 32 \\
\bottomrule
\end{tabular}
\end{table}
\end{document}
3come under the2, or after it? If the former happens, what then occurs if the input is1 + i? – Joseph Wright♦ May 25 '11 at 19:48i' after and then thei' being appended to the right. In the case of this table with nothing after the radix, i could settable-figures-decimal=0' and add\textit{i}' after the imaginary frequencies. – aghsmith May 25 '11 at 20:13