OSDN Git Service

patches for tabular
[luatex-ja/luatexja.git] / src / patches / lltjp-array.sty
1 %
2 % lltjp-array.sty
3 %
4
5 \NeedsTeXFormat{LaTeX2e}
6 \ProvidesPackage{lltjp-array}[2018/03/25 Patch to array for LuaTeX-ja]
7
8 \RequirePackage{etoolbox,array,luatexja}
9
10 \patchcmd\insert@column{%
11    \ignorespaces\@sharp\unskip
12 }{%
13    \ltj@sharp
14 }{}{}
15
16 %% remove extra \xkanjiskip (pLaTeX2e 2016/04/17)
17 \def\@tabular{%
18             \leavevmode \null
19             \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup
20                                               \let\d@llarend\endgroup
21             \@tabarray}
22 \def\endtabular{\endarray $\egroup\null}
23 \expandafter \let \csname endtabular*\endcsname = \endtabular
24
25 \endinput