summaryrefslogtreecommitdiff
path: root/language/japanese/plautopatch/plarydshln.sty
blob: a2bef7a28639e248de8e2ae50cfb901c76dcaccc (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
%
% 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/03/25 v1.3i)
%

%% 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