blob: e90cef4955f5106414efbb0d69dbf52e93eb7bb8 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
|
%
% lltjp-stfloats.sty
%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lltjp-stfloats}[2014/11/23 Patch to stfloats for LuaTeX-ja]
\RequirePackage{stfloats,luatexja}
\let\ltj@fn@makecol=\fn@makecol
\gdef\fn@makecol{%
\setbox\@outputbox \box\@cclv
\let\@elt\relax
\xdef\@freelist{\@freelist\@midlist}%
\global \let \@midlist \@empty
\@combinefloats
\ifvoid\footins
\else
\setbox\@outputbox \vbox {%
\boxmaxdepth \@maxdepth
\unvbox \@outputbox
\vskip \skip\footins
\color@begingroup
\normalcolor
\footnoterule
\unvbox \footins
\color@endgroup
}%
\fi
\ifvbox\@kludgeins
\@makespecialcolbox
\else
\setbox\@outputbox \vbox to\@colht {%
\@texttop
\dimen@ \ltjgetdp\@outputbox
\unvbox \@outputbox
\ifnum\ltjgetparameter{direction}=3 \hskip\z@\fi %%% LuaTeX-ja
\vskip -\dimen@
\@textbottom
}%
\fi
\global \maxdepth \@maxdepth
}
\ifx\@makecol\ltj@fn@makecol
\global\let\@makecol\fn@makecol
\fi
\endinput
|