I am trying to used the revtex4-1 document class for a paper, and I want to align the decimal point in columns of numbers. I am trying to use the S column type from the siunitx package. If I use the ruledtabular environment defined by the revtex4-1 class, using an S column locks up the pdflatex compilation. I can use the S column in a regular tabular environment.
Does someone have a fix for this situation, or do I need to try another package. I can't seem to find whether revtex4-1 provides for decimal aligned columns.
Here's the MWE:
\documentclass[rmp,reprint]{revtex4-1}
\usepackage{siunitx}
\begin{document}
\title{Using S Columns with revtex4-1}
\begin{abstract}
Using S columns from \texttt{siunitx} doesn't seem to work.\end{abstract}
\maketitle
A table using \texttt{ruledtabular} environment with \texttt{ccc} columns works.
\begin{table}[h!]
\caption{Table of some gyromagnetic ratios and nuclear spins}
\begin{ruledtabular}\begin{tabular}{ccc}
Nuclide & {$\gamma_n$ (MHz/T)}& spin quantum number\\
$^1$H & 42.576 & $\frac{1}{2}$\\
$^2$H & 6.536 & $ 1$ \\
\end{tabular}\end{ruledtabular}
\end{table}
A table NOT using \texttt{ruledtabular} environment with \texttt{cSc} columns works.
\begin{table}[h!]
\caption{Table of some gyromagnetic ratios and nuclear spins}
\begin{tabular}{cSc}
Nuclide & {$\gamma_n$ (MHz/T)}& spin quantum number\\
$^1$H & 42.576 & $\frac{1}{2}$\\
$^2$H & 6.536 & $ 1$ \\
\end{tabular}
\end{table}
\end{document}
