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