OSDN Git Service

lltjp-footmisc (#43897)
authorHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 19 Feb 2022 06:29:00 +0000 (15:29 +0900)
committerHironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
Sat, 19 Feb 2022 06:29:00 +0000 (15:29 +0900)
src/patches/lltjp-footmisc.sty

index b838fd9..edde267 100644 (file)
@@ -3,9 +3,16 @@
 %
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{lltjp-footmisc}[2021-03-25 Patch to footmisc for LuaTeX-ja]
-\RequirePackage{footmisc}
+\ProvidesPackage{lltjp-footmisc}[2022-02-19 Patch to footmisc for LuaTeX-ja]
 
+\@ifpackagelater{footmisc}{2022-02-10}{%% v6.0a or later
+  \patchcmd{\@makenormalcolbox}{\vskip -\@outputbox@depth\@textbottom}%
+    {\pltx@adjust@wd@outputbox\vskip -\@outputbox@depth\@textbottom}{}{}%
+  \let\ltj@next\endinput
+}{\let\ltj@next\relax}
+\ltj@next
+
+% old (v5.5)
 \let  \if@tempswa  \ifFN@bottom
 \ifFN@para    \@tempswatrue \fi
 \if@tempswa