%% %% This is file `subeqn.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% subeqn.dtx (with options: `sample') %% %% This file is part of the subeqnarray package. %% --------------------------------------------- %% %% Copyright (C) 1995 Johannes Braams. All rights reserved. %% %% You are not allowed to change this file. %% %% Run this file through LaTeX to demonstrate the features %% of the subeqnarray package. %% %% File: `subeqn.dtx' %% Copyright (C) 1995 Donald Arsenau , %% Johannes Braams %% \CharacterTable %% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z %% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z %% Digits \0\1\2\3\4\5\6\7\8\9 %% Exclamation \! Double quote \" Hash (number) \# %% Dollar \$ Percent \% Ampersand \& %% Acute accent \' Left paren \( Right paren \) %% Asterisk \* Plus \+ Comma \, %% Minus \- Point \. Solidus \/ %% Colon \: Semicolon \; Less than \< %% Equals \= Greater than \> Question mark \? %% Commercial at \@ Left bracket \[ Backslash \\ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} %% \ProvidesFile{subeqn.tex} [1995/01/01 v2.0a 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'.