summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/misc/fnote.tex
blob: 6591cfc1e9f073af7d0dc8a728ac39c137600c69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%%% fnote.tex ----------------cut here------------------------------------------
\catcode`\@=11
\def\vfootnote#1{\insert\footins\bgroup
  \interlinepenalty\interfootnotelinepenalty
  \splittopskip\ht\strutbox % top baseline for broken footnotes
  \baselineskip=\normalbaselineskip % necessary for single space
                                    % footnotes with double space
                                    % text
  \splitmaxdepth\dp\strutbox \floatingpenalty\@MM
  \leftskip\z@skip \rightskip\z@skip \spaceskip\z@skip \xspaceskip\z@skip
  \textindent{#1}\footstrut\futurelet\next\fo@t}% Change \textindent for
                                                % different footnote styles
\newcount\footnum
  \footnum=0
\def\fnote{\advancefootnum
  \footnote\fn@m}
\def\advancefootnum{\advance\footnum by 1}
\def\fn@m{{$^{\number\footnum}$}}
\catcode`\@=12
%%%---------------------Cut here------------------------------------------------