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




