File: nrfoot.sty

package info (click to toggle)
texlive-doc 2009-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 192,004 kB
  • ctags: 4,774
  • sloc: perl: 12,760; xml: 11,870; makefile: 1,033; lisp: 394; sh: 229; awk: 205; java: 159; sed: 4
file content (36 lines) | stat: -rw-r--r-- 1,090 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
\def\efootnote{\@ifnextchar[{\@xefootnote}{
   \@efootnotemark\@efootnotetext}}

\def\@xefootnote[#1]{\begingroup \csname c@\@mpfn\endcsname #1\relax
   \endgroup
   \@efootnotemark\@efootnotetext}

%\long\def\@emakefntext#1{\parindent 1em\noindent
%     \hbox to 1.8em{\hss$^$}#1}

\long\def\@emakefntext#1{\noindent #1}

\long\def\@efootnotetext#1{\insert\footins{\footnotesize
    \interlinepenalty\interfootnotelinepenalty 
    \splittopskip\footnotesep
    \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
    \hsize\columnwidth \@parboxrestore
   \@emakefntext
    {\rule{\z@}{\footnotesep}\ignorespaces
      #1\strut}}}

\def\efootnotemark{\@ifnextchar[{\@xefootnotemark
    }{\@efootnotemark}}

\def\@xefootnotemark[#1]{\begingroup \relax
   \endgroup \@efootnotemark}

\def\@efootnotemark{\leavevmode\ifhmode
  \edef\@x@sf{\the\spacefactor}\fi %\@makefnmark 
   \ifhmode\spacefactor\@x@sf\fi\relax}

\def\efootnotetext{\@ifnextchar
    [{\@xefootnotenext}{\@efootnotetext}}

\def\@xefootnotenext[#1]{\begingroup %\csname c@\@mpfn\endcsname #1\relax
   \endgroup \@efootnotetext}