我正在嘗試為以下內容準備一份手稿美國國家科學院院刊我遇到了表格問題。如在這問題/答案,表格放置在\end{article}
.但是,在編譯文件時,表標題仍然沒有顯示,\tablenote
s 也沒有顯示。我已將其範圍縮小到siunits
我使用的包,當刪除它(以及 的所有使用\SI
)時,我恢復了標題。我寧願繼續使用siunits
。有沒有辦法解決這個問題,或者我應該啟動一個Word文件(好吧,空威脅)?
\documentclass{pnastwo}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{siunitx} % makes the table screwed up...
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\begin{document}
\title{Paper title}
\author{Avi Ginsburg \affil{1}{Somewhere over the rainbow}}
\contributor{Submitted to Proceedings of the National Academy of Sciences
of the United States of America}
\significancetext{Quite insignificant.}
\maketitle
\begin{article}
\begin{abstract}
{
abstract (adjective) existing in thought or as an idea but not having a physical or concrete existence.
}
\end{abstract}
\dropcap{H}ello world. Small is $\SI{1}{\angstrom}$ or so.
\begin{acknowledgments}
We are grateful to egreg for expressing sympathy for those who have to use the PNAS class.
\end{acknowledgments}
\end{article}
\begin{table*}[ht]
% \centering
\caption{Table title - We like to see them}
\begin{tabular}{c c c }
\toprule
&
\textbf{Something} & \textbf{Else} \\
& & \\
\midrule
\multirow{6}{*}{\rotatebox[origin=c]{90}{Random}}
& accidental\tablenote{this is a table note} & \\
& aimless & \\
& arbitrary & \\
& incidental & \\
\cmidrule{2-3}
& indiscriminate & \\
& irregular & \\
\midrule
\multirow{5}{*}{\rotatebox[origin=c]{90}{Example}}
& case & \\
& illustration&\\
& lesson &\\
\cmidrule{2-3}
& object & \\
& part & \\
\bottomrule
\end{tabular}
\label{tbl}
\end{table*}
\end{document}
我嘗試添加這回答序言並更改類別文件。這會有所幫助,因為顯示了標題/說明文字,但是樣式已更改,並且\tablenote
s 仍然未顯示在表格下方。