summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/epslatex-fr/nrfoot.sty
blob: c0de81ce43e040c5ff0d977052570976eef76bc9 (plain)
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}