From debddf778b93d5c363d13a0cb9ff98b5c71bbad9 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Fri, 6 May 2016 15:14:19 +0900 Subject: [PATCH] lltjcore.sty: patch \@footnotemark --- src/patches/lltjcore.sty | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/patches/lltjcore.sty b/src/patches/lltjcore.sty index 2d577fc..67d2923 100644 --- a/src/patches/lltjcore.sty +++ b/src/patches/lltjcore.sty @@ -171,11 +171,6 @@ \unless\ifnum\ltjgetparameter{direction}=3 \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}% \else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi} -\def\@footnotemark{\leavevmode - \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi - \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark - \else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi - \ifhmode\spacefactor\@x@sf\fi\relax} \begingroup \@ifpackageloaded{hyperref} {\def\ltj@setrefprefix{real}} @@ -202,6 +197,10 @@ \newcount\minute %%% etoolbox is loaded by everyhook \ifltj@everyhook@avail + \patchcmd{\@footnotemark}{\@makefnmark}{% + \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark% + \else\hbox to\z@{\hskip-.25\zw\raise.9\zh\@makefnmark\hss}\fi% + }{}{} \patchcmd{\@tabular}{\leavevmode}{\leavevmode\null}{}{} \apptocmd{\endtabular}{\null}{}{} \expandafter \let \csname endtabular*\endcsname = \endtabular -- 2.11.0