blob: 6e2f67a639bd0a1c14700fe6254ed8a71f407f56 (
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
|
%%
%% This is file `subeqn.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% subeqn.dtx (with options: `sample')
%%
%% 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)
%%
\ProvidesFile{subeqn.tex}
[2004/04/15 v2.0b subnumbering of equations]
\documentclass{article}
\usepackage{subeqn}
\begin{document}
This is an example ot the use of the \texttt{subeqations} package.
\begin{equation}
\label{a}
a^2 + b^2 = c^2
\end{equation}
Now we start sub-numbering.
\begin{subequations}
\label{b}
\begin{equation}
\label{b1}
d^2 + e^2 = f^2
\end{equation}
We can refer to equation~\ref{a}, \ref{b} and~\ref{b1}.
\begin{equation}
\label{b2}
g^2 + h^2 = i^2
\end{equation}
This was equation~\ref{b2}.
\begin{eqnarray}
\label{c}
x &=& y+z\label{c1}\\
u &=& v+w\label{c2}
\end{eqnarray}
This was expression~\ref{c}, consisting of parts~\ref{c1}
and~\ref{c2}.
\end{subequations}
Now lets start a \textsf{subeqnarray} environment.
\begin{subeqnarray}
\label{d}
x &=& y+z\label{d1}\\
u &=& v+w\label{d2}
\end{subeqnarray}
This was equation~\ref{d}, with parts~\ref{d1} and~\ref{d2}.
\end{document}
\endinput
%%
%% End of file `subeqn.tex'.
|