c_verres
15-04-2008, 14:24
Hallo,
wie zentriere ich folgende Tabellen auf die Mitte der Seite?
\documentclass[headsepline,twoside,tablecaptionabove,DIV12]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\newenvironment{tabular20}{%
\tiny\tabular
}{%
\endtabular
}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
\begin{table}[htbp]
\begin{center}
\caption{xxx.}
\label{tab:1}
\begin{tabular20}{llllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\begin{table}[htbp]
\centering
\begin{center}
\caption{xxx.}
\label{tab:2}
\begin{tabular20}{llllllllllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\begin{table}[htbp]
\begin{center}
\caption{xxx.}
\label{tab:3}
\begin{tabular20}{lllllllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\end{landscape}
\end{document}
wie zentriere ich folgende Tabellen auf die Mitte der Seite?
\documentclass[headsepline,twoside,tablecaptionabove,DIV12]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage[ngerman]{babel}
\newenvironment{tabular20}{%
\tiny\tabular
}{%
\endtabular
}
\usepackage{pdflscape}
\begin{document}
\begin{landscape}
\begin{table}[htbp]
\begin{center}
\caption{xxx.}
\label{tab:1}
\begin{tabular20}{llllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 123.40 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\begin{table}[htbp]
\centering
\begin{center}
\caption{xxx.}
\label{tab:2}
\begin{tabular20}{llllllllllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & & & & & & 123.45 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\begin{table}[htbp]
\begin{center}
\caption{xxx.}
\label{tab:3}
\begin{tabular20}{lllllllllll}
\hline\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
\hline
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
xxx & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 1.23 & 12.34 & 12.34 & 12.34 & 123.45 \\
\hline\hline
\end{tabular20}
\end{center}
\end{table}
\end{landscape}
\end{document}