-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdin_a4.sty
executable file
·33 lines (27 loc) · 1.25 KB
/
din_a4.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
%
% Datei: din_a4.sty
% Datum: 10.01.90
%
% Vorschlag f"ur einen A4-Stil aus 'LaTeX-Erweiterungsm"oglichkeiten' S. 285
%
\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 \marginparsep 4mm \fi
\addtolength{\tmp@width}{-\textwidth}
\ifcase \@ptsize\relax \textheight 59\baselineskip
\or \textheight 52\baselineskip
\or \textheight 49\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-21.4mm \columnsep5mm \parskip0pt plus2pt