
보기 좋은 방정식을 사용하면 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}