
subdepth
見栄えの良い数式に使用すると、表のthreeparttable
注釈が乱れます。表の注釈の項目間の垂直方向のスペースを均等にする方法をご存知ですか? 使用してみました\usepackage[low-sup]{subdepth}
が、良い結果は得られませんでした。
MWE:
\documentclass{article}
\usepackage{threeparttable}
\usepackage{subdepth}
\begin{document}
\begin{equation}
A = \frac{\left(\phi+\epsilon_A^\prime\right)-\epsilon_A}{\left(1+\epsilon_A^\prime\right)-\epsilon_A}
\end{equation}
\begin{table}[htbp]
\caption{}
\label{tableA}
\centering
\begin{threeparttable}
\begin{tabular}{ll}
\hline
Name & Value \\
\hline
TestA\tnote{a} & 1000000000000000000000000 \\
TestB & 10 \\
TestC & 10 \\
TestD & 10 \\
\hline
\end{tabular}
\footnotesize
\begin{tablenotes}
\item[a]{Salinity data from somewhere}
\item[b]{Chemical product sheet}
\item[c]{Standard density of water}
\item[d]{Calculated value}
\end{tablenotes}
\end{threeparttable}
\end{table}
\begin{table}[htbp]
\caption{}
\label{tableB}
\centering
\begin{threeparttable}
\begin{tabular}{ll}
\hline
Name & Value \\
\hline
TestA\tnote{a} & 1000000000000000000000000 \\
TestB & 10 \\
TestC & 10 \\
TestD & 10 \\
\hline
\end{tabular}
\footnotesize
\begin{tablenotes}
\item[a]{Salinity data from somewhere}
\item[a]{Chemical product sheet}
\item[a]{Standard density of water}
\item[a]{Calculated value}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}
答え1
@egreg と @Bernard の助けを借りて、私は自分で解決策を見つけました。 または\vphantom{b}
のいずれかを使用する\smash{a-b-c-d}
と、項目が垂直に整列します。テキストを適切に整列させるために、表の注釈に水平方向のスペースを追加したことに注意してください。
\documentclass{article}
\usepackage{threeparttable}
\usepackage{subdepth}
\begin{document}
\begin{equation}
A = \frac{\left(\phi+\epsilon_A^\prime\right)-\epsilon_A}{\left(1+\epsilon_A^\prime\right)-\epsilon_A}
\end{equation}
\begin{table}[htbp]
\caption{$\backslash$vphantom\{b\}}
\label{tableA}
\centering
\begin{threeparttable}
\begin{tabular}{ll}
\hline
Name & Value \\
\hline
TestA\tnote{a} & 1000000000000000000000000 \\
TestB\tnote{b} & 10 \\
TestC\tnote{c} & 10 \\
TestD\tnote{d} & 10 \\
\hline
\end{tabular}
\footnotesize
\begin{tablenotes}
\item[\vphantom{b}a]{\hspace{0.3pt}Salinity data from somewhere}
\item[\vphantom{b}b]{\hspace{-.3pt}Chemical product sheet}
\item[\vphantom{b}c]{\hspace{0.3pt}Standard density of water}
\item[\vphantom{b}d]{\hspace{-.3pt}Calculated value}
\end{tablenotes}
\end{threeparttable}
\end{table}
\begin{table}[htbp]
\caption{$\backslash$smash\{a-b-c-d\}}
\label{tableB}
\centering
\begin{threeparttable}
\begin{tabular}{ll}
\hline
Name & Value \\
\hline
TestA\tnote{a} & 1000000000000000000000000 \\
TestB\tnote{b} & 10 \\
TestC\tnote{c} & 10 \\
TestD\tnote{d} & 10 \\
\hline
\end{tabular}
\footnotesize
\begin{tablenotes}
\item[\smash{a}]{\hspace{0.3pt}Salinity data from somewhere}
\item[\smash{b}]{\hspace{-.3pt}Chemical product sheet}
\item[\smash{c}]{\hspace{0.3pt}Standard density of water}
\item[\smash{d}]{\hspace{-.3pt}Calculated value}
\end{tablenotes}
\end{threeparttable}
\end{table}
\end{document}