diff options
author | Karl Berry <karl@freefriends.org> | 2011-09-15 23:30:05 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-09-15 23:30:05 +0000 |
commit | 899df8057d5769250db18b1f57dc1757fc2a0fe7 (patch) | |
tree | 5234b7319cfa29894fd06647aea426212630b2b3 /Master/texmf-dist/tex/latex/delim | |
parent | 4dfc511b873cd92049ca07b5603a31bfdabb426a (diff) |
new latex package delim (15sep11)
git-svn-id: svn://tug.org/texlive/trunk@23974 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/delim')
-rw-r--r-- | Master/texmf-dist/tex/latex/delim/delim.sty | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/delim/delim.sty b/Master/texmf-dist/tex/latex/delim/delim.sty new file mode 100644 index 00000000000..b72272c5a55 --- /dev/null +++ b/Master/texmf-dist/tex/latex/delim/delim.sty @@ -0,0 +1,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'. |