annotate docs/DMRN+10/a0poster.cls @ 2106:2ffbf9ea5435

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