diff options
Diffstat (limited to 'macros/jptex/latex/plautopatch/plarydshln.sty')
-rw-r--r-- | macros/jptex/latex/plautopatch/plarydshln.sty | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/macros/jptex/latex/plautopatch/plarydshln.sty b/macros/jptex/latex/plautopatch/plarydshln.sty new file mode 100644 index 0000000000..538fc11ea2 --- /dev/null +++ b/macros/jptex/latex/plautopatch/plarydshln.sty @@ -0,0 +1,35 @@ +% +% plarydshln.sty +% written by Hironobu Yamashita (@aminophen) +% +% This package is part of the plautopatch bundle. +% https://github.com/aminophen/plautopatch +% +% This package is expected to be compatible with +% * arydshln.sty +% (2004/08/31 v1.71 -- 2019/02/21 v1.76) +% * plcore.ltx in platex +% (2001/09/26 v1.2a -- 2021/06/03 v1.3j) +% + +%% package declaration +\NeedsTeXFormat{pLaTeX2e} +\ProvidesPackage{plarydshln} + [2018/10/20 v0.4 arydshln package for pLaTeX/upLaTeX] +\RequirePackage{arydshln} + +%% handle package compatibility issues beforehand +\@ifpackageloaded{array}{\RequirePackage{plarray}}{} + +%% patching internal code for arydshln.sty +% +%% remove extra \xkanjiskip (pLaTeX2e 2016/04/17) +\@ifl@t@r{\pfmtversion}{2016/04/17}{\@firstofone}{\@gobble} +{% = for pLaTeX2e 2016/04/17 or newer +\def\endtabular{\endarray $\egroup\null} +\expandafter\let\csname endtabular*\endcsname\endtabular +}% = +% +%% done + +\endinput |