%
% lltjp-array.sty
%

\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{lltjp-array}[2018/03/29 Patch to array for LuaTeX-ja]

\RequirePackage{etoolbox,array}

\patchcmd\insert@column{%
   \ignorespaces\@sharp\unskip
}{%
   \ltj@sharp
}{}{}

\@ifpackageloaded{lltjext}{}{%
%% remove extra \xkanjiskip (pLaTeX2e 2016/04/17)
\def\@tabular{%
	    \leavevmode \null
	    \hbox \bgroup $\col@sep\tabcolsep \let\d@llarbegin\begingroup
	                                      \let\d@llarend\endgroup
	    \@tabarray}
\def\endtabular{\endarray $\egroup\null}
\expandafter \let \csname endtabular*\endcsname = \endtabular
}
\endinput
