summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/eplain/base/test/hlfoot.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/eplain/base/test/hlfoot.tex')
-rw-r--r--Master/texmf-dist/source/eplain/base/test/hlfoot.tex47
1 files changed, 47 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/eplain/base/test/hlfoot.tex b/Master/texmf-dist/source/eplain/base/test/hlfoot.tex
new file mode 100644
index 00000000000..01fae52386b
--- /dev/null
+++ b/Master/texmf-dist/source/eplain/base/test/hlfoot.tex
@@ -0,0 +1,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: