nickjillings@1289
|
1 %$Id: a0poster.cls,v 1.5 1999/04/05 14:49:56 mjf Exp $
|
nickjillings@1289
|
2 %%
|
nickjillings@1289
|
3 %% This is file `a0poster.cls'
|
nickjillings@1289
|
4 %%
|
nickjillings@1289
|
5 %% Copyright (C) 07.05.97 Gerlinde Kettl and Matthias Weiser
|
nickjillings@1289
|
6 %%
|
nickjillings@1289
|
7 %% Problems, bugs and comments to
|
nickjillings@1289
|
8 %% gerlinde.kettl@physik.uni-regensburg.de
|
nickjillings@1289
|
9 %%
|
nickjillings@1289
|
10 %% changed textwidths and margins to cope with printable area and
|
nickjillings@1289
|
11 %% frame. Make sure that the offsets are set to -1in!
|
nickjillings@1289
|
12 %% Also changed scaling for a0->a4, since this was wrong.
|
nickjillings@1289
|
13
|
nickjillings@1289
|
14 %% This version changed by Hugh Pumphrey on 4.5.1999. Every instance
|
nickjillings@1289
|
15 %% of the string ``draft'' replaced by the string ``preview''. This gives
|
nickjillings@1289
|
16 %% an a4 size preview but includes the postscript figures
|
nickjillings@1289
|
17
|
nickjillings@1289
|
18 \ProvidesClass{a0poster}[1997/05/07 v1.21b a0poster class (GK, MW)]
|
nickjillings@1289
|
19 \NeedsTeXFormat{LaTeX2e}[1995/06/01]
|
nickjillings@1289
|
20 \LoadClass{article}
|
nickjillings@1289
|
21
|
nickjillings@1289
|
22 \newif\ifportrait
|
nickjillings@1289
|
23 \newif\ifanullb
|
nickjillings@1289
|
24 \newif\ifanull
|
nickjillings@1289
|
25 \newif\ifaeins
|
nickjillings@1289
|
26 \newif\ifazwei
|
nickjillings@1289
|
27 \newif\ifadrei
|
nickjillings@1289
|
28 \newif\ifpreview
|
nickjillings@1289
|
29
|
nickjillings@1289
|
30 \newcount\xkoord
|
nickjillings@1289
|
31 \newcount\ykoord
|
nickjillings@1289
|
32 \newcount\xscale
|
nickjillings@1289
|
33 \newcount\yscale
|
nickjillings@1289
|
34
|
nickjillings@1289
|
35 \DeclareOption{a0b}{
|
nickjillings@1289
|
36 \anullbtrue
|
nickjillings@1289
|
37 \xkoord=2592 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
38 \ykoord=3666 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
39 \xscale=23
|
nickjillings@1289
|
40 \yscale=23
|
nickjillings@1289
|
41 }
|
nickjillings@1289
|
42 \DeclareOption{a0}{
|
nickjillings@1289
|
43 \anulltrue\anullbfalse
|
nickjillings@1289
|
44 \xkoord=2380 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
45 \ykoord=3368 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
46 \xscale=25
|
nickjillings@1289
|
47 \yscale=25
|
nickjillings@1289
|
48 }
|
nickjillings@1289
|
49 \DeclareOption{a1}{
|
nickjillings@1289
|
50 \aeinstrue\anullbfalse
|
nickjillings@1289
|
51 \xkoord=1684 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
52 \ykoord=2380 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
53 \xscale=3
|
nickjillings@1289
|
54 \yscale=3
|
nickjillings@1289
|
55 }
|
nickjillings@1289
|
56 \DeclareOption{a2}{
|
nickjillings@1289
|
57 \azweitrue\anullbfalse
|
nickjillings@1289
|
58 \xkoord=1190 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
59 \ykoord=1684 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
60 \xscale=4
|
nickjillings@1289
|
61 \yscale=4
|
nickjillings@1289
|
62
|
nickjillings@1289
|
63 }
|
nickjillings@1289
|
64 \DeclareOption{a3}{
|
nickjillings@1289
|
65 \adreitrue\anullbfalse
|
nickjillings@1289
|
66 \xkoord=842 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
67 \ykoord=1190 % big points (1 bp=1/72 inch)
|
nickjillings@1289
|
68 \xscale=6
|
nickjillings@1289
|
69 \yscale=6
|
nickjillings@1289
|
70 }
|
nickjillings@1289
|
71 \DeclareOption{landscape}{
|
nickjillings@1289
|
72 \portraitfalse
|
nickjillings@1289
|
73 }
|
nickjillings@1289
|
74 \DeclareOption{portrait}{
|
nickjillings@1289
|
75 \portraittrue
|
nickjillings@1289
|
76 }
|
nickjillings@1289
|
77 \DeclareOption{preview}{
|
nickjillings@1289
|
78 \previewtrue
|
nickjillings@1289
|
79 }
|
nickjillings@1289
|
80 \DeclareOption{final}{
|
nickjillings@1289
|
81 \previewfalse
|
nickjillings@1289
|
82 }
|
nickjillings@1289
|
83 \DeclareOption*{\PackageWarning{a0poster}{Unknown Option \CurrentOption}}
|
nickjillings@1289
|
84 \ExecuteOptions{landscape,a0b,final}
|
nickjillings@1289
|
85 \ProcessOptions\relax
|
nickjillings@1289
|
86
|
nickjillings@1289
|
87 \ifanullb
|
nickjillings@1289
|
88 \setlength{\paperwidth}{129.3cm} %% 36 * sqrt(2) in
|
nickjillings@1289
|
89 \setlength{\paperheight}{91.4cm} %% 36 in
|
nickjillings@1289
|
90 \setlength{\textwidth}{119.3cm} %% paperwidth - (5cm + 5cm)
|
nickjillings@1289
|
91 \setlength{\textheight}{81.4cm} %% paperheight - (5cm + 5cm)
|
nickjillings@1289
|
92 \else\ifanull
|
nickjillings@1289
|
93 \setlength{\paperwidth}{118.82cm}
|
nickjillings@1289
|
94 \setlength{\paperheight}{83.96cm}
|
nickjillings@1289
|
95 \setlength{\textwidth}{108.82cm} %% paperwidth - (5cm + 5cm)
|
nickjillings@1289
|
96 \setlength{\textheight}{73.96cm} %% paperheight - (5cm + 5cm)
|
nickjillings@1289
|
97 \else\ifaeins
|
nickjillings@1289
|
98 \setlength{\paperwidth}{83.96cm}
|
nickjillings@1289
|
99 \setlength{\paperheight}{59.4cm}
|
nickjillings@1289
|
100 \setlength{\textwidth}{79.96cm}
|
nickjillings@1289
|
101 \setlength{\textheight}{55.4cm}
|
nickjillings@1289
|
102 \else\ifazwei
|
nickjillings@1289
|
103 \setlength{\paperwidth}{59.4cm}
|
nickjillings@1289
|
104 \setlength{\paperheight}{41.98cm}
|
nickjillings@1289
|
105 \setlength{\textwidth}{55.4cm}
|
nickjillings@1289
|
106 \setlength{\textheight}{37.98cm}
|
nickjillings@1289
|
107 \else\ifadrei
|
nickjillings@1289
|
108 \setlength{\paperwidth}{41.98cm}
|
nickjillings@1289
|
109 \setlength{\paperheight}{29.7cm}
|
nickjillings@1289
|
110 \setlength{\textwidth}{37.98cm}
|
nickjillings@1289
|
111 \setlength{\textheight}{25.7cm}
|
nickjillings@1289
|
112 \else\relax
|
nickjillings@1289
|
113 \fi
|
nickjillings@1289
|
114 \fi
|
nickjillings@1289
|
115 \fi
|
nickjillings@1289
|
116 \fi
|
nickjillings@1289
|
117 \fi
|
nickjillings@1289
|
118
|
nickjillings@1289
|
119
|
nickjillings@1289
|
120 \ifportrait
|
nickjillings@1289
|
121 \newdimen\tausch
|
nickjillings@1289
|
122 \setlength{\tausch}{\paperwidth}
|
nickjillings@1289
|
123 \setlength{\paperwidth}{\paperheight}
|
nickjillings@1289
|
124 \setlength{\paperheight}{\tausch}
|
nickjillings@1289
|
125 \setlength{\tausch}{\textwidth}
|
nickjillings@1289
|
126 \setlength{\textwidth}{\textheight}
|
nickjillings@1289
|
127 \setlength{\textheight}{\tausch}
|
nickjillings@1289
|
128 \else\relax
|
nickjillings@1289
|
129 \fi
|
nickjillings@1289
|
130
|
nickjillings@1289
|
131 %% Setting proper dimensions for the HP2500CP printer (height = 36 in)
|
nickjillings@1289
|
132 %% Landscape: unprintable areas
|
nickjillings@1289
|
133 %% L: 27.6mm
|
nickjillings@1289
|
134 %% R: 27.1mm
|
nickjillings@1289
|
135 %% T: 18.4mm
|
nickjillings@1289
|
136 %% B: 18.1mm
|
nickjillings@1289
|
137
|
nickjillings@1289
|
138
|
nickjillings@1289
|
139 \voffset -1in
|
nickjillings@1289
|
140 \hoffset -1in
|
nickjillings@1289
|
141
|
nickjillings@1289
|
142 \setlength{\headheight}{0 cm}
|
nickjillings@1289
|
143 \setlength{\headsep}{0 cm}
|
nickjillings@1289
|
144 \setlength{\topmargin}{5 cm} %% 3 cm for unprintable at top
|
nickjillings@1289
|
145 %% (landscape) + 2 cm from border
|
nickjillings@1289
|
146 \setlength{\oddsidemargin}{5 cm} %% 3 cm for unprintable at left
|
nickjillings@1289
|
147 %% (landscape) + 2 cm from border
|
nickjillings@1289
|
148 \setlength{\topskip}{0 cm}
|
nickjillings@1289
|
149
|
nickjillings@1289
|
150 \catcode`\%=11
|
nickjillings@1289
|
151 \newwrite\Ausgabe
|
nickjillings@1289
|
152 \immediate\openout\Ausgabe=a0header.ps
|
nickjillings@1289
|
153 \write\Ausgabe{%%BeginFeature *PageSize ISOA0/ISO A0}
|
nickjillings@1289
|
154 \ifpreview\write\Ausgabe{2 dict dup /PageSize [595 842] put dup /ImagingBBox null put}
|
nickjillings@1289
|
155 \else\write\Ausgabe{2 dict dup /PageSize [\number\xkoord\space \number\ykoord] put dup /ImagingBBox null put}\fi
|
nickjillings@1289
|
156 \write\Ausgabe{setpagedevice}
|
nickjillings@1289
|
157 \ifpreview\write\Ausgabe{0.\number\xscale\space 0.\number\yscale\space scale}\else\relax\fi
|
nickjillings@1289
|
158 \write\Ausgabe{%%EndFeature}
|
nickjillings@1289
|
159 \closeout\Ausgabe
|
nickjillings@1289
|
160 \catcode`\%=14
|
nickjillings@1289
|
161
|
nickjillings@1289
|
162 \special{header=./a0header.ps}
|
nickjillings@1289
|
163
|
nickjillings@1289
|
164 \input{a0size.sty}
|
nickjillings@1289
|
165
|
nickjillings@1289
|
166 \renewcommand{\tiny}{\fontsize{12}{14}\selectfont}
|
nickjillings@1289
|
167 \renewcommand{\scriptsize}{\fontsize{14.4}{18}\selectfont}
|
nickjillings@1289
|
168 \renewcommand{\footnotesize}{\fontsize{17.28}{22}\selectfont}
|
nickjillings@1289
|
169 \renewcommand{\small}{\fontsize{20.74}{25}\selectfont}
|
nickjillings@1289
|
170 \renewcommand{\normalsize}{\fontsize{24.88}{30}\selectfont}
|
nickjillings@1289
|
171 \renewcommand{\large}{\fontsize{29.86}{37}\selectfont}
|
nickjillings@1289
|
172 \renewcommand{\Large}{\fontsize{35.83}{45}\selectfont}
|
nickjillings@1289
|
173 \renewcommand{\LARGE}{\fontsize{43}{54}\selectfont}
|
nickjillings@1289
|
174 \renewcommand{\huge}{\fontsize{51.6}{64}\selectfont}
|
nickjillings@1289
|
175 \renewcommand{\Huge}{\fontsize{61.92}{77}\selectfont}
|
nickjillings@1289
|
176 \newcommand{\veryHuge}{\fontsize{74.3}{93}\selectfont}
|
nickjillings@1289
|
177 \newcommand{\VeryHuge}{\fontsize{89.16}{112}\selectfont}
|
nickjillings@1289
|
178 \newcommand{\VERYHuge}{\fontsize{107}{134}\selectfont}
|
nickjillings@1289
|
179
|
nickjillings@1289
|
180 \setlength\smallskipamount{6pt plus 2pt minus 2pt}
|
nickjillings@1289
|
181 \setlength\medskipamount{12pt plus 4pt minus 4pt}
|
nickjillings@1289
|
182 \setlength\bigskipamount{24pt plus 8pt minus 8pt}
|
nickjillings@1289
|
183
|
nickjillings@1289
|
184 \setlength\abovecaptionskip{25pt}
|
nickjillings@1289
|
185 \setlength\belowcaptionskip{0pt}
|
nickjillings@1289
|
186 \setlength\abovedisplayskip{25pt plus 6pt minus 15 pt}
|
nickjillings@1289
|
187 \setlength\abovedisplayshortskip{0pt plus 6pt}
|
nickjillings@1289
|
188 \setlength\belowdisplayshortskip{13pt plus 7pt minus 6pt}
|
nickjillings@1289
|
189 \setlength\belowdisplayskip\abovedisplayskip
|
nickjillings@1289
|
190
|
nickjillings@1289
|
191 \normalsize
|
nickjillings@1289
|
192
|
nickjillings@1289
|
193 \AtBeginDocument{
|
nickjillings@1289
|
194 \ifanullb
|
nickjillings@1289
|
195 \ifportrait\special{papersize=91.4cm,129.3cm}\else\special{papersize=129.3cm,91.4cm}\fi
|
nickjillings@1289
|
196 \else\ifanull
|
nickjillings@1289
|
197 \ifportrait\special{papersize=83.96cm,118.82cm}\else\special{papersize=118.82cm,83.96cm}\fi
|
nickjillings@1289
|
198 \else\ifaeins
|
nickjillings@1289
|
199 \ifportrait\special{papersize=59.4cm,83.96cm}\else\special{papersize=83.96cm,59.4cm}\fi
|
nickjillings@1289
|
200 \else\ifazwei
|
nickjillings@1289
|
201 \ifportrait\special{papersize=41.98cm,59.4cm}\else\special{papersize=59.4cm,41.98cm}\fi
|
nickjillings@1289
|
202 \else\ifadrei
|
nickjillings@1289
|
203 \ifpreview
|
nickjillings@1289
|
204 \ifportrait\special{papersize=29.7cm,41.35cm}\else\special{papersize=41.98cm,29.0cm}\fi
|
nickjillings@1289
|
205 \else
|
nickjillings@1289
|
206 \ifportrait\special{papersize=29.7cm,41.98cm}\else\special{papersize=41.98cm,29.7cm}\fi
|
nickjillings@1289
|
207 \fi
|
nickjillings@1289
|
208 \else\relax
|
nickjillings@1289
|
209 \fi
|
nickjillings@1289
|
210 \fi
|
nickjillings@1289
|
211 \fi
|
nickjillings@1289
|
212 \fi
|
nickjillings@1289
|
213 \fi
|
nickjillings@1289
|
214 \pagestyle{empty}}
|
nickjillings@1289
|
215
|
nickjillings@1289
|
216 \endinput
|
nickjillings@1289
|
217 %%
|
nickjillings@1289
|
218 %% End of file `a0poster.cls'.
|