
При использовании subdepth
для красивых уравнений табличные заметки в threeparttable
сбиваются с толку. Есть идеи, как сделать вертикальный интервал между элементами в табличных заметках? Пробовал использовать, \usepackage[low-sup]{subdepth}
но результата не было.
МВЭ:
\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}