Seite 1 von 1

sidewaystable (Paket rotating bzw rotfloat) erzeugt leere S.

Verfasst: Do 20. Nov 2014, 15:57
von Seban
Hallo zusammen,

Ich habe mit sidewaystable aus dem Paket rotating/rotfloat eine Tabelle im UZS gedreht, was wunderbar funktioniert. Leider wird vor der Seite mit der Tabelle eine Leerseite eingefügt.

Es wird folgende Warnung ausgegeben:
Overfull \vbox (32.84085pt too high) has occurred while \output is active []
Leider kann ich diese nicht zuordnen und schaffe es nicht das Erstellen der leeren Seite zu verhindern.

Bin für jeden Tipp dankbar.

Grüße,
Seban

Hier ein Minimal-Beispiel:
\documentclass[
   a4paper,
   11pt
]{scrreprt}


\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}


\usepackage{rotfloat}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{todonotes}


\newcolumntype{x}{>{\centering\arraybackslash\hspace{0pt}}X}


\begin{document}

\section*{Abschnitt A}

\missingfigure{Platzhalter}


\section*{Abschnitt B}

\begin{sidewaystable}[H]
	\renewcommand\tabularxcolumn[1]{m{#1}}	% X-Spalte vertikal zentriert
	\centering
	\footnotesize
	
	\begin{tabularx}{0.86\textwidth}[t]{@{}>{\bfseries}x*{13}{m{.78cm}}@{}}\toprule
	
		
		\multicolumn{11}{l}{\textbf{\textit{Elektrische Größen}}} \\\midrule
		Nennwirkleistung 		& 50	& 50 	& 50 	& 50 	& 64	& 70	& 70 	& 70 	& 70 	& 75	& 100	& 140	& 140\\ 
		Nennspannung			& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400\\ 
		Bemessungsscheinleistung		& 53	& 53	& 53	& 53	& 67	& 74	& 74	& 74	& 74	& 79	& 105	& 105	& 147\\ 
		Bemessungsscheinleistung		& 53	& 53	& 53	& 53	& 67	& 74	& 74	& 74	& 74	& 79	& 105	& 105	& 147\\ 
		
		Nennstrom 				& 76	& 76	& 76	& 76	& 97	& 106	& 106	& 106	& 106	& 114	& 152	& 213	& 213\\ 
		Bemessungsstrom 		& 84	& 84	& 84	& 84	& 108	& 118	& 118	& 118	& 118	& 127	& 169	& 236	& 236\\ 
		kurzschlusswechselstrom & 2,3	& 2,3	& 2,3	& 1,7	& 1,9	& 2,3	& 2,3	& 2,3	& 1,9	& 2,0	& 2,5	& 3,9	& 3,9\\ \bottomrule
		
		
	\end{tabularx}
\end{sidewaystable}



\end{document}

Verfasst: Do 20. Nov 2014, 16:40
von Johannes_B
Ich würde Paket rotating benutzen.

Verfasst: Do 20. Nov 2014, 17:02
von Seban
Danke erst mal.

Stimmt, mit rotating statt rotfloat wird keine Leerseite eingefügt. Allerdings nehme ich mir so die Möglichkeit mit [H] die Tabelle und die Überschrift 'Abschnitt B' auf einer Seite zu erzeugen, was dann blöd ausschaut.

Verfasst: Mo 1. Dez 2014, 14:55
von Seban
Ich habe eine Lösung gefunden.

Mit \enlargethispage habe ich die Seitenhöhe auf der Tabellenseite erhöht, so passen Überschrift und Tabelle auf die Seite ohne dass eine Leerseite erstellt wird.

https://tex.stackexchange.com/questions ... wer-200165
\documentclass[
   a4paper,
   11pt
]{scrreprt}


\usepackage[ngerman]{babel}
\usepackage[T1]{fontenc}


\usepackage{rotfloat}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{todonotes}


\newcolumntype{x}{>{\centering\arraybackslash\hspace{0pt}}X}


\begin{document}

\section*{Abschnitt A}

\missingfigure{Platzhalter}


\pagebreak
\enlargethispage{4\baselineskip}


\section*{Abschnitt B}

\begin{sidewaystable}[H]
	\renewcommand\tabularxcolumn[1]{m{#1}}	% X-Spalte vertikal zentriert
	\centering
	\footnotesize
	\begin{tabularx}{0.86\textwidth}[t]{@{}>{\bfseries}x*{13}{m{.78cm}}@{}}\toprule
		\multicolumn{11}{l}{\textbf{\textit{Elektrische Größen}}} \\\midrule
		Nennwirkleistung 		& 50	& 50 	& 50 	& 50 	& 64	& 70	& 70 	& 70 	& 70 	& 75	& 100	& 140	& 140\tabularnewline 
		Nennspannung			& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400	& 400\tabularnewline
		Bemessungsscheinleistung		& 53	& 53	& 53	& 53	& 67	& 74	& 74	& 74	& 74	& 79	& 105	& 105	& 147\tabularnewline
		Bemessungsscheinleistung		& 53	& 53	& 53	& 53	& 67	& 74	& 74	& 74	& 74	& 79	& 105	& 105	& 147\tabularnewline
		Nennstrom 				& 76	& 76	& 76	& 76	& 97	& 106	& 106	& 106	& 106	& 114	& 152	& 213	& 213\tabularnewline
		Bemessungsstrom 		& 84	& 84	& 84	& 84	& 108	& 118	& 118	& 118	& 118	& 127	& 169	& 236	& 236\tabularnewline
		kurzschlusswechselstrom & 2,3	& 2,3	& 2,3	& 1,7	& 1,9	& 2,3	& 2,3	& 2,3	& 1,9	& 2,0	& 2,5	& 3,9	& 3,9\tabularnewline\bottomrule
	\end{tabularx}
\end{sidewaystable}

\end{document}