From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Mon, 2 Sep 2019 13:46:59 +0900
Subject: Initial commit

---
 macros/plain/contrib/misc/fnote.tex | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 macros/plain/contrib/misc/fnote.tex

(limited to 'macros/plain/contrib/misc/fnote.tex')

diff --git a/macros/plain/contrib/misc/fnote.tex b/macros/plain/contrib/misc/fnote.tex
new file mode 100644
index 0000000000..6591cfc1e9
--- /dev/null
+++ b/macros/plain/contrib/misc/fnote.tex
@@ -0,0 +1,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------------------------------------------------
-- 
cgit v1.2.3

