
Tenho dificuldades em alinhar minhas tabelas.
A primeira coisa é que o Latex coloca uma distância entre 2 tabelas sozinhas em uma página. Quero que a distância normal entre eles e o resto da página esteja vazia. Nem ambos distribuídos igualmente em uma página.
Segundo, tenho uma mesa lateral solitária e ela está centralizada. Quero que comece no topo da página e, como antes, o resto da página esteja vazio. Portanto, um alinhamento vertical para uma página paisagem. Consegui isso para tabelas normais com aquele \makeatletter...
\RequirePackage{rotating}
\documentclass[12pt, a4paper, listof=totoc, footlines=2, ngerman,english]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\setlength{\parindent}{0em}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{booktabs}
\usepackage{gensymb}
\usepackage{mwe}
\usepackage{xpatch}
\makeatletter% Set distance from top of page to first float
\setlength\@fptop{0\p@}
\makeatother
\begin{document}
\begin{table}
\centering
\caption{Something}
\label{tab:14}
\begin{tabular}{ccccccc}
\toprule
\textbf{No.} &\textbf{AAAAAA} & \textbf{BBBBBB}& \textbf{CCCCCC}& \textbf{DDDDDD}& \textbf{EEEEEE}& \textbf{F} \\
\midrule
600 & 600 & 100 & 200 & 100 & - & - \\
600 & 600 & 100 & 200 & - & 100 & - \\
600 & 600 & 100 & 200 & - & - & 100\\
600 & 600 & 100 & 250 & 50 & - & - \\
600 & 600 & 100 & 250 & - & 50 & - \\
600 & 600 & 100 & 250 & - & - & 50 \\
\bottomrule
\end{tabular}
\end{table}
\begin{table}
\centering
\caption{Something1}
\label{tab:15}
\begin{tabular}{cccccc}
\toprule
\textbf{AAAA} &\textbf{BBBB}/nm & \textbf{CCCCC}/\% & \textbf{DDDDD}/s& \textbf{EEEEE}/J& \textbf{FFFFFF}/N\\
\midrule
600 & - & 123 & 123 & - & 12345 \\
600 & - & 123 & 123 & - & - \\
600 & - & 123 & 123 & - & - \\
600 & 600.7 & 600.5 & 4.01 & - & - \\
600 & 600.0 & 600.9 & 2.73 & - & - \\
600 & 600.3 & 600.7 & 1.75 & - & - \\
600 & 600.7 & 600.9 & 2.40 & - & - \\
\bottomrule
\end{tabular}
\end{table}
\clearpage
\begin{sidewaystable}
\centering
\caption{LALALALALALALALALALAL}
\label{tab:16}
\begin{tabular}{ccccccccc}
\toprule
\textbf{No.} &\textbf{AAAAAAAAA} &\textbf{AAAAAAAAAA} & \textbf{VVVVVVV} &\textbf{XXX} &\textbf{AAAA} & \textbf{CCCCT}& \textbf{XXNT}& \textbf{BIBIBI} \\
\midrule
600 & 614 & 650 & 100 & 200 & 50 & - & - & 50\\
600 & 614 & 650 & 100 & 200 & 50 & - & - & 80\\
600 & 615 & 650 & 100 & 200 & - & 50 & - & 50\\
600 & 615 & 650 & 100 & 200 & - & 50 & - & 80\\
600 & 616 & 650 & 100 & 200 & - & - & 50 & 50\\
600 & 616 & 650 & 100 & 200 & - & - & 50 & 80\\
\bottomrule
\end{tabular}
\end{sidewaystable}
\end{document}
Talvez eu devesse usar mais minipáginas, porque flutuar às vezes é uma droga.
Cumprimentos
Responder1
Basta usar o argumento opcional [!htb]
para as duas primeiras tabelas. Para a tabela lateral, adicione \hfill
um pouco antes \begin{tabular}
.
Não relacionado, substituí os hífens nas tabelas por endashes mais corretos.
\documentclass[12pt, a4paper, listof=totoc, footlines=2, ngerman,english]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{showframe}
\renewcommand{\ShowFrameLinethickness}{0.3pt}
\setlength{\parindent}{0em}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{graphicx, rotating}
\usepackage{booktabs}
\usepackage{gensymb}
\usepackage{mwe}
\usepackage{xpatch}
\makeatletter% Set distance from top of page to first float
\setlength\@fptop{0\p@}
\makeatother
\setlength{\belowcaptionskip}{1ex}
\begin{document}
\begin{table}[!htb]
\centering
\caption{Something}
\label{tab:14}
\begin{tabular}{ccccccc}
\toprule
\textbf{No.} &\textbf{AAAAAA} & \textbf{BBBBBB}& \textbf{CCCCCC}& \textbf{DDDDDD}& \textbf{EEEEEE}& \textbf{F} \\
\midrule
600 & 600 & 100 & 200 & 100 & – & – \\
600 & 600 & 100 & 200 & – & 100 & – \\
600 & 600 & 100 & 200 & – & – & 100\\
600 & 600 & 100 & 250 & 50 & – & – \\
600 & 600 & 100 & 250 & – & 50 & – \\
600 & 600 & 100 & 250 & – & – & 50 \\
\bottomrule
\end{tabular}
\end{table}
\begin{table}[!htb]
\centering
\caption{Something1}
\label{tab:15}
\begin{tabular}{cccccc}
\toprule
\textbf{AAAA} &\textbf{BBBB}/nm & \textbf{CCCCC}/\% & \textbf{DDDDD}/s& \textbf{EEEEE}/J& \textbf{FFFFFF}/N\\
\midrule
600 & – & 123 & 123 & – & 12345 \\
600 & – & 123 & 123 & – & – \\
600 & – & 123 & 123 & – & – \\
600 & 600.7 & 600.5 & 4.01 & – & – \\
600 & 600.0 & 600.9 & 2.73 & – & – \\
600 & 600.3 & 600.7 & 1.75 & – & – \\
600 & 600.7 & 600.9 & 2.40 & – & – \\
\bottomrule
\end{tabular}
\end{table}
\clearpage
{\rotFPtop = 0pt plus 0.18 fil
\begin{sidewaystable}[
\centering
\caption{LALALALALALALALALALAL}
\label{tab:16}
\begin{tabular}{ccccccccc}
\toprule
\textbf{No.} &\textbf{AAAAAAAAA} &\textbf{AAAAAAAAAA} & \textbf{VVVVVVV} &\textbf{XXX} &\textbf{AAAA} & \textbf{CCCCT}& \textbf{XXNT}& \textbf{BIBIBI} \\
\midrule
600 & 614 & 650 & 100 & 200 & 50 & – & – & 50\\
600 & 614 & 650 & 100 & 200 & 50 & – & – & 80\\
600 & 615 & 650 & 100 & 200 & – & 50 & – & 50\\
600 & 615 & 650 & 100 & 200 & – & 50 & – & 80\\
600 & 616 & 650 & 100 & 200 & – & – & 50 & 50\\
600 & 616 & 650 & 100 & 200 & – & – & 50 & 80\\
\bottomrule
\end{tabular}
\end{sidewaystable}}