|
| 1 | +%% |
| 2 | +%% This is file `a0poster.cls' |
| 3 | +%% |
| 4 | +%% Copyright (C) 1997-2004 Gerlinde Kettl and Matthias Weiser |
| 5 | +%% |
| 6 | +%% It may be distributed and/or modified under the |
| 7 | +%% conditions of the LaTeX Project Public License, either version 1.2 |
| 8 | +%% of this license or (at your option) any later version. |
| 9 | +%% The latest version of this license is in |
| 10 | +%% http://www.latex-project.org/lppl.txt |
| 11 | +%% and version 1.2 or later is part of all distributions of LaTeX |
| 12 | +%% version 1999/12/01 or later. |
| 13 | +%% |
| 14 | +%% Problems, bugs and comments to |
| 15 | + |
| 16 | +%% |
| 17 | + |
| 18 | +\ProvidesClass{a0poster}[2004/01/31 v1.22b a0poster class (GK, MW)] |
| 19 | +\NeedsTeXFormat{LaTeX2e}[1995/06/01] |
| 20 | +\LoadClass{article} |
| 21 | + |
| 22 | +\newif\ifportrait |
| 23 | +\newif\ifanullb |
| 24 | +\newif\ifanull |
| 25 | +\newif\ifaeins |
| 26 | +\newif\ifazwei |
| 27 | +\newif\ifadrei |
| 28 | +\newif\ifposterdraft |
| 29 | + |
| 30 | +\newcount\xkoord |
| 31 | +\newcount\ykoord |
| 32 | +\newcount\xscale |
| 33 | +\newcount\yscale |
| 34 | + |
| 35 | +\DeclareOption{a0b}{ |
| 36 | +\anullbtrue |
| 37 | +\xkoord=2594 % big points (1 bp=1/72 inch) |
| 38 | +\ykoord=3370 % big points (1 bp=1/72 inch) |
| 39 | +\xscale=2 |
| 40 | +\yscale=2 |
| 41 | +} |
| 42 | +\DeclareOption{a0}{ |
| 43 | +\anulltrue\anullbfalse |
| 44 | +\xkoord=2380 % big points (1 bp=1/72 inch) |
| 45 | +\ykoord=3368 % big points (1 bp=1/72 inch) |
| 46 | +\xscale=2 |
| 47 | +\yscale=2 |
| 48 | +} |
| 49 | +\DeclareOption{a1}{ |
| 50 | +\aeinstrue\anullbfalse |
| 51 | +\xkoord=1684 % big points (1 bp=1/72 inch) |
| 52 | +\ykoord=2380 % big points (1 bp=1/72 inch) |
| 53 | +\xscale=3 |
| 54 | +\yscale=3 |
| 55 | +} |
| 56 | +\DeclareOption{a2}{ |
| 57 | +\azweitrue\anullbfalse |
| 58 | +\xkoord=1190 % big points (1 bp=1/72 inch) |
| 59 | +\ykoord=1684 % big points (1 bp=1/72 inch) |
| 60 | +\xscale=4 |
| 61 | +\yscale=4 |
| 62 | + |
| 63 | +} |
| 64 | +\DeclareOption{a3}{ |
| 65 | +\adreitrue\anullbfalse |
| 66 | +\xkoord=842 % big points (1 bp=1/72 inch) |
| 67 | +\ykoord=1190 % big points (1 bp=1/72 inch) |
| 68 | +\xscale=6 |
| 69 | +\yscale=6 |
| 70 | +} |
| 71 | +\DeclareOption{landscape}{ |
| 72 | +\portraitfalse |
| 73 | +} |
| 74 | +\DeclareOption{portrait}{ |
| 75 | +\portraittrue |
| 76 | +} |
| 77 | +\DeclareOption{draft}{ %% Just for downward compatibility |
| 78 | +\posterdrafttrue |
| 79 | +} |
| 80 | +\DeclareOption{posterdraft}{ %% To avoid collisions with the graphics package |
| 81 | +\posterdrafttrue |
| 82 | +} |
| 83 | +\DeclareOption{final}{ |
| 84 | +\posterdraftfalse |
| 85 | +} |
| 86 | +\DeclareOption*{\PackageWarning{a0poster}{Unknown Option \CurrentOption}} |
| 87 | +\ExecuteOptions{landscape,a0b,final} |
| 88 | +\ProcessOptions\relax |
| 89 | + |
| 90 | +\ifanullb |
| 91 | + \setlength{\paperwidth}{119cm} |
| 92 | + \setlength{\paperheight}{87cm} |
| 93 | + \setlength{\textwidth}{114cm} |
| 94 | + \setlength{\textheight}{87cm} |
| 95 | +\else\ifanull |
| 96 | + \setlength{\paperwidth}{118.82cm} |
| 97 | + \setlength{\paperheight}{83.96cm} |
| 98 | + \setlength{\textwidth}{114.82cm} |
| 99 | + \setlength{\textheight}{79.96cm} |
| 100 | + \else\ifaeins |
| 101 | + \setlength{\paperwidth}{83.96cm} |
| 102 | + \setlength{\paperheight}{59.4cm} |
| 103 | + \setlength{\textwidth}{79.96cm} |
| 104 | + \setlength{\textheight}{55.4cm} |
| 105 | + \else\ifazwei |
| 106 | + \setlength{\paperwidth}{59.4cm} |
| 107 | + \setlength{\paperheight}{41.98cm} |
| 108 | + \setlength{\textwidth}{55.4cm} |
| 109 | + \setlength{\textheight}{37.98cm} |
| 110 | + \else\ifadrei |
| 111 | + \setlength{\paperwidth}{41.98cm} |
| 112 | + \setlength{\paperheight}{29.7cm} |
| 113 | + \setlength{\textwidth}{37.98cm} |
| 114 | + \setlength{\textheight}{25.7cm} |
| 115 | + \else\relax |
| 116 | + \fi |
| 117 | + \fi |
| 118 | + \fi |
| 119 | + \fi |
| 120 | +\fi |
| 121 | + |
| 122 | + |
| 123 | +\ifportrait |
| 124 | + \newdimen\tausch |
| 125 | + \setlength{\tausch}{\paperwidth} |
| 126 | + \setlength{\paperwidth}{\paperheight} |
| 127 | + \setlength{\paperheight}{\tausch} |
| 128 | + \setlength{\tausch}{\textwidth} |
| 129 | + \setlength{\textwidth}{\textheight} |
| 130 | + \setlength{\textheight}{\tausch} |
| 131 | +\else\relax |
| 132 | +\fi |
| 133 | + |
| 134 | +%% Setting proper dimensions for a DIN A0 printer |
| 135 | + |
| 136 | +\setlength{\headheight}{0 cm} |
| 137 | +\setlength{\headsep}{0 cm} |
| 138 | +\setlength{\topmargin}{0 cm} |
| 139 | +\setlength{\oddsidemargin}{0 cm} |
| 140 | + |
| 141 | +\catcode`\%=11 |
| 142 | +\newwrite\Ausgabe |
| 143 | +\immediate\openout\Ausgabe=a0header.ps |
| 144 | +\write\Ausgabe{%%BeginFeature *PageSize ISOA0/ISO A0} |
| 145 | +\ifposterdraft\write\Ausgabe{2 dict dup /PageSize [595 842] put dup /ImagingBBox null put} |
| 146 | +\else\write\Ausgabe{2 dict dup /PageSize [\number\xkoord\space \number\ykoord] put dup /ImagingBBox null put}\fi |
| 147 | +\write\Ausgabe{setpagedevice} |
| 148 | +\ifposterdraft\write\Ausgabe{38 84 translate} |
| 149 | +\write\Ausgabe{0.\number\xscale\space 0.\number\yscale\space scale}\else\relax\fi |
| 150 | +\write\Ausgabe{%%EndFeature} |
| 151 | +\closeout\Ausgabe |
| 152 | +\catcode`\%=14 |
| 153 | + |
| 154 | +\special{header=./a0header.ps} |
| 155 | + |
| 156 | +\input{a0size.sty} |
| 157 | + |
| 158 | +\renewcommand{\tiny}{\fontsize{12}{14}\selectfont} |
| 159 | +\renewcommand{\scriptsize}{\fontsize{14.4}{18}\selectfont} |
| 160 | +\renewcommand{\footnotesize}{\fontsize{17.28}{22}\selectfont} |
| 161 | +\renewcommand{\small}{\fontsize{20.74}{25}\selectfont} |
| 162 | +\renewcommand{\normalsize}{\fontsize{24.88}{30}\selectfont} |
| 163 | +\renewcommand{\large}{\fontsize{29.86}{37}\selectfont} |
| 164 | +\renewcommand{\Large}{\fontsize{35.83}{45}\selectfont} |
| 165 | +\renewcommand{\LARGE}{\fontsize{43}{54}\selectfont} |
| 166 | +\renewcommand{\huge}{\fontsize{51.6}{64}\selectfont} |
| 167 | +\renewcommand{\Huge}{\fontsize{61.92}{77}\selectfont} |
| 168 | +\newcommand{\veryHuge}{\fontsize{74.3}{93}\selectfont} |
| 169 | +\newcommand{\VeryHuge}{\fontsize{89.16}{112}\selectfont} |
| 170 | +\newcommand{\VERYHuge}{\fontsize{107}{134}\selectfont} |
| 171 | + |
| 172 | +\setlength\smallskipamount{6pt plus 2pt minus 2pt} |
| 173 | +\setlength\medskipamount{12pt plus 4pt minus 4pt} |
| 174 | +\setlength\bigskipamount{24pt plus 8pt minus 8pt} |
| 175 | + |
| 176 | +\setlength\abovecaptionskip{25pt} |
| 177 | +\setlength\belowcaptionskip{0pt} |
| 178 | +\setlength\abovedisplayskip{25pt plus 6pt minus 15 pt} |
| 179 | +\setlength\abovedisplayshortskip{0pt plus 6pt} |
| 180 | +\setlength\belowdisplayshortskip{13pt plus 7pt minus 6pt} |
| 181 | +\setlength\belowdisplayskip\abovedisplayskip |
| 182 | + |
| 183 | +\normalsize |
| 184 | + |
| 185 | +\AtBeginDocument{ |
| 186 | +\ifanullb |
| 187 | + \ifportrait\special{papersize=91.51cm,120cm}\else\special{papersize=120cm,91.51cm}\fi |
| 188 | +\else\ifanull |
| 189 | + \ifportrait\special{papersize=83.96cm,118.82cm}\else\special{papersize=118.82cm,83.96cm}\fi |
| 190 | + \else\ifaeins |
| 191 | + \ifportrait\special{papersize=59.4cm,83.96cm}\else\special{papersize=83.96cm,59.4cm}\fi |
| 192 | + \else\ifazwei |
| 193 | + \ifportrait\special{papersize=41.98cm,59.4cm}\else\special{papersize=59.4cm,41.98cm}\fi |
| 194 | + \else\ifadrei |
| 195 | + \ifposterdraft |
| 196 | + \ifportrait\special{papersize=29.7cm,41.35cm}\else\special{papersize=41.98cm,29.0cm}\fi |
| 197 | + \else |
| 198 | + \ifportrait\special{papersize=29.7cm,41.98cm}\else\special{papersize=41.98cm,29.7cm}\fi |
| 199 | + \fi |
| 200 | + \else\relax |
| 201 | + \fi |
| 202 | + \fi |
| 203 | + \fi |
| 204 | + \fi |
| 205 | +\fi |
| 206 | +\pagestyle{empty}} |
| 207 | + |
| 208 | +\endinput |
| 209 | +%% |
| 210 | +%% End of file `a0poster.cls'. |
0 commit comments