%20en%20modo%20horizontal.png)
No tengo ni idea de cómo abordar este problema y espero que algunos de ustedes puedan ayudarme. Como se ve en la captura de pantalla adjunta, la tabla que tengo en modo horizontal choca con el nombre del capítulo y el número de página (dentro del cuadrado rojo). Lo que quiero es eliminar el número de página/nombre del capítulo de las páginas cubiertas por la tabla o cambiar la tabla para que no entre en conflicto con el encabezado.
Saludos cordiales, Henrik.
Código utilizado para la tabla:
\begin{landscape}
\section{Rock-Eval Data}
Rock-Eval data. Any missing values in hydrogen and oxygen index is due to either negative or missing TOC values.
\begin{footnotesize}
\begin{center}
\begin{longtable}{ccccccccc}
\caption{Rock-Eval data.}\\
\toprule
\label{tab:retable}
\textbf{Level (m)} & \textbf{S$1$ (mg/g)} & \textbf{S$2$ (mg/g)} & \textbf{S$3$ (mg/g)} & \textbf{T$_{Max}$ (\degree{C})} & \textbf{PI (wt ratio)} & \textbf{Hydrogen Index (mg HC/g TOC)} & \textbf{Oxygen Index (mg HC/g TOC)} &\textbf{Powder Colour}\\
\midrule
\endfirsthead
\multicolumn{9}{c}%{\tablename\ \thetable\ -- \textit{Continued from previous page}} \\
\toprule
\textbf{Level (m)} & \textbf{S$1$ (mg/g)} & \textbf{S$2$ (mg/g)} & \textbf{S$3$ (mg/g)} & \textbf{T$_{Max}$ (\degree{C})} & \textbf{PI (wt ratio)} & \textbf{Hydrogen Index (mg HC/g TOC)} & \textbf{Oxygen Index (mg HC/g TOC)} &\textbf{Powder Colour}\\
\midrule
\endhead
\bottomrule \multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\endlastfoot
DATA GOES HERE
$11.75$ & $0$ & $0$ & $0.62$ & $513$ & $0$ & & & Light Grey \\
\end{longtable}
\end{center}
\end{footnotesize}
\end{landscape}
Respuesta1
Aquí hay una solución con makecell
. Permite saltos de línea en \thead
celdas y un formato común. La nota SIunitx
ayudaría a componer unidades y tener un buen formato de números en las tablas. Además, footnotesize
hasta donde yo sé, no hay ningún entorno, solo un \footnotesize
interruptor. De todos modos, puedes escribir la tabla en \normalsize
.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{array, ltablex, caption, booktabs, makecell}
\usepackage[detect-weight]{siunitx}
\renewcommand\theadfont{\normalfont\bfseries\boldmath}
\usepackage{lscape}
\begin{document}
\begin{landscape}
\section{Rock-Eval Data}
Rock-Eval data. Any missing values in hydrogen and oxygen index is due to either negative or missing TOC values.
\begin{center}%
\begin{longtable}{ccccccccc}
\caption{Rock-Eval data.}
\label{tab:retable}\\
\toprule
\thead{Level \\(m)} & \thead{S$1$ (mg/g)} & \thead{S$2$\\ (mg/g)} & \thead{S$3$\\ (mg/g)} & \thead{$\mathbf T_\text{Max}$\\ (\si{\celsius})}
& \thead{PI\\ (wt ratio)} & \thead{Hydrogen Index\\ (mg HC/g TOC)} & \thead{Oxygen Index\\ (mg HC/g TOC)} &\thead{Powder\\ Colour}\\
\midrule
\endfirsthead
%\multicolumn{9}{c}%{\tablename\ \thetable\ -- \textit{Continued from previous page}} \\
\toprule
\thead{Level \\(m)} & \thead{S$1$ (mg/g)} & \thead{S$2$\\ (mg/g)} & \thead{S$3$\\ (mg/g)} & \thead{$T_\text{Max}$\\ (\si{\celsius})}
& \thead{PI\\ (wt ratio)} & \thead{Hydrogen Index\\ (mg HC/g TOC)} & \thead{Oxygen Index\\ (mg HC/g TOC)} &\thead{Powder\\ Colour}\\
\midrule
\endhead
\bottomrule \multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\endlastfoot
%%DATA GOES HERE
$11.75$ & $0$ & $0$ & $0.62$ & $513$ & $0$ & & & Light Grey \\
\end{longtable}
\end{center}
\end{landscape}
\end{document}
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{array, ltablex, caption, booktabs, makecell}
\usepackage[detect-weight]{siunitx}
\renewcommand\theadfont{\normalfont\bfseries\boldmath}
\usepackage{lscape}
\begin{document}
\begin{landscape}
\section{Rock-Eval Data}
Rock-Eval data. Any missing values in hydrogen and oxygen index is due to either negative or missing TOC values.
\begin{center}%
\begin{longtable}{ccccccccc}
\caption{Rock-Eval data.}
\label{tab:retable}\\
\toprule
\thead{Level \\(m)} & \thead{S$1$ (mg/g)} & \thead{S$2$\\ (mg/g)} & \thead{S$3$\\ (mg/g)} & \thead{$\mathbf T_\text{Max}$\\ (\si{\celsius})}
& \thead{PI\\ (wt ratio)} & \thead{Hydrogen Index\\ (mg HC/g TOC)} & \thead{Oxygen Index\\ (mg HC/g TOC)} &\thead{Powder\\ Colour}\\
\midrule
\endfirsthead
%\multicolumn{9}{c}%{\tablename\ \thetable\ -- \textit{Continued from previous page}} \\
\toprule
\thead{Level \\(m)} & \thead{S$1$ (mg/g)} & \thead{S$2$\\ (mg/g)} & \thead{S$3$\\ (mg/g)} & \thead{$T_\text{Max}$\\ (\si{\celsius})}
& \thead{PI\\ (wt ratio)} & \thead{Hydrogen Index\\ (mg HC/g TOC)} & \thead{Oxygen Index\\ (mg HC/g TOC)} &\thead{Powder\\ Colour}\\
\midrule
\endhead
\bottomrule \multicolumn{3}{r}{\textit{Continued on next page}}\\
\endfoot
\bottomrule
\endlastfoot
%%DATA GOES HERE
$11.75$ & $0$ & $0$ & $0.62$ & $513$ & $0$ & & & Light Grey \\
\end{longtable}
\end{center}
\end{landscape}
\end{document}