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