ソースコードの管理場所
Revision | 7acf3117b9a92f170caca631886b2f0b7133c900 (tree) |
---|---|
Time | 2016-05-05 15:17:56 |
Author | Kazuki Maeda <kmaeda@kmae...> |
Commiter | Kazuki Maeda |
Patches from pLaTeX 2016/04/17.
@@ -1,10 +1,10 @@ | ||
1 | 1 | % |
2 | 2 | % lltjcore.sty: derived from plcore.dtx in pLaTeX. |
3 | 3 | % This file does not include the code relating to "tategaki". |
4 | -% | |
4 | +% | |
5 | 5 | |
6 | 6 | \NeedsTeXFormat{LaTeX2e} |
7 | -\ProvidesPackage{lltjcore}[2016/04/01 Patch to LaTeX2e Kernel for LuaTeX-ja] | |
7 | +\ProvidesPackage{lltjcore}[2016/05/05 Patch to LaTeX2e Kernel for LuaTeX-ja] | |
8 | 8 | |
9 | 9 | \def\cleardoublepage{\clearpage\if@twoside |
10 | 10 | \ifodd\c@page |
@@ -165,10 +165,12 @@ | ||
165 | 165 | \stepcounter{page}% |
166 | 166 | \let\firstmark\botmark |
167 | 167 | } |
168 | -\renewcommand\@makefnmark{\hbox{% | |
168 | + | |
169 | +%%% Remove extra xkanjiskip | |
170 | +\renewcommand\@makefnmark{% | |
169 | 171 | \unless\ifnum\ltjgetparameter{direction}=3 |
170 | - \@textsuperscript{\normalfont\@thefnmark}% | |
171 | - \else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi}} | |
172 | + \hbox{}\hbox{\@textsuperscript{\normalfont\@thefnmark}}\hbox{}% | |
173 | + \else\hbox{\yoko \@textsuperscript{\normalfont\@thefnmark}}\fi} | |
172 | 174 | \def\@footnotemark{\leavevmode |
173 | 175 | \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi |
174 | 176 | \unless\ifnum\ltjgetparameter{direction}=3 \@makefnmark |
@@ -198,6 +200,34 @@ | ||
198 | 200 | \gdef\@stopfield{\null\color@endgroup\egroup} |
199 | 201 | \newcount\hour |
200 | 202 | \newcount\minute |
203 | +\def\@tabular{\leavevmode \null\hbox \bgroup $\let\@acol\@tabacol | |
204 | + \let\@classz\@tabclassz | |
205 | + \let\@classiv\@tabclassiv \let\\\@tabularcr\@tabarray} | |
206 | +\def\endtabular{\crcr\egroup\egroup $\egroup\null} | |
207 | +\expandafter \let \csname endtabular*\endcsname = \endtabular | |
208 | +\let\@parboxto\@empty | |
209 | +\long\def\@iiiparbox#1#2[#3]#4#5{% | |
210 | + \leavevmode | |
211 | + \@pboxswfalse | |
212 | + \setlength\@tempdima{#4}% | |
213 | + \@begin@tempboxa\vbox{\hsize\@tempdima\@parboxrestore#5\@@par}% | |
214 | + \ifx\relax#2\else | |
215 | + \setlength\@tempdimb{#2}% | |
216 | + \edef\@parboxto{to\the\@tempdimb}% | |
217 | + \fi | |
218 | + \if#1b\vbox | |
219 | + \else\if #1t\vtop | |
220 | + \else\ifmmode\vcenter | |
221 | + \else\@pboxswtrue\null$\vcenter% !!! | |
222 | + \fi\fi\fi | |
223 | + \@parboxto{\let\hss\vss\let\unhbox\unvbox | |
224 | + \csname bm@#3\endcsname}% | |
225 | + \if@pboxsw \m@th$\null\fi% !!! | |
226 | + \@end@tempboxa} | |
227 | +\def\underline#1{% | |
228 | + \relax | |
229 | + \ifmmode\@@underline{#1}% | |
230 | + \else \leavevmode\null$\@@underline{\hbox{#1}}\m@th$\null\relax\fi} | |
201 | 231 | |
202 | 232 | %%% AtBeginDvi |
203 | 233 | \def \AtBeginDvi #1{% |
@@ -3,7 +3,7 @@ | ||
3 | 3 | % |
4 | 4 | |
5 | 5 | \NeedsTeXFormat{LaTeX2e} |
6 | -\ProvidesPackage{lltjdefs}[2016/01/30 Default font settings of LuaTeX-ja] | |
6 | +\ProvidesPackage{lltjdefs}[2016/05/05 Default font settings of LuaTeX-ja] | |
7 | 7 | |
8 | 8 | \def\ltj@stdmcfont{IPAExMincho} |
9 | 9 | \def\ltj@stdgtfont{IPAExGothic} |
@@ -69,6 +69,11 @@ | ||
69 | 69 | {\not@math@alphabet\ttfamily\mathtt |
70 | 70 | \romanfamily\ttdefault |
71 | 71 | \if@ltj@match@family\kanjifamily\jttdefault\fi\selectfont} |
72 | +%%% \eminnershape | |
73 | +\DeclareRobustCommand\em | |
74 | + {\@nomath\em \ifdim \fontdimen\@ne\font >\z@ | |
75 | + \eminnershape \else \gtfamily \itshape \fi} | |
76 | +\def\eminnershape{\mcfamily \upshape} | |
72 | 77 | |
73 | 78 | \ltjdefcharrange{1}{"80-"36F, "1E00-"1EFF} |
74 | 79 | \ltjdefcharrange{2}{"370-"4FF, "1F00-"1FFF} |