From 44fa7e5bc393ac41d1e81d4f69dcb9d01b710270 Mon Sep 17 00:00:00 2001 From: Hironori Kitagawa Date: Sat, 19 Feb 2022 15:29:00 +0900 Subject: [PATCH] lltjp-footmisc (#43897) --- src/patches/lltjp-footmisc.sty | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/patches/lltjp-footmisc.sty b/src/patches/lltjp-footmisc.sty index b838fd9..edde267 100644 --- a/src/patches/lltjp-footmisc.sty +++ b/src/patches/lltjp-footmisc.sty @@ -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 -- 2.11.0