MWE:
\documentclass[twocolumn,amsmath,amssymb,aps,prb]{revtex4-2}
\usepackage{multirow}
\usepackage{booktabs}
\begin{document}
\begin{table}[htbp]
\caption{Using star * in \texttt{\textbackslash multirow}}
\begin{ruledtabular}
\begin{tabular}{lcc}
\multirow{2}{*}{Layer before ligand attachment\footnote{+CH3 means one methyl group is already attached}} & \multicolumn{2}{c}{-CH3}\\
\cmidrule{2-3}
& RAE & eRAE \\
\midrule
1 Nb +CH3 & 0 & 0
\end{tabular}
\end{ruledtabular}
\end{table}
\begin{table}[htbp]
\caption{Using 3cm in \texttt{\textbackslash multirow}}
\begin{ruledtabular}
\begin{tabular}{lcc}
\multirow{2}{3cm}{Layer before ligand attachment\footnote{+CH3 means one methyl group is already attached}} & \multicolumn{2}{c}{-CH3}\\
\cmidrule{2-3}
& RAE & eRAE \\
\midrule
1 Nb +CH3 & 0 & 0
\end{tabular}
\end{ruledtabular}
\end{table}
\end{document}
脚注は折り返さずに、セル内のテキスト「Layer before...」を折り返すようにします。
答え1
必要ありません\multirow
。代わりに smashed をネストしますtabular
。
\documentclass[twocolumn,amsmath,amssymb,aps,prb]{revtex4-2}
\usepackage{booktabs}
\begin{document}
\begin{table}[htbp]
\caption{A caption to the table}
\begin{ruledtabular}
\begin{tabular}{lcc}
\smash{\begin{tabular}[t]{@{}l@{}} Layer before ligand \\ attachment%
\footnote{+CH3 means one methyl group is already attached} \end{tabular}}
& \multicolumn{2}{c}{-CH3}\\
\cmidrule{2-3}
& RAE & eRAE \\
\midrule
1 Nb +CH3 & 0 & 0
\end{tabular}
\end{ruledtabular}
\end{table}
\end{document}
ターゲットの幅を指定したい場合は、\footnotemark
と の\footnotetext
メカニズムを使用できますが、 で行われる二重処理のために工夫が必要ですruledtabular
(グラフィック的にはひどいと思いますが、それは別の話です)。
\documentclass[twocolumn,amsmath,amssymb,aps,prb]{revtex4-2}
\usepackage{booktabs,array}
\newcommand{\rultabfnmark}{\footnotemark\addtocounter{mpfootnote}{-1}}
\begin{document}
\begin{table}[htbp]
\caption{A caption to the table}
\begin{ruledtabular}
\begin{tabular}{lcc}
\smash{\parbox[t]{3cm}{\raggedright
Layer before ligand attachment\rultabfnmark}}
& \multicolumn{2}{c}{-CH3}\\
\cmidrule{2-3}
& RAE & eRAE \\
\midrule
1 Nb +CH3 & 0 & 0
\end{tabular}
\footnotetext{+CH3 means one methyl group is already attached}
\end{ruledtabular}
\end{table}
\end{document}
出力は以前と同じです (もちろん、特定のケースでは)。