Is there a way to make fixed-width columns --- of a specific numeric length --- when using siunitx?
The following code produces an acceptable table:
Code: Select all
\documentclass{article}
\usepackage{booktabs}
\usepackage{array}
\begin{document}
\newcolumntype{C}[1]{>{\centering}m{#1}}
\begin{table}
\centering
\begin{tabular}{C{1in}C{1in}C{1in}C{1in}} \toprule
\mbox{Row Address/} State Vector & $G_x$~value & $G_y$~value & $G_z$~value \tabularnewline \midrule
0 & 0 & 0 & 0 \tabularnewline
1 & 0 & 0 & +8192 \tabularnewline
2 & 0 & 0 & -16384 \tabularnewline
3 & 0 & 0 & 0 \tabularnewline
4 & 0 & 0 & +4096 \tabularnewline
5 & +6144 & 0 & +4096 \tabularnewline
6 & 0 & 0 & +4096 \tabularnewline \bottomrule
\end{tabular}
\end{table}%
\end{document}
Code: Select all
\num{}
Does anyone know if it is possible to make siunitx (and its standard "S" column type) make a fixed-width column? I'd love your ideas.
Thanks for your time.