Debian Codegraph @

texmf-dist/tex/latex/lwarp/lwarp-arydshln.sty

raw
1 %%
2 %% This is file `lwarp-arydshln.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% lwarp.dtx (with options: `arydshln')
8 %% This is a generated file.
9 %% Copyright 2016-2026 Brian Dunn
10 %%
11 %% This work may be distributed and/or modified under the
12 %% conditions of the LaTeX Project Public License, either version 1.3
13 %% of this license or (at your option) any later version.
14 %% The latest version of this license is in
15 %% http://www.latex-project.org/lppl.txt
16 %% and version 1.3 or later is part of all distributions of LaTeX
17 %% version 2005/12/01 or later.
18
19 \RequirePackage{array}
20 \LWR@ProvidesPackageDrop{arydshln}[2018/09/26]
21 \newdimen\dashlinedash \dashlinedash4pt %
22 \newdimen\dashlinegap \dashlinegap4pt %
23 \let\hdashlinewidth\dashlinedash
24 \let\hdashlinegap\dashlinegap
25
26 \def\ADLnullwide{}
27 \def\ADLsomewide{}
28 \def\ADLnullwidehline{}
29 \def\ADLsomewidehline{}
30
31 \def\ADLactivate{}
32 \def\ADLinactivate{}
33 \newcommand*{\ADLdrawingmode}[1]{}
34 \newcommand*{\ADLnoshorthanded}{}
35 \newcommand*{\dashgapcolor}[2][]{}
36 \newcommand*{\nodashgapcolor}{}
37 \appto\LWR@restoreorigformatting{%
38 \newcolumntype{:}{|}%
39 \newcolumntype{;}[1]{|}%
40 \LetLtxMacro\hdashline\hline%
41 }
42 \def\hdashline{
43 \adl@hdashline\adl@inactivehdl
44 }
45 \def\adl@hdashline#1{\noalign{\ifnum0=`}\fi
46 \hrule \@height \arrayrulewidth% lwarp
47 \@ifnextchar[%]
48 {#1}%
49 {#1[%
50 1pt/1pt
51 ]}}
52 \def\adl@inactivehdl[#1/#2]{
53 \hrule\@height\arrayrulewidth
54 \futurelet\@tempa\adl@xhline}
55 \def\adl@xhline{\ifx\@tempa\hline \adl@ixhline\fi
56 \ifx\@tempa\hdashline \adl@ixhline\fi
57 \ifnum0=`{\fi}}
58 \def\adl@ixhline{\vskip\doublerulesep \adl@hline\relax\doublerulesep}
59 \def\adl@hline#1#2{%
60 }
61
62 \def\cdashline#1{\noalign{\ifnum0=`}\fi
63 \@ifnextchar[%]
64 {\adl@inactivecdl[#1]}%
65 {\adl@inactivecdl[#1][\dashlinedash/\dashlinegap]}
66 }
67
68 \def\adl@inactivecdl[#1-#2][#3]{\ifnum0=`{\fi}\cline{#1-#2}}
69
70 \begin{warpMathJax}
71 \CustomizeMathJax{\newcommand{\firsthdashline}[1][]{\hdashline}}
72 \CustomizeMathJax{\let\lasthdashline\firsthdashline}
73 \CustomizeMathJax{\let\cdashline\cline}
74 \end{warpMathJax}
75
76
77 \endinput
78 %%
79 %% End of file `lwarp-arydshln.sty'.