%20%D1%82%D0%B8%D1%82%D1%83%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F%20%D1%82%D0%B0%D0%B1%D0%BB%D0%B8%D1%86%D0%B0%20%D0%B2%20%D0%B0%D0%BB%D1%8C%D0%B1%D0%BE%D0%BC%D0%BD%D0%BE%D0%B9%20%D0%BE%D1%80%D0%B8%D0%B5%D0%BD%D1%82%D0%B0%D1%86%D0%B8%D0%B8.png)
Я немного не знаю, как подойти к этой проблеме, и надеюсь, что кто-то из вас сможет мне помочь. Как видно на приложенном снимке экрана, таблица в альбомной ориентации конфликтует с названием главы и номером страницы (внутри красного квадрата). Я хочу либо удалить номер страницы/название главы для страниц, охватываемых таблицей, либо сместить таблицу так, чтобы она не конфликтовала с заголовком.
С наилучшими пожеланиями, Хенрик
Код, используемый для таблицы:
\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}
решение1
Вот решение с makecell
. Оно позволяет переносить строки в \thead
ячейках и использовать общее форматирование. Примечание поможет набрать единицы и получить хорошее форматирование чисел в таблицах. Кроме того, насколько мне известно, SIunitx
нет среды, только переключатель. В любом случае, вы можете набрать таблицу в . footnotesize
\footnotesize
\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}