2 %% lltjcore.sty: derived from plcore.dtx in pLaTeX.
5 \newif\iftombow \tombowfalse
6 \newif\iftombowdate \tombowdatetrue
8 \setlength{\@tombowwidth}{.1\p@}
11 \newbox\@TR\newbox\@Tr
12 \newbox\@BL\newbox\@Bl
14 \newbox\@BR\newbox\@Br
17 \font\@bannerfont=cmtt9
21 \setbox\@TL\hbox to\z@{\yoko\hss
22 \vrule width13mm height\@tombowwidth depth\z@
23 \vrule height10mm width\@tombowwidth depth\z@
25 \raise4pt\hbox to\z@{\hskip5mm\@bannerfont\the\@bannertoken\hss}%
27 \setbox\@Tl\hbox to\z@{\yoko\hss
28 \vrule width10mm height\@tombowwidth depth\z@
29 \vrule height13mm width\@tombowwidth depth\z@}%
30 \setbox\@TC\hbox{\yoko
31 \vrule width10mm height\@tombowwidth depth\z@
32 \vrule height10mm width\@tombowwidth depth\z@
33 \vrule width10mm height\@tombowwidth depth\z@}%
34 \setbox\@TR\hbox to\z@{\yoko
35 \vrule height10mm width\@tombowwidth depth\z@
36 \vrule width13mm height\@tombowwidth depth\z@\hss}%
37 \setbox\@Tr\hbox to\z@{\yoko
38 \vrule height13mm width\@tombowwidth depth\z@
39 \vrule width10mm height\@tombowwidth depth\z@\hss}%
40 \setbox\@BL\hbox to\z@{\yoko\hss
41 \vrule width13mm depth\@tombowwidth height\z@
42 \vrule depth10mm width\@tombowwidth height\z@}%
43 \setbox\@Bl\hbox to\z@{\yoko\hss
44 \vrule width10mm depth\@tombowwidth height\z@
45 \vrule depth13mm width\@tombowwidth height\z@}%
46 \setbox\@BC\hbox{\yoko
47 \vrule width10mm depth\@tombowwidth height\z@
48 \vrule depth10mm width\@tombowwidth height\z@
49 \vrule width10mm depth\@tombowwidth height\z@}%
50 \setbox\@BR\hbox to\z@{\yoko
51 \vrule depth10mm width\@tombowwidth height\z@
52 \vrule width13mm depth\@tombowwidth height\z@\hss}%
53 \setbox\@Br\hbox to\z@{\yoko
54 \vrule depth13mm width\@tombowwidth height\z@
55 \vrule width10mm depth\@tombowwidth height\z@\hss}%
56 \setbox\@CL\hbox to\z@{\yoko\hss
57 \vrule width10mm height.5\@tombowwidth depth.5\@tombowwidth
58 \vrule height10mm depth10mm width\@tombowwidth}%
59 \setbox\@CR\hbox to\z@{\yoko
60 \vrule height10mm depth10mm width\@tombowwidth
61 \vrule height.5\@tombowwidth depth.5\@tombowwidth width10mm\hss}%
65 \vbox to\z@{\kern-13mm\relax
66 \moveleft3mm\vbox to\@@paperheight{%
67 \hbox to\@@paperwidth{\hskip3mm\relax
68 \copy\@TL\hfill\copy\@TC\hfill\copy\@TR\hskip3mm}%
70 \hbox to\@@paperwidth{\copy\@Tl\hfill\copy\@Tr}%
72 \hbox to\@@paperwidth{\copy\@CL\hfill\copy\@CR}%
74 \hbox to\@@paperwidth{\copy\@Bl\hfill\copy\@Br}%
76 \hbox to\@@paperwidth{\hskip3mm\relax
77 \copy\@BL\hfill\copy\@BC\hfill\copy\@BR\hskip3mm}%
82 \newdimen\@@paperheight
83 \newdimen\@@paperwidth
86 \begingroup % the \endgroup is put in by \aftergroup
88 \dimen\z@\textwidth \textwidth\textheight \textheight\dimen\z@
90 \let \protect \noexpand
92 \global\let\@@if@newlist\if@newlist
98 \aftergroup\set@typeset@protect
100 \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%
103 \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot
104 \iftdir\let\@themargin\evensidemargin
105 \else\let\@themargin\oddsidemargin\fi
106 \else \let\@thehead\@evenhead
107 \let\@thefoot\@evenfoot
108 \iftdir\let\@themargin\oddsidemargin
109 \else\let\@themargin\evensidemargin\fi
111 \@@topmargin\topmargin
113 \@@paperwidth\paperwidth \advance\@@paperwidth 6mm\relax
114 \@@paperheight\paperheight \advance\@@paperheight 16mm\relax
115 \advance\@@topmargin 1in\relax \advance\@themargin 1in\relax
122 \let\glossary\@gobble
123 \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@
127 \moveright\@themargin\vbox{%
128 \setbox\@tempboxa \vbox to\headheight{%
132 \hb@xt@\textwidth{\@thehead}%
139 \baselineskip \footskip
142 \hb@xt@\textwidth{\@thefoot}%
146 \global\let\if@newlist\@@if@newlist
147 \global \@colht \textheight
149 \let\firstmark\botmark
151 \newcommand\printglossary{\@input@{\jobname.gls}}