summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/hlfoot.tex
blob: 01fae52386b22a4f3ba3ef41d014b0da3390e359 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
\input ../eplain
%\enablehyperlinks[nolinks]
%\enablehyperlinks[pdftex]
%\enablehyperlinks[dvipdfm]
\enablehyperlinks

\ifpdf
  \pdfpagewidth=8.5in
  \pdfpageheight=11in
\fi

\beginpackages
  \usepackage{color}
\endpackages

% Set \normalbaselineskip for the sake of \hldestfootraise
\everyfootnote = {\sevenrm \normalbaselineskip=9pt \normalbaselines}

\hlopts![foot]{bstyle=U}
\hldesttype[foot]{fitbh}
\hlopts![footback]{bstyle=D,bdash=1 4}
\hldesttype[footback]{fith}


This\numberedfootnote{Footnote to `This'.} is a
sentence\footnote*{Footnote to `sentence'.} with
footnotes\footnote{**}{Footnote to `footnotes'.}.

\medskip
Now we say
\verbatim\let\footnote=\numberedfootnote|endverbatim
\let\footnote=\numberedfootnote\ and look what we get:

This\footnote{Another footnote to `This'.} is another
sentence\footnote{Another footnote to `sentence'.} with
footnotes\footnote{Another footnote to `footnotes'.}.

\vfil\eject
Second page.


\bye

% Local variables:
% compile-command: "tex --interact=nonstopmode hlfoot.tex && dvipdfm -p letter hlfoot.dvi"
% compile-command: "pdftex --interact=nonstopmode hlfoot.tex"
% End: