summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/plautopatch/plextarydshln.sty
blob: fc15b05604313728486e1444420d6348b39f28ee (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
36
37
38
39
40
41
42
43
%
% plextarydshln.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
%     (????/??/??)
%   * plcore.ltx in platex
%     (2001/09/26 v1.2a -- 2018/09/02 v1.3)
%

%% package declaration
\NeedsTeXFormat{pLaTeX2e}
\ProvidesPackage{plextarydshln}
  [2018/09/19 v0.1 Merge plext and arydshln]
\RequirePackage{plext}
\RequirePackage{arydshln}

%% handle package compatibility issues beforehand
%  Note: The "arydshln" manual requests users to load
%        the following packages *before* arydshln,
%        to ensure compatibility:
%          array, longtable, colortab, colortbl.
%        So, hoping that users are clever enough to load
%        them before plextarydshln, load known patches
%        at this point when they are detected.
%\@ifpackageloaded{array}{\RequirePackage{plextarray}}{}
%\@ifpackageloaded{colortbl}{\RequirePackage{plextcolortbl}}{}

%% patching internal code for arydshln.sty and plext.sty
%
\let\adl@p@array\p@array
\def\p@array{%
   \adl@everyvbox\everyvbox
   \everyvbox{\adl@arrayinit \the\adl@everyvbox \everyvbox\adl@everyvbox}%
   \adl@p@array}
%
%% done

\endinput