Debian Codegraph @

texmf-dist/tex/latex-dev/tools/delarray.sty

raw
1 %%
2 %% This is file `delarray.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% delarray.dtx (with options: `package')
8 %%
9 %% This is a generated file.
10 %%
11 %% The source is maintained by the LaTeX Project team and bug
12 %% reports for it can be opened at https://latex-project.org/bugs/
13 %% (but please observe conditions on bug reports sent to that address!)
14 %%
15 %%
16 %% Copyright (C) 1993-2026
17 %% The LaTeX Project and any individual authors listed elsewhere
18 %% in this file.
19 %%
20 %% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
21 %% --------------------------------------------------------------------------
22 %%
23 %% It may be distributed and/or modified under the
24 %% conditions of the LaTeX Project Public License, either version 1.3c
25 %% of this license or (at your option) any later version.
26 %% The latest version of this license is in
27 %% https://www.latex-project.org/lppl.txt
28 %% and version 1.3c or later is part of all distributions of LaTeX
29 %% version 2005/12/01 or later.
30 %%
31 %% This file may only be distributed together with a copy of the LaTeX
32 %% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
33 %% without such generated files.
34 %%
35 %% The list of all files belonging to the LaTeX `Tools Bundle' is
36 %% given in the file `manifest.txt'.
37 %%
38 %% File: delarray.dtx Copyright (C) 1991-1994 David Carlisle
39 \NeedsTeXFormat{LaTeX2e}
40 \ProvidesPackage{delarray}
41 [2014/10/28 v1.01 array delimiter package (DPC)]
42 \RequirePackage{array}[1994/02/03]
43 \def\@tabarray{\@ifnextchar[{\@@array}{\@@array[c]}}
44 \def\@@array[#1]{\@ifnextchar\bgroup
45 {\let\@arrayleft\relax\let\@arrayright\relax\@array[#1]}%
46 {\@del@array[#1]}}
47 \def\@del@array[#1]#2#3#4{%
48 \setbox\z@\hbox{$\left#2\right#4$}%
49 \if#1c\def\@arrayleft{\left#2}\def\@arrayright{\right#4}%
50 \else\def\@arrayleft{\setbox\z@}%
51 \def\@arrayright{%
52 \dimen@=\dp\z@
53 \advance\dimen@-\ht\z@
54 \divide \dimen@ by \tw@
55 \advance\dimen@ by\fontdimen22 \textfont\tw@
56 \lower\dimen@\hbox{$\left#2\vcenter{\unvbox\z@}\right#4$}}%
57 \fi
58 \@array[#1]{#3}}
59 \endinput
60 %%
61 %% End of file `delarray.sty'.