summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/subeqn/subeqn.sty64
1 files changed, 64 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/subeqn/subeqn.sty b/Master/texmf-dist/tex/latex/subeqn/subeqn.sty
new file mode 100644
index 00000000000..7d0dcba5dcd
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/subeqn/subeqn.sty
@@ -0,0 +1,64 @@
+%%
+%% This is file `subeqn.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% subeqn.dtx (with options: `package')
+%%
+%% Copyright (C) 1999-2004 Johannes Braams. All rights reserved.
+%%
+%% This file was generated from file(s) of the subeqn package.
+%% -----------------------------------------------------------
+%%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This work has the LPPL maintenance status "maintained".
+%%
+%% The Current Maintainer of this work is Johannes Braams.
+%%
+%% This file may only be distributed together with a copy of the
+%% subeqn package. You may however distribute the subeqn package
+%% without such generated files.
+%%
+%% The list of all files belonging to the subeqn package is
+%% given in the file `manifest.txt.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
+%% File: `subeqn.dtx'
+%% Copyright (C) 1999-2004
+%% Donald Arsenau (asnd at reg.triumf.ca),
+%% Johannes Braams (TeXniek at braams.cistron.nl)
+%%
+\NeedsTeXFormat{LaTeX2e}[1998/06/01]
+\ProvidesPackage{subeqn}
+ [2004/04/15 v2.0b subnumbering of equations]
+\newenvironment{subequations}{%
+ \refstepcounter{equation}%
+ \mathchardef\c@mainequation\c@equation
+ \protected@edef\themainequation{\theequation}%
+ \let\theequation\thesubequation
+ \global\c@equation\z@
+ }{%
+ \global\c@equation\c@mainequation
+ \global\@ignoretrue
+ }
+\newcommand{\thesubequation}{\themainequation\alph{equation}}
+\newenvironment{subeqnarray}{%
+ \subequations
+ \@ifnextchar\label{\@lab@subeqnarray}{\eqnarray}
+ }{%
+ \endeqnarray\endsubequations
+ }
+\newcommand*{\@lab@subeqnarray}[2]{#1{#2}\eqnarray}
+\endinput
+%%
+%% End of file `subeqn.sty'.