PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Seitenrand einzelner Seite



BeHavee
18-01-2014, 14:51
Hallo Freunde der LaTeX- Kunst

Ich sitz gerade an einem Bericht für die Uni und bräuchte mal dringend Hilfe.

Ich habe eine Tabelle im Querformat eingefügt. Dass funktioniert auch wunderbar, allerdings passen die Ränder jetzt nicht mehr für die Tabelle.
Auch nach 1,5h Internetsuche bin ich noch nicht wirklich schlauer geworden.
ich wäre über Hilfe sehr dankbar.

mfg


%%Schriftgröße, Layout, Papierformat, Art des Dokumentes
\documentclass[12pt,a4paper,ngerman]{scrreprt}

%Einstellungen der Seitenränder
\usepackage[left=3cm,right=3cm,top=2cm,bottom=1cm,includeheadf oot]{geometry}

%neue Rechtschreibung
\usepackage{ngerman}

%Umlaute ermöglichen
\usepackage[latin1]{inputenc}

%\DeclareUnicodeCharacter{00A0}{~}
% Kopf und Fußzeile Definieren
\usepackage[headsepline,plainheadsepline]{scrpage2}
\pagestyle{scrheadings}
\ihead[\rightmark]{\rightmark} \chead[]{}
%\ohead[\pagemark]{\pagemark} \cfoot[]{}
\automark{chapter}
\renewcommand{\chaptermark}[1]{\markright{\ #1}}

% einige Seiten im Querformat
\usepackage{pdflscape}

% Seitenränder einzelner Seiten ändern
\usepackage{anysize}

% etwaige genutze Packete
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{wrapfig}
\usepackage{graphicx}
\date{30.01.2014}

\author{xxx}
\title{Dokumentation 4- Bit- Rechner}

\usepackage{booktabs}
%\setcounter{secnumdepth}{3}

\begin{document}
...
\newpage
\begin{landscape}
\section{LUT}
{\small
\begin{tabular}{c|c||c|c|c|c||c|c|c|c|c|c|c|c|c|c| c|c|c|c||c|c}
\hline \multicolumn{2}{c||}{Befehl} & \multicolumn{4}{c||}{Adresseingänge} & \multicolumn{14}{c||}{Steuersignale / ROM- Ausgänge} & \multicolumn{2}{c}{Befehl} \\
\hline HEX & Nr. & U3 & U2 & U1 & U0 & S13 & S12 & S11 & S10 & S9 & S8 & S7 & S6 & S5 & S4 & S3 & S2 & S1 & S0 & Funktion & Name \\
\hline 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & keine Operation []a] & \\
\hline 1 & 2 & 0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & JCY & \\
\hline 2 & 3 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & Inhalt Akku negieren & \\
\hline 3 & 4 & 0 & 0 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline 4 & 5 & 0 & 1 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline 5 & 6 & 0 & 1 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline 6 & 7 & 0 & 1 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline 7 & 8 & 0 & 1 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline 8 & 9 & 0 & 0 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline 9 & 10 & 1 & 0 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline A & 11 & 1 & 0 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline B & 12 & 1 & 0 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline C & 13 & 1 & 1 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline D & 14 & 1 & 1 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline E & 15 & 1 & 1 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline F & 16 & 1 & 1 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline
\end{tabular}
}
\end{landscape}

hakaze
18-01-2014, 16:45
Hier mal ein Variante mit gedrehter Tabelle (sidewaystable) aus dem rotating (http://texdoc.net/pkg/rotating)-Paket:

%%Schriftgröße, Layout, Papierformat, Art des Dokumentes
\documentclass[12pt,a4paper]{scrreprt}

%Einstellungen der Seitenränder
\usepackage[left=3cm,right=3cm,top=2cm,bottom=1cm,includeheadf oot]{geometry}

%neue Rechtschreibung
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc} % event. durch latin1 ersetzen
\usepackage[T1]{fontenc}

\usepackage{rotating}
\usepackage{blindtext}

\begin{document}
\section{LUT}
\blindtext

\begin{sidewaystable}
\small
\begin{tabular}{c|c||c|c|c|c||c|c|c|c|c|c|c|c|c|c| c|c|c|c||c|c}
\hline \multicolumn{2}{c||}{Befehl} & \multicolumn{4}{c||}{Adresseingänge} & \multicolumn{14}{c||}{Steuersignale / ROM- Ausgänge} & \multicolumn{2}{c}{Befehl} \\
\hline HEX & Nr. & U3 & U2 & U1 & U0 & S13 & S12 & S11 & S10 & S9 & S8 & S7 & S6 & S5 & S4 & S3 & S2 & S1 & S0 & Funktion & Name \\
\hline 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & keine Operation a & \\
\hline 1 & 2 & 0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & JCY & \\
\hline 2 & 3 & 0 & 0 & 1 & 0 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & Inhalt Akku negieren & \\
\hline 3 & 4 & 0 & 0 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline 4 & 5 & 0 & 1 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline 5 & 6 & 0 & 1 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline 6 & 7 & 0 & 1 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline 7 & 8 & 0 & 1 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline 8 & 9 & 0 & 0 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline 9 & 10 & 1 & 0 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline A & 11 & 1 & 0 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline B & 12 & 1 & 0 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline C & 13 & 1 & 1 & 0 & 0 & & & & & & & & & & & & & & & & \\
\hline D & 14 & 1 & 1 & 0 & 1 & & & & & & & & & & & & & & & & \\
\hline E & 15 & 1 & 1 & 1 & 0 & & & & & & & & & & & & & & & & \\
\hline F & 16 & 1 & 1 & 1 & 1 & & & & & & & & & & & & & & & & \\
\hline
\end{tabular}
\end{sidewaystable}
\end{document}
Das vermeidet die Drehung der gesamten Seite und die damit verbundenen "Änderungen" des Satzspiegels.

PS. Dein Code enthält auch noch einige Stolpenfallen, u.a. das veraltete ngerman-Paket geladen, ngerman als Klassenoption und dafür Babel ohne entsprechende Option, anysize trotz geometry. Siehe auch den sticky thread hier im Forum: Tip: Veraltete Pakete, welche NICHT verwendet werden sollten (http://www.mrunix.de/forums/showthread.php?t=52211)