nickjillings@2184: %$Id: a0poster.cls,v 1.5 1999/04/05 14:49:56 mjf Exp $ nickjillings@2184: %% nickjillings@2184: %% This is file `a0poster.cls' nickjillings@2184: %% nickjillings@2184: %% Copyright (C) 07.05.97 Gerlinde Kettl and Matthias Weiser nickjillings@2184: %% nickjillings@2184: %% Problems, bugs and comments to nickjillings@2184: %% gerlinde.kettl@physik.uni-regensburg.de nickjillings@2184: %% nickjillings@2184: %% changed textwidths and margins to cope with printable area and nickjillings@2184: %% frame. Make sure that the offsets are set to -1in! nickjillings@2184: %% Also changed scaling for a0->a4, since this was wrong. nickjillings@2184: nickjillings@2184: %% This version changed by Hugh Pumphrey on 4.5.1999. Every instance nickjillings@2184: %% of the string ``draft'' replaced by the string ``preview''. This gives nickjillings@2184: %% an a4 size preview but includes the postscript figures nickjillings@2184: nickjillings@2184: \ProvidesClass{a0poster}[1997/05/07 v1.21b a0poster class (GK, MW)] nickjillings@2184: \NeedsTeXFormat{LaTeX2e}[1995/06/01] nickjillings@2184: \LoadClass{article} nickjillings@2184: nickjillings@2184: \newif\ifportrait nickjillings@2184: \newif\ifanullb nickjillings@2184: \newif\ifanull nickjillings@2184: \newif\ifaeins nickjillings@2184: \newif\ifazwei nickjillings@2184: \newif\ifadrei nickjillings@2184: \newif\ifpreview nickjillings@2184: nickjillings@2184: \newcount\xkoord nickjillings@2184: \newcount\ykoord nickjillings@2184: \newcount\xscale nickjillings@2184: \newcount\yscale nickjillings@2184: nickjillings@2184: \DeclareOption{a0b}{ nickjillings@2184: \anullbtrue nickjillings@2184: \xkoord=2592 % big points (1 bp=1/72 inch) nickjillings@2184: \ykoord=3666 % big points (1 bp=1/72 inch) nickjillings@2184: \xscale=23 nickjillings@2184: \yscale=23 nickjillings@2184: } nickjillings@2184: \DeclareOption{a0}{ nickjillings@2184: \anulltrue\anullbfalse nickjillings@2184: \xkoord=2380 % big points (1 bp=1/72 inch) nickjillings@2184: \ykoord=3368 % big points (1 bp=1/72 inch) nickjillings@2184: \xscale=25 nickjillings@2184: \yscale=25 nickjillings@2184: } nickjillings@2184: \DeclareOption{a1}{ nickjillings@2184: \aeinstrue\anullbfalse nickjillings@2184: \xkoord=1684 % big points (1 bp=1/72 inch) nickjillings@2184: \ykoord=2380 % big points (1 bp=1/72 inch) nickjillings@2184: \xscale=3 nickjillings@2184: \yscale=3 nickjillings@2184: } nickjillings@2184: \DeclareOption{a2}{ nickjillings@2184: \azweitrue\anullbfalse nickjillings@2184: \xkoord=1190 % big points (1 bp=1/72 inch) nickjillings@2184: \ykoord=1684 % big points (1 bp=1/72 inch) nickjillings@2184: \xscale=4 nickjillings@2184: \yscale=4 nickjillings@2184: nickjillings@2184: } nickjillings@2184: \DeclareOption{a3}{ nickjillings@2184: \adreitrue\anullbfalse nickjillings@2184: \xkoord=842 % big points (1 bp=1/72 inch) nickjillings@2184: \ykoord=1190 % big points (1 bp=1/72 inch) nickjillings@2184: \xscale=6 nickjillings@2184: \yscale=6 nickjillings@2184: } nickjillings@2184: \DeclareOption{landscape}{ nickjillings@2184: \portraitfalse nickjillings@2184: } nickjillings@2184: \DeclareOption{portrait}{ nickjillings@2184: \portraittrue nickjillings@2184: } nickjillings@2184: \DeclareOption{preview}{ nickjillings@2184: \previewtrue nickjillings@2184: } nickjillings@2184: \DeclareOption{final}{ nickjillings@2184: \previewfalse nickjillings@2184: } nickjillings@2184: \DeclareOption*{\PackageWarning{a0poster}{Unknown Option \CurrentOption}} nickjillings@2184: \ExecuteOptions{landscape,a0b,final} nickjillings@2184: \ProcessOptions\relax nickjillings@2184: nickjillings@2184: \ifanullb nickjillings@2184: \setlength{\paperwidth}{129.3cm} %% 36 * sqrt(2) in nickjillings@2184: \setlength{\paperheight}{91.4cm} %% 36 in nickjillings@2184: \setlength{\textwidth}{119.3cm} %% paperwidth - (5cm + 5cm) nickjillings@2184: \setlength{\textheight}{81.4cm} %% paperheight - (5cm + 5cm) nickjillings@2184: \else\ifanull nickjillings@2184: \setlength{\paperwidth}{118.82cm} nickjillings@2184: \setlength{\paperheight}{83.96cm} nickjillings@2184: \setlength{\textwidth}{108.82cm} %% paperwidth - (5cm + 5cm) nickjillings@2184: \setlength{\textheight}{73.96cm} %% paperheight - (5cm + 5cm) nickjillings@2184: \else\ifaeins nickjillings@2184: \setlength{\paperwidth}{83.96cm} nickjillings@2184: \setlength{\paperheight}{59.4cm} nickjillings@2184: \setlength{\textwidth}{79.96cm} nickjillings@2184: \setlength{\textheight}{55.4cm} nickjillings@2184: \else\ifazwei nickjillings@2184: \setlength{\paperwidth}{59.4cm} nickjillings@2184: \setlength{\paperheight}{41.98cm} nickjillings@2184: \setlength{\textwidth}{55.4cm} nickjillings@2184: \setlength{\textheight}{37.98cm} nickjillings@2184: \else\ifadrei nickjillings@2184: \setlength{\paperwidth}{41.98cm} nickjillings@2184: \setlength{\paperheight}{29.7cm} nickjillings@2184: \setlength{\textwidth}{37.98cm} nickjillings@2184: \setlength{\textheight}{25.7cm} nickjillings@2184: \else\relax nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: nickjillings@2184: nickjillings@2184: \ifportrait nickjillings@2184: \newdimen\tausch nickjillings@2184: \setlength{\tausch}{\paperwidth} nickjillings@2184: \setlength{\paperwidth}{\paperheight} nickjillings@2184: \setlength{\paperheight}{\tausch} nickjillings@2184: \setlength{\tausch}{\textwidth} nickjillings@2184: \setlength{\textwidth}{\textheight} nickjillings@2184: \setlength{\textheight}{\tausch} nickjillings@2184: \else\relax nickjillings@2184: \fi nickjillings@2184: nickjillings@2184: %% Setting proper dimensions for the HP2500CP printer (height = 36 in) nickjillings@2184: %% Landscape: unprintable areas nickjillings@2184: %% L: 27.6mm nickjillings@2184: %% R: 27.1mm nickjillings@2184: %% T: 18.4mm nickjillings@2184: %% B: 18.1mm nickjillings@2184: nickjillings@2184: nickjillings@2184: \voffset -1in nickjillings@2184: \hoffset -1in nickjillings@2184: nickjillings@2184: \setlength{\headheight}{0 cm} nickjillings@2184: \setlength{\headsep}{0 cm} nickjillings@2184: \setlength{\topmargin}{5 cm} %% 3 cm for unprintable at top nickjillings@2184: %% (landscape) + 2 cm from border nickjillings@2184: \setlength{\oddsidemargin}{5 cm} %% 3 cm for unprintable at left nickjillings@2184: %% (landscape) + 2 cm from border nickjillings@2184: \setlength{\topskip}{0 cm} nickjillings@2184: nickjillings@2184: \catcode`\%=11 nickjillings@2184: \newwrite\Ausgabe nickjillings@2184: \immediate\openout\Ausgabe=a0header.ps nickjillings@2184: \write\Ausgabe{%%BeginFeature *PageSize ISOA0/ISO A0} nickjillings@2184: \ifpreview\write\Ausgabe{2 dict dup /PageSize [595 842] put dup /ImagingBBox null put} nickjillings@2184: \else\write\Ausgabe{2 dict dup /PageSize [\number\xkoord\space \number\ykoord] put dup /ImagingBBox null put}\fi nickjillings@2184: \write\Ausgabe{setpagedevice} nickjillings@2184: \ifpreview\write\Ausgabe{0.\number\xscale\space 0.\number\yscale\space scale}\else\relax\fi nickjillings@2184: \write\Ausgabe{%%EndFeature} nickjillings@2184: \closeout\Ausgabe nickjillings@2184: \catcode`\%=14 nickjillings@2184: nickjillings@2184: \special{header=./a0header.ps} nickjillings@2184: nickjillings@2184: \input{a0size.sty} nickjillings@2184: nickjillings@2184: \renewcommand{\tiny}{\fontsize{12}{14}\selectfont} nickjillings@2184: \renewcommand{\scriptsize}{\fontsize{14.4}{18}\selectfont} nickjillings@2184: \renewcommand{\footnotesize}{\fontsize{17.28}{22}\selectfont} nickjillings@2184: \renewcommand{\small}{\fontsize{20.74}{25}\selectfont} nickjillings@2184: \renewcommand{\normalsize}{\fontsize{24.88}{30}\selectfont} nickjillings@2184: \renewcommand{\large}{\fontsize{29.86}{37}\selectfont} nickjillings@2184: \renewcommand{\Large}{\fontsize{35.83}{45}\selectfont} nickjillings@2184: \renewcommand{\LARGE}{\fontsize{43}{54}\selectfont} nickjillings@2184: \renewcommand{\huge}{\fontsize{51.6}{64}\selectfont} nickjillings@2184: \renewcommand{\Huge}{\fontsize{61.92}{77}\selectfont} nickjillings@2184: \newcommand{\veryHuge}{\fontsize{74.3}{93}\selectfont} nickjillings@2184: \newcommand{\VeryHuge}{\fontsize{89.16}{112}\selectfont} nickjillings@2184: \newcommand{\VERYHuge}{\fontsize{107}{134}\selectfont} nickjillings@2184: nickjillings@2184: \setlength\smallskipamount{6pt plus 2pt minus 2pt} nickjillings@2184: \setlength\medskipamount{12pt plus 4pt minus 4pt} nickjillings@2184: \setlength\bigskipamount{24pt plus 8pt minus 8pt} nickjillings@2184: nickjillings@2184: \setlength\abovecaptionskip{25pt} nickjillings@2184: \setlength\belowcaptionskip{0pt} nickjillings@2184: \setlength\abovedisplayskip{25pt plus 6pt minus 15 pt} nickjillings@2184: \setlength\abovedisplayshortskip{0pt plus 6pt} nickjillings@2184: \setlength\belowdisplayshortskip{13pt plus 7pt minus 6pt} nickjillings@2184: \setlength\belowdisplayskip\abovedisplayskip nickjillings@2184: nickjillings@2184: \normalsize nickjillings@2184: nickjillings@2184: \AtBeginDocument{ nickjillings@2184: \ifanullb nickjillings@2184: \ifportrait\special{papersize=91.4cm,129.3cm}\else\special{papersize=129.3cm,91.4cm}\fi nickjillings@2184: \else\ifanull nickjillings@2184: \ifportrait\special{papersize=83.96cm,118.82cm}\else\special{papersize=118.82cm,83.96cm}\fi nickjillings@2184: \else\ifaeins nickjillings@2184: \ifportrait\special{papersize=59.4cm,83.96cm}\else\special{papersize=83.96cm,59.4cm}\fi nickjillings@2184: \else\ifazwei nickjillings@2184: \ifportrait\special{papersize=41.98cm,59.4cm}\else\special{papersize=59.4cm,41.98cm}\fi nickjillings@2184: \else\ifadrei nickjillings@2184: \ifpreview nickjillings@2184: \ifportrait\special{papersize=29.7cm,41.35cm}\else\special{papersize=41.98cm,29.0cm}\fi nickjillings@2184: \else nickjillings@2184: \ifportrait\special{papersize=29.7cm,41.98cm}\else\special{papersize=41.98cm,29.7cm}\fi nickjillings@2184: \fi nickjillings@2184: \else\relax nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \fi nickjillings@2184: \pagestyle{empty}} nickjillings@2184: nickjillings@2184: \endinput nickjillings@2184: %% nickjillings@2184: %% End of file `a0poster.cls'.