%% %% This is file `subeqnarray-sample.tex', %% generated with the docstrip utility. %% %% The original source files were: %% %% subeqnarray.dtx (with options: `sample') %% %% Copyright (C) 1999-2026 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.3c %% 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.3c or later is part of all distributions of LaTeX %% version 2008 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. %% %% Error reports please to: J. Braams %% TeXniek %% Email: texniek at texniek.nl \ProvidesFile{subeqnarray-sample.tex} [2026/01/02 v2.1f subeqnarray package] \documentclass[fleqn]{article} \usepackage{subeqnarray} \begin{document} \title{Sample subeqnarray} \author{Johannes L. Braams} \date{\today} \maketitle 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-sample.tex'.