Template breaks ctable sideways
matthiaswelz opened this issue · 1 comments
matthiaswelz commented
I downloaded scientific-thesis-template-3.0.0-beta.3.zip.
In main-english.tex I added the following two packages:
\usepackage{ctable}
\usepackage{lipsum}
and replaced the content with:
\chapter{ABC}
\lipsum
\section{DEF}
\lipsum
\subsection{GHI}
\ctable[
caption={CAPTION},
label={table:tab},
sideways
]
{lXlll}
{}
{
\toprule
A & B & C & D & E \\
\midrule
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
A & B & C & D & E \\
\bottomrule
}
\autoref{table:tab} is a table
\lipsum
main-english.txt
main-english.pdf
As you can see in the attached PDF, the table is "broken" as it is placed at the wrong position:
In order to fix this, I had to remove the following lines from config.tex
%%%
%ensure that floats covering a whole page are placed at the top of the page
%see http://tex.stackexchange.com/a/28565/9075
\makeatletter
\setlength{\@fptop}{0pt}
\setlength{\@fpbot}{0pt plus 1fil}
\makeatother
%%%
Now the table looks good:
Any idea how to fix this without losing the intended behaviour?
Vogel612 commented
Preliminary testing suggests to manually rotate the table with \rotatebox
. I'm not perfectly sure how to preserve the behavior with titles and references yet...