Tablas de alineación

Tablas de alineación

Tengo dificultades para alinear mis mesas.

Lo primero es que Latex pone una distancia entre 2 tablas solas en una página. Quiero que la distancia normal entre ellos y el resto de la página esté vacía. No ambos distribuidos por igual en una página.

En segundo lugar, tengo una mesa lateral solitaria y está centrada. Quiero que comience en la parte superior de la página y, como antes, el resto de la página esté vacía. Entonces, una alineación vertical para una página horizontal. Lo logré para mesas normales con ese \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}

Tal vez debería usar más minipáginas, porque a veces flotar apesta.

Saludos

Respuesta1

Simplemente use el argumento opcional [!htb]para las dos primeras tablas. Para la mesa lateral, agregue \hfilljusto antes \begin{tabular}.

Sin relación, reemplacé los guiones en las tablas con guiones más correctos.

\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}}

ingrese la descripción de la imagen aquí ingrese la descripción de la imagen aquí

información relacionada