
Cuando se usa subdepth
para ecuaciones bonitas, las notas de la tabla threeparttable
se estropean. ¿Alguna idea de cómo conseguir un espacio vertical uniforme entre los elementos de las notas de tabla? He intentado usarlo \usepackage[low-sup]{subdepth}
sin buenos resultados.
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}
Respuesta1
Con la ayuda de @egreg y @Bernard, yo mismo encontré una solución. Usar \vphantom{b}
o \smash{a-b-c-d}
hará que los elementos se alineen verticalmente. Observe que he agregado algo de espacio horizontal en las notas de la tabla para alinear correctamente el texto.
\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}