I made a table using siunitx
package. In one of the column there is text depicting chemical formulae. Is it possible to align only this column to the left.
\documentclass{article}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{siunitx}
\begin{document}
\begin{table}
\caption{ Comparison of new data to previously reported \label{Transition_delG_HD} }
\begin{tabular}{SSSSSSSS}
\toprule
& \multicolumn{3}{c}{${\alpha}$} & & \multicolumn{3}{c}{$\beta$} \\ \cline{2-4} \cline{6-8}
& \multicolumn{1}{c}{$Our$} & \multicolumn{1}{c}{$Ref. $} & {$\Delta$} & & \multicolumn{1}{c}{$Our$} & \multicolumn{1}{c}{$Ref. $} & {$\Delta$}\\ \cline{2-4} \cline{6-8}
{C\textsubscript{2}H\textsubscript{5}OH} & 25 & 25.5 & -0.5 & & 25 & 25.5 & -0.5 \\
{CH\textsubscript{3}OH} & 26 & 26.12 & -0.12 & & 26 & 26.12 & -0.12 \\
{H\textsubscript{2}O} & 24 & 24.23 & -0.23 & & 24 & 24.23 & -0.23 \\
{HF} & 24 & 24.23 & -0.23 & & 24 & 24.23 & -0.23 \\
\bottomrule
\multicolumn{6}{l}{$\Delta^{a}$ : From Ref. 5} \\
\end{tabular}
\end{table}
\end{document}
Following image shows the issue.
The left-most column with the chemical formulae, I was hoping it can be left aligned.
S
for that column, there is only text, just usel
Our
andRef.
in math mode in the headers? That looks odd. Plus use\cmidrule
instead of\cline
better spacing (just forget about\hline
and\cline
)mhchem
package.