Debian Codegraph @

texk/web2c/hitexdir/tex/hiltxpage.tex

raw
1 % Copyright 2017-2022 Martin Ruckert, Hochschule Muenchen, Lothstrasse 64, 80336 Muenchen
2 %
3 % Permission is hereby granted, free of charge, to any person obtaining a copy
4 % of this software and associated documentation files (the "Software"), to deal
5 % in the Software without restriction, including without limitation the rights
6 % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 % copies of the Software, and to permit persons to whom the Software is
8 % furnished to do so, subject to the following conditions:
9 %
10 % The above copyright notice and this permission notice shall be
11 % included in all copies or substantial portions of the Software.
12 %
13 % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 % COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
17 % WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
18 % OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 % THE SOFTWARE.
20 %
21 % Except as contained in this notice, the name of the copyright holders shall
22 % not be used in advertising or otherwise to promote the sale, use or other
23 % dealings in this Software without prior written authorization from the
24 % copyright holders.
25
26 \ifhint
27 % Usefull settings for HINT files
28 \pretolerance=1000
29 \tolerance=2000
30 \emergencystretch=16pt
31 \overfullrule=0pt
32 \textwidth=\hsize
33 \textheight=\vsize
34 % HINT page template for footnotes and topinserts
35 \newinsert\topins
36 \skip\topins=0pt % no space added when a topinsert is present
37 \count\topins=1000 % magnification factor (1 to 1)
38 \dimen\topins=\maxdimen % no limit per page
39 \def\topinsert{\bgroup\setbox0\vbox\bgroup}
40 \def\endinsert{\egroup
41 \insert\topins{%
42 \penalty100\splittopskip0pt\floatingpenalty0\box0\nobreak\bigskip\egroup}}
43 \dimen0=1.25\hsize
44 \advance\dimen0 by -9pt
45 \dimen1=1.25\vsize
46 \advance\dimen1 by -9pt
47 \HINTsetpage1 = basic
48 priority 10
49 width \dimen0
50 height \dimen1
51 {%
52 \maxdepth=4pt
53 \topskip=10pt
54 \HINTstream\topins %topinsert
55 \HINTstream0 %main text
56 \HINTstream\footins
57 \HINTsetstream\topins = %topinsert
58 preferred 0
59 {%
60 \HINTafter = {}
61 }
62 \HINTsetstream\footins =%footnotes
63 preferred 255
64 ratio 0
65 {%
66 \hsize=300pt
67 \count\footins=1000 % the magnification factor
68 \skip\footins=\bigskipamount % the extra space needed
69 \dimen\footins=\vsize % maximum height on the page
70 \HINTbefore =
71 {\vskip\skip\footins
72 \footnoterule}
73 \HINTafter = {}
74 }
75 }% end page template
76 \fi