%%% 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------------------------------------------------
