%!TEX TS-program = xetex %!TEX encoding = UTF-8 Unicode \input eplain \beginpackages \usepackage{url} \usepackage{color} \endpackages \enablehyperlinks \def\xrefpageword{} %++++++++++++++++++++++++++++++++++++++++++++++++ % page layout \pdfpagewidth 129mm \pdfpageheight 198mm \hsize 99mm %\vsize 161mm % unadjusted \vsize \vsize 454pt \voffset -9.4mm \hoffset -10.4mm % to adjust the space between the header and the text block \def\makeheadline{\vbox to 0pt{\vskip-22.5pt \line{\vbox to8.5pt{}\the\headline}\vss}\nointerlineskip} % to adjust the space between the footer and the text block \def\makefootline{\baselineskip24pt\lineskiplimit0pt\line{\the\footline}} %++++++++++++++++++++++++++++++++++++++++++++++++ \tolerance 1414 \hbadness 1414 \hyphenpenalty 500 \finalhyphendemerits 7500 \emergencystretch 5pt \hfuzz 0.3pt \vfuzz=\hfuzz % paragraph spacing \parskip 0pt \parindent 1.2em \baselineskip 12pt \frenchspacing \def\nl{\hfil\break} \def\pagebreak{\vadjust{\eject}} \def\newpage{\vfill\eject} \def\unindent {% \setbox0=\lastbox} \def\vp {% \everypar{\unindent\everypar{}}} \def\star{\leavevmode\lower2.85pt\hbox{*}} \def\Star{\smallskip\centerline{\star}\smallskip\vp} \def\stars{\centerline{\star\qquad\star\qquad\star}} \font\gara="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 10pt \font\garai="EB Garamond 12 Regular/I:-clig,-calt,mapping=tex-text" at 10pt \font\Gara="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 12pt %\font\tt = cmtt10 \headline={\hfil}% no header on the first page of the chapter \footline={\gara\hfil\folio\hfil} \noindent Plain \TeX's default footnote macro requires that you type the footnote marker yourself.\footnote{*}{the {\tt plain} macro also sets the footnote at the same type size and leading as the main text.} %++++++++++++++++++++++++++++++++++++++++++++++++ % footnote macro from the TeXbook \catcode`\@=11 \def\footnote#1{\edef\@sf{\spacefactor\the\spacefactor}#1\@sf \insert\footins\bgroup\eightpoint \interlinepenalty100 \let\par=\endgraf \leftskip=0pt \rightskip=0pt \splittopskip=10pt plus 1pt minus 1pt \floatingpenalty=20000 \smallskip\item{#1}\bgroup\strut\aftergroup\@foot\let\next} \skip\footins=12pt plus 2pt minus 4pt % space added when footnote exists \dimen\footins=30pc % maximum footnotes per page \font\eightrm=cmr8 \font\eightit=cmti8 \font\eightbf=cmbx8 \font\eighttt=cmtt8 % edited version of the \eightpoint macro % these macros are from `manmac.tex' \def\eightpoint{\def\rm{\fam0\eightrm}% \def\it{\fam\itfam\eightit}% \def\bf{\fam\bffam\eightbf}% \def\tt{\fam\ttfam\eighttt}% \normalbaselineskip=9pt \setbox\strutbox=\hbox{\vrule height7pt depth2pt width\z@}% \normalbaselines\rm} \catcode`\@=12 % %++++++++++++++++++++++++++++++++++++++++++++++++ The footnote macro used in the \TeX book is similar.\footnote{\dag}{but the footnotes are set at eight point type on nine point leading in a hang paragraph style, with a {\tt\string\smallskip} between the notes. The font size and leading are set by the {\tt\string\eightpoint} macro.}\bigskip \leftline{\bf Some more complicated macros} \noindent If you have a lot of short footnotes, setting them line by line resulting in a stack on the left of the footnote area looks daft and wastes a lot of space. On pages 395--400 of the \TeX book, Knuth suggests two methods for dealing with lots of short footnotes. The first method is setting footnotes in multiple columns. See the {\tt twocolfootnote} macro on page two (Line 156 of the {\tt .tex} file). The second method is to run all the footnotes together into a single paragraph with generous spacing between the notes. The {\tt fnpara}\footnote{$^1$}{written by Dominik Wujastyk, co-author of the EDMAC macros for typesetting critical editions.} macro given on pg. three (Line 261) follows this method. Apart from setting footnotes in a running paragraph, {\tt fnpara} also \item{$\bullet$} automatically numbers footnotes (you don't have to enter the footnote marker yourself) \item{$\bullet$} takes care of font size and leading \item{$\bullet$} uses full size numbers in the footnotes, highlighted in bold if you prefer. {\tt\string\footnumberfont} sets the font used in the numbers in the footnotes. {\tt\string\footnotesize} sets the font used in the text of the footnotes. {\tt fnpara} is not very good if you have footnotes which are quite long. It will not break a long footnote over two pages for example. For standard setting of normal length footnotes I wrote the {\tt fnote} macro. It combines the normal setting of the Plain footnote macro (each footnote is set as a paragraph by itself), with the automatic numbering and control over fonts and leading of {\tt fnpara}. See pages five and six (Line 545, Line 631). The {\tt twocolfootnote} macro also uses the same settings re fonts and leading as {\tt fnote}. \newpage\output{\global\footno=0\plainoutput} \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi \dimen1=\dp255 \unvbox255 % open up \box255 \ifvoid\footins\else\vskip\skip\footins \footnoterule \rigidbalance\footins 2 7pt \fi \csname ifr@ggedbottom\endcsname \kern-\dimen1 \vfil\fi} %%%%%%%%%%%%%%%%%%%%%%%%%%%%% % twocolfootnote macro \catcode`\@=11 \newcount\footno \footno=0 %\font\footnotesize=cmr8 \font\rmfoot=cmr8 \font\itfoot=cmti8 \font\bffoot=cmbx8 \font\ttfoot=cmtt8 % extended definition of \footnotesize \def\footnotesize{\def\rm{\rmfoot}\def\it{\itfoot}\def\bf{\bffoot}\def\tt{\ttfoot}% \normalbaselineskip=10pt \setbox\strutbox=\hbox{\vrule height7pt depth3pt width\z@}% \normalbaselines\rm} \font\footnumberfont=cmbx8 \newcount\k \newdimen\h % registers used by the \rigidbalance routine \def\rigidbalance#1#2 #3 {\setbox0=\box#1 \k=#2 \h=#3 \line{\splittopskip=\h \vbadness=10000 \hfilneg \valign{##\vfil\cr\dosplits}}} \def\dosplits{\ifnum\k>0 \noalign{\hfil}\splitoff \global\advance\k-1\cr\dosplits\fi} \def\splitoff{\dimen0=\ht0 \divide\dimen0 by\k \advance\dimen0 by\h \vsplit0 to \dimen0 } \def\twocolfootnote{\global\advance\footno by 1 \let\@sf=\empty% \ifhmode\edef\@sf{\spacefactor=\the\spacefactor}\/\fi% $^{\the\footno}$\@sf\twocolvfootnote} \def\twocolvfootnote#1{\insert\footins\bgroup\footnotesize \interlinepenalty=\interfootnotelinepenalty \floatingpenalty=20000 \splittopskip=\ht\strutbox \splitmaxdepth=\dp\strutbox \rightskip=0pt \leftskip=0pt \hsize .45\hsize \parindent=0pt \tolerance=5000 \raggedright \count\footins 500 \multiply\dimen\footins by 2 \leavevmode {\footnumberfont\the\footno\penalty10000\hskip.5em}\strut#1\strut \par\allowbreak\egroup} \catcode`\@=12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%% \noindent {\tt twocolfootnote} macro:\bigskip The entire set of footnotes could be set in two or more columns. For example, the ten footnotes we have been considering might appear as follows:\twocolfootnote{First footnote.} And some more.\twocolfootnote{Second footnote. (Every once in a while a long footnote might occur, just to make things difficult.)} And some more. And some more.\twocolfootnote{Third footnote.}$N,$\twocolfootnote{Fourth footnote.} And some more. And some more.\twocolfootnote{Fifth footnote. (This is incredibly boring, but it's just an example.)}$N,$\twocolfootnote{Another.} And some more. And some more. And some more.\twocolfootnote{And another.}$N,$\twocolfootnote{Ho hum.}$N,$\twocolfootnote{Umpteenth footnote.}$N,$\twocolfootnote{Oodles of them.}\bigskip \Star \noindent To get three column footnotes: change\nl \verbatim\hsize.45\hsize|endverbatim\ to \verbatim\hsize.3\hsize|endverbatim,\twocolfootnote{{\tt\string\hsize} has to be less than .5 or .333 to allow for space between the columns.}\nl \verbatim\count\footins 500|endverbatim\ to \verbatim\count\footins 333|endverbatim,\nl \verbatim\multiply\dimen\footins by 2|endverbatim\ to\nl \verbatim\multiply\dimen\footins by 3|endverbatim\nl and in {\tt\string\pagecontents},\twocolfootnote{Thanks to user wipet on \href{http://tex.stackexchange.com/questions/261319/two-column-footnotes-plain-tex}{stackexchange.com} for explaining how to use {\tt\string\rigidbalance}. I was barking up the wrong tree trying to put {\tt\string\rigidbalance} in {\tt\string\output.}} \verbatim\rigidbalance\footins 2 7pt|endverbatim\ to \verbatim\rigidbalance\footins 3 7pt|endverbatim. 7pt is the {\tt height} of the {\tt\string\strutbox} in {\tt\string\footnotesize}. \newpage\noindent The original unaltered {\tt fnpara.tex}:\bigskip %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FNPARA.TEX based on D. E. Knuth's "Dirty Tricks" macros from pages % 398--400 of The TeXbook. % Dominik Wujastyk September 15, 1988. % % Set the footnote text font here: % \font\footnotesize=cmr8 % % Set the font for the footnote numbers at the bottom of the page here % \font\footnumberfont=cmbx8 % % Set any text to follow each footnote here: % \def\endnotetext{$\parallel$\hskip.5em} % % Switch off above endnote text, for comparison: % \let\endnotetext=\relax % % Normal @}character macro lock: % \catcode`\@=11 % % Initialize counters: % \newcount\footno \footno=0 % % Clever code for \getfactor (The TeXbook{ p.375): % {\catcode`p=12 \catcode`t=12 \gdef\\#1pt{#1}} \let\getfactor=\\ % % Set space to follow footnote text: % \newskip\footglue \footglue=1em plus.3em minus.3em % % Set leading of footnotes: % \newdimen\footnotebaselineskip \footnotebaselineskip=10pt % % Calculate \fudgefactor (ratio of \baselineskip to \hsize): % \dimen0=\footnotebaselineskip \multiply\dimen0 by 1024 \divide \dimen0 by \hsize \multiply\dimen0 by 64 \xdef\fudgefactor{\expandafter\getfactor\the\dimen0 } % % Redefine footnotes to be automatically numbered: % \def\footnote{\global\advance\footno by 1 \let\@sf=\empty% \ifhmode\edef\@sf{\spacefactor=\the\spacefactor}\/\fi% %$N{\the\footno}$\@sf\vfootnote} $^{\the\footno}$\@sf\vfootnote} \def\vfootnote#1{\insert\footins{\floatingpenalty=20000 \footnotesize \setbox0=\hbox{% {\footnumberfont \the\footno\penalty10000\hskip.5em}#1% \penalty-10\hskip\footglue\endnotetext} % The \hbox should end before the following assignments \dp0=0pt \ht0=\fudgefactor\wd0 \box0}} % % Assume \plainoutput routine, but change \pagecontents: % \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255 \ifvoid\footins\else % footnote info is present \vskip\skip\footins \footnoterule \global\setbox1=\vbox{\makefootnoteparagraph}\unvbox1\fi \ifr@ggedbottom \kern-\dimen@ \vfil \fi} \def\footnoterule{\kern-3\p@ \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high % % Box manipulation code from The TeXbook, p.399: % \def\makefootnoteparagraph{\unvbox\footins \makehboxofhboxes \setbox0=\hbox{\unhbox0 \removehboxes} \baselineskip=\footnotebaselineskip\noindent\unhbox0\par } \def\makehboxofhboxes{\setbox0=\hbox{} \loop\setbox2=\lastbox \ifhbox2 \setbox0=\hbox{\box2\unhbox0}\repeat} \def\removehboxes{\setbox0=\lastbox \ifhbox0{\removehboxes}\unhbox0 \fi} % % Reimpose @}lock. % \catcode`\@=12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %Sample text: % % \vsize 6in % \voffset 2in % \hsize 4in % \hoffset 1in The entire set of footnotes could be combined into a single paragraph, with generous spacing between the individual items. For example, the ten footnotes we have been considering might appear as follows:\footnote{First footnote.} And some more.\footnote{Second footnote. (Every once in a~while a long footnote might occur, just to make things difficult.)} And some more. And some more.\footnote{Third footnote.}$N,$\footnote{Fourth footnote.} And some more. And some more.\footnote{Fifth footnote. (This is incredibly boring, but it's just an example.)}$N,$\footnote{Another.} And some more. And some more. And some more.\footnote{And another.}$N,$\footnote{Ho hum.}$N,$\footnote{Umpteenth footnote.}$N,$\footnote{Oodles of them.} % \bye %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newpage\gara\noindent {\tt fnpara.tex} adjusted for XeTeX:\bigskip % sets EB Garamond as the font TeX uses to make % the superscript footnote references in the text block \font\1="EB Garamond 12 Regular:+lnum" at 7pt \scriptfont0=\1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FNPARA.TEX based on D. E. Knuth's "Dirty Tricks" macros from pages % 398--400 of The TeXbook. % Dominik Wujastyk September 15, 1988. % % Set the footnote text font here: % %\font\footnotesize="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt % extended definition of \footnotesize \font\garafoot="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt \font\garafooti="EB Garamond 12 Regular/I:-clig,-calt,mapping=tex-text" at 8pt \font\garafootsc="EB Garamond 12 Regular:+smcp,-clig,-calt,mapping=tex-text" at 8pt \def\footnotesize{\def\gara{\garafoot}\def\garai{\garafooti}\def\garasc{\garafootsc}% \gara} % % Set the font for the footnote numbers at the bottom of the page here % \font\footnumberfont="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt % % Set any text to follow each footnote here: % \def\endnotetext{$\parallel$\hskip.5em} % % Switch off above endnote text, for comparison: % \let\endnotetext=\relax % % Normal @}character macro lock: % \catcode`\@=11 % % Initialize counters: % \newcount\footno \footno=0 % % Clever code for \getfactor (The TeXbook{ p.375): % {\catcode`p=12 \catcode`t=12 \gdef\\#1pt{#1}} \let\getfactor=\\ % % Set space to follow footnote text: % \newskip\footglue \footglue=1em plus.3em minus.3em % % Set leading of footnotes: % \newdimen\footnotebaselineskip \footnotebaselineskip=10pt % % Calculate \fudgefactor (ratio of \baselineskip to \hsize): % \dimen0=\footnotebaselineskip \multiply\dimen0 by 1024 \divide \dimen0 by \hsize \multiply\dimen0 by 64 \xdef\fudgefactor{\expandafter\getfactor\the\dimen0 } % % Redefine footnotes to be automatically numbered: % \def\footnote{\global\advance\footno by 1 \let\@sf=\empty% \ifhmode\edef\@sf{\spacefactor=\the\spacefactor}\/\fi% %$N{\the\footno}$\@sf\vfootnote} $^{\the\footno}$\@sf\vfootnote} \def\vfootnote#1{\insert\footins{\floatingpenalty=20000 \footnotesize \setbox0=\hbox{% {\footnumberfont \the\footno.\penalty10000\hskip.33em}#1% \penalty-10\hskip\footglue\endnotetext} % The \hbox should end before the following assignments \dp0=0pt \ht0=\fudgefactor\wd0 \box0}} % % Assume \plainoutput routine, but change \pagecontents: % \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255 \ifvoid\footins\else % footnote info is present \vskip\skip\footins \footnoterule \global\setbox1=\vbox{\makefootnoteparagraph}\unvbox1\fi \ifr@ggedbottom \kern-\dimen@ \vfil \fi} \def\footnoterule{\kern-3\p@ \hrule width 2truein \kern 2.6\p@} % the \hrule is .4pt high % % Box manipulation code from The TeXbook, p.399: % \def\makefootnoteparagraph{\unvbox\footins \makehboxofhboxes \setbox0=\hbox{\unhbox0 \removehboxes} \baselineskip=\footnotebaselineskip\noindent\unhbox0\par } \def\makehboxofhboxes{\setbox0=\hbox{} \loop\setbox2=\lastbox \ifhbox2 \setbox0=\hbox{\box2\unhbox0}\repeat} \def\removehboxes{\setbox0=\lastbox \ifhbox0{\removehboxes}\unhbox0 \fi} % % Reimpose @}lock. % \catcode`\@=12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %Sample text: The entire set of footnotes could be combined into a single paragraph, with generous spacing between the individual items. For example, the ten footnotes we have been considering might appear as follows:\footnote{First {\garai footnote}.} And some more.\footnote{Second {\garasc footnote}. (Every once in a~while a long footnote might occur, just to make things difficult.)} And some more. And some more.\footnote{Third footnote.}{\garai N,}\footnote{Fourth footnote.} And some more. And some more.\footnote{Fifth footnote. (This is incredibly boring, but it's just an example.)}{\garai N,}\footnote{Another.} And some more. And some more. And some more.\footnote{And another.}{\garai N,}\footnote{Ho hum.}{\garai N,}\footnote{Umpteenth footnote.}{\garai N,}\footnote{Oodles of them.} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newpage\noindent {\tt fnote} macro: \bigskip % default setting for \pagecontents, from plain.tex \catcode`@=11 \def\pagecontents{\ifvoid\topins\else\unvbox\topins\fi \dimen@=\dp\@cclv \unvbox\@cclv % open up \box255 \ifvoid\footins\else % footnote info is present \vskip\skip\footins \footnoterule \unvbox\footins\fi \ifr@ggedbottom \kern-\dimen@ \vfil \fi} \catcode`@=12 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % fnote macro \catcode`\@=11 % sets EB Garamond as the font TeX uses to make % the superscript footnote references in the text block \font\1="EB Garamond 12 Regular:+lnum" at 7pt \scriptfont0=\1 %\font\footnotesize="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt % extended definition of \footnotesize \font\garafoot="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt \font\garafooti="EB Garamond 12 Regular/I:-clig,-calt,mapping=tex-text" at 8pt \font\garafootsc="EB Garamond 12 Regular:+smcp,-clig,-calt,mapping=tex-text" at 8pt \def\footnotesize{\def\gara{\garafoot}\def\garai{\garafooti}\def\garasc{\garafootsc}% \normalbaselineskip=10pt \setbox\strutbox=\hbox{\vrule height7pt depth3pt width\z@}% \normalbaselines\gara} \font\footnumberfont="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt \newcount\footno \footno=0 \def\footnote{\global\advance\footno by 1 \let\@sf=\empty% \ifhmode\edef\@sf{\spacefactor=\the\spacefactor}\/\fi% $^{\the\footno}$\@sf\vfootnote} \def\vfootnote#1{\insert\footins\bgroup\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\ht\strutbox % top baseline for broken footnotes \splitmaxdepth\dp\strutbox\floatingpenalty\@MM \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip {\footnumberfont\the\footno.\penalty10000\hskip.33em}\strut#1\futurelet\next\fo@t} \def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t \else\let\next\f@t\fi \next} \def\f@@t{\bgroup\aftergroup\@foot\let\next} \def\f@t{\@foot} \def\@foot{\strut\egroup} \def\footstrut{\vbox to\splittopskip{}} \skip\footins=\bigskipamount % space added when footnote is present \count\footins=1000 % footnote magnification factor (1 to 1) \dimen\footins=.8\vsize % maximum footnotes per page \catcode`\@=12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The entire set of footnotes could be set normally i.e. not in a single paragraph or in two columns. For example, the ten footnotes we have been considering might appear as follows:\footnote{First {\garai footnote}.} And some more.\footnote{Second {\garasc footnote}. (Every once in a~while a long footnote might occur, just to make things difficult.)} And some more.\footnote{Third footnote.} \Star If you want footnotes in {\tt fnote} to be set in a hang paragraph style (like in the \TeX book), change\nl \verbatim{\footnumberfont\the\footno\penalty10000\hskip.5em}|endverbatim\nl to\nl \verbatim \item{\footnumberfont\the\footno \penalty10000\hskip.5em} |endverbatim \newpage\noindent {\tt fnotesym} macro: {\tt fnote} macro with symbols (*, †, ‡, §, ¶, ‖, **, ††, ‡‡) as footnote references instead of numbers. This could be used in a book which has endnotes referred to by superscript numbers in the text, but also has a small number of footnotes. I copied the macro for the footnote symbols from \href{http://ds26gte.github.io/tex2page/index-Z-H-4.html#node_sec_4}{here}. The macro was originally written for Plain \TeX: \verbatim \def\fnsymbol#1{% % #1 is between 1 and 9 inclusive \ifcase#1\or *\or\dag\or\ddag\or\S\or\P\or $\Vert$\or**\or\dag\dag\or\ddag\ddag \fi} |endverbatim The Unicode conversion is in the {\tt fnotesym} macro. \bigskip\Star %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % fnotesym % unicode version \def\fnsymbol#1{% % #1 is between 1 and 9 inclusive \ifcase#1\or *\or†\or‡\or§\or¶\or ‖\or**\or††\or‡‡ \fi} \catcode`\@=11 %\font\footnotesize="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt % extended definition of \footnotesize \font\garafoot="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt \font\garafooti="EB Garamond 12 Regular/I:-clig,-calt,mapping=tex-text" at 8pt \font\garafootsc="EB Garamond 12 Regular:+smcp,-clig,-calt,mapping=tex-text" at 8pt \def\footnotesize{\def\gara{\garafoot}\def\garai{\garafooti}\def\garasc{\garafootsc}\def\tt{\ttfoot}% \normalbaselineskip=10pt \setbox\strutbox=\hbox{\vrule height7pt depth3pt width\z@}% \normalbaselines\gara} \font\footnumberfont="EB Garamond 12 Regular:-clig,-calt,mapping=tex-text" at 8pt \newcount\footno \footno=0 \def\footnote{\global\advance\footno by 1 \ifnum\footno>9 \global\footno=1 \fi \let\@sf=\empty% \ifhmode\edef\@sf{\spacefactor=\the\spacefactor}\/\fi% \fnsymbol{\the\footno}\@sf\vfootnote} \def\vfootnote#1{\insert\footins\bgroup\footnotesize\noindent \interlinepenalty\interfootnotelinepenalty \splittopskip\ht\strutbox% top baseline for broken footnotes \splitmaxdepth\dp\strutbox\floatingpenalty\@MM \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip {\footnumberfont\fnsymbol{\the\footno}\penalty10000\hskip.5em}\strut#1\futurelet\next\fo@t} \def\fo@t{\ifcat\bgroup\noexpand\next \let\next\f@@t \else\let\next\f@t\fi \next} \def\f@@t{\bgroup\aftergroup\@foot\let\next} \def\f@t{\@foot} \def\@foot{\strut\egroup} \def\footstrut{\vbox to\splittopskip{}} \skip\footins=\bigskipamount % space added when footnote is present \count\footins=1000 % footnote magnification factor (1 to 1) \dimen\footins=.8\vsize % maximum footnotes per page \catcode`\@=12 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% The entire set of footnotes could be set normally i.e. not in a single paragraph or in two columns. For example, the ten footnotes we have been considering might appear as follows:\footnote{First footnote.} And some more.\footnote{Second footnote. (Every once in a~while a long footnote might occur, just to make things difficult.)} And some more.\footnote{Third footnote.} \newpage\noindent By default, the {\tt fnpara}, {\tt fnote} and {\tt twocolfootnote} macros will number footnotes continuously throughout a document. If you want to have footnotes numbered per page you have to alter the output routine: put \verbatim\output{\global\footno=0\plainoutput}|endverbatim\ at the beginning of the document.\footnote{You will have to do this with {\tt fnotesym}.} I put this at the top of page two (Line 143) in this document because the {\tt\string\footno} counter does not appear until then. Sometimes per page numbering doesn't work properly: e.g. in one of my documents I got two footnotes numbered `1' on the same page. This is probably because \TeX\ was unclear where the page break would be when it was numbering the footnotes. Fix it by either explicitly breaking the page by putting {\tt\string\eject} at the bottom of the previous page or by putting \verbatim\footno=1|endverbatim\ or \verbatim\advance\footno by 1|endverbatim\ before the second footnote. If you want footnotes numbered by chapter, you can put \verbatim\footno=0|endverbatim\ at the start of the chapter or in the chapter macro. \Star If you use {\tt fnote} with Eplain's {\tt\string\doublecolumns} macro, footnotes will be set in the left column of the page only. To get the footnotes set across the full measure put the {\tt\string\hsize} of the document (e.g. \verbatim\hsize=99mm|endverbatim) in {\tt\string\vfootnote}. \Star Prefixing {\tt\string\long} to \verbatim\def\vfootnote|endverbatim\ allows long footnotes to contain paragraphs.\footnote{Except in {\tt fnpara}.} \Star Another way of generating the superscript footnote reference marks (in {\tt fnpara}, {\tt fnote} and {\tt twocolfootnote}): define a font\nl \verbatim\font\sups="EB Garamond 12 Regular:+sups,mapping=tex-text" at 10pt|endverbatim\nl and replace the line\nl \verbatim$^{\the\footno}$\@sf\vfootnote}|endverbatim\nl in the macros with\nl \verbatim{\sups\the\footno}\@sf\vfootnote}|endverbatim\nl Instead of using math mode to set the superscripts, this method uses the OpenType {\tt sups} tag.\footnote{\widowpenalty50000The font you are using needs to have both the superscript glyphs and the OpenType tag for this method.} It's possible to add a little breathing space between the superscript and the preceding character:\nl \verbatim$\kern.05em^{\the\footno}$\@sf\vfootnote}|endverbatim\nl or\nl \verbatim{\sups\kern.05em\the\footno}\@sf\vfootnote}|endverbatim \Star If you prefer to have superscript numerals in the footnotes in the three macros you could get them by changing\nl \verbatim {\footnumberfont\the\footno\penalty10000\hskip.5em} |endverbatim to\nl \verbatim {\font\1="EB Garamond 12 Regular:+lnum" at 5pt|endverbatim\footnote{Or {\tt cmr5} or whichever font you are using.} \verbatim\scriptfont0=\1 $^{\the\footno}$\penalty10000\hskip.25em} |endverbatim resizing the superscripts locally to go with the 8pt footnote font. \bye