diff options
Diffstat (limited to 'info/german/texbuch/a4.sty')
-rw-r--r-- | info/german/texbuch/a4.sty | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/info/german/texbuch/a4.sty b/info/german/texbuch/a4.sty new file mode 100644 index 0000000000..a9f66ef7fd --- /dev/null +++ b/info/german/texbuch/a4.sty @@ -0,0 +1,72 @@ +% +% +%% LaTeX - sty - File für DinA4 - Format +%% Anpassung, entsprechend dem Vorschlag +%% von H. Kopka +%% Realisation von F.Cremer 6.11.91 +% +% Letzte Aenderung: +% +% 7.1.93 Anpassung fuer Querausdruck +% Einfuehrung der Hilfsvarable ``help@length'' +% zum Tausch von ``textwidth'' mit ``textheigth'' +% Neueinfuehrung der Befehls: ``\quer'', der obige Variabeln +% tauscht. +% +\message{DIN A4 Anpassung nach H.Kopka durch Fritz Cremer 6.11.91} + +\newlength{\aiv@width} \setlength{\aiv@width}{210mm} +\newlength{\tmp@width} \setlength{\tmp@width}{\aiv@width} + +\if@twocolumn + \textwidth175mm + \marginparsep2.5mm +\else + \ifcase \@ptsize\relax + \textwidth145mm \or + \textwidth154mm \or + \textwidth164mm + \fi + \marginparsep4mm +\fi +\addtolength{\tmp@width}{-\textwidth} + +\ifcase \@ptsize\relax + \textheight 58\baselineskip \or + \textheight 51\baselineskip \or + \textheight 48\baselineskip +\fi +\addtolength{\textheight}{\topskip} + +\if@twoside + \if@twocolumn + \setlength{\oddsidemargin}{0.6\tmp@width} + \setlength{\evensidemargin}{0.4\tmp@width} + \else + \setlength{\oddsidemargin}{0.4\tmp@width} + \setlength{\evensidemargin}{0.6\tmp@width} + \fi +\else + \setlength{\oddsidemargin}{0.5\tmp@width} + \setlength{\evensidemargin}{\oddsidemargin} +\fi + +\setlength{\marginparwidth}{\evensidemargin} +\addtolength{\marginparwidth}{-\marginparsep} +\addtolength{\marginparwidth}{-6mm} +\addtolength{\oddsidemargin}{-1in} +\addtolength{\evensidemargin}{-1in} + +\topmargin-17.9mm +\columnsep5mm +\parskip0pt plus 2pt + +% +% Anpassung fuer Querformat +% F. Cremer 7.1.93 +% +\newlength{\help@length} +\newcommand{\quer}{ + \setlength{\help@length}{\textwidth} + \setlength{\textwidth}{\textheight} + \setlength{\textheight}{\help@length}} |