%% %% This is file `subeqnarray.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% subeqnarray.dtx (with options: `sample') %% %% Copyright (C) 1999-2004 Johannes Braams. All rights reserved. %% %% This file was generated from file(s) of the subeqnarray 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 %% subeqnarray package. You may however distribute the subeqnarray %% package without such generated files. %% %% The list of all files belonging to the subeqnarray 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. %% Copyright (C) 1988--2004 by Johannes Braams, %% all rights resserved %% %% Error reports please to: J. Braams %% TeXniek %% Kooienswater 62 %% 2715 AJ Zoetermeer %% The Netherlands %% Email: texniek at braams.cistron.nl \ProvidesFile{subeqnarray.tex} [2004/04/15 v2.1c subeqnarray package] \documentclass[fleqn]{article} \usepackage{subeqnarray} \begin{document} This document shows an example of the use of the \emph{subeqnarray} environment. Here is one: \begin{subeqnarray} \label{eqw} \slabel{eq0} x & = & a \times b \\ \slabel{eq1} & = & z + t\\ \slabel{eq2} & = & z + t \end{subeqnarray} The first equation is number~\ref{eq0}, the last is~\ref{eq2}. The equation as a whole can be referred to as equation~\ref{eqw}. To show that equation numbers behave normally, here's an \emph{eqnarray} environment. \begin{eqnarray} \label{eq10} x & = & a \times b \\ \label{eq11} & = & z + t\\ \label{eq12} & = & z + t \end{eqnarray} These are equations~\ref{eq10},~\ref{eq11} and~\ref{eq12}. \end{document} \endinput %% %% End of file `subeqnarray.tex'.