summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/delim/delim.sty
blob: b72272c5a555890fc4f497a2fec236a0860cac98 (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
44
45
46
%%
%% This is file `delim.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% delim.dtx  (with options: `package')
%% 
%% This is a generated file.
%% 
%% Copyright 2011 Stefan Majewsky <majewsky@gmx.net>
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
%% version 1.2 of this license or (at your option) any later
%% version. The latest version of this license is in:
%% 
%%     http://www.latex-project.org/lppl.txt
%% 
%% and version 1.2 or later is part of all distributions of
%% LaTeX version 1999/12/01 or later.
%% 
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{delim}
   [2011/09/13 1.0 Typesetting of mathematical delimiters]
\def\delim@load#1#2#3{%
 \begingroup%
 \def\dleft{#1}%
 \def\dmiddle{#2}%
 \def\dright{#3}%
 \def\delim@loaded{}%
}%
\newcommand\mauto{\delim@load\left\middle\right}%
\newcommand\mnorm{\delim@load\relax\relax\relax}%
\newcommand\mbig{\delim@load\bigl\bigm\bigr}%
\newcommand\mBig{\delim@load\Bigl\Bigm\Bigr}%
\newcommand\mbigg{\delim@load\biggl\biggm\biggr}%
\newcommand\mBigg{\delim@load\Biggl\Biggm\Biggr}%
\def\delimdef#1#{\delim@def{#1}}%
\def\delim@def#1#2{\def#1{\delim@begingroup#2\endgroup}}%
\def\delim@begingroup{%
 \ifx\delim@loaded\undefined\mauto\fi%
 \let\delim@loaded\undefined%
}%
\endinput
%%
%% End of file `delim.sty'.