On Fri, Dec 20, 2002 at 10:36:26PM +0100, Martijn Brouwer wrote:
> A few months ago Dekel gave sombody on the list the following advice on subequations:
> If you want your formulae to be numbered like this:
>  8.46, 8.47a, 8.47b, 8.48,...
> then write \begin{subequations} before the 2nd formula,
> and \end{subequations} after the 3rd formula.
> 
> Now I want to use this in a equation array environment. LyX now produces the 
>following latex:
> \begin{subequations}
> \begin{equationarray}
> ...
> \end{subequations}
> \end{equationarray}
> 
> which ofcourse results in a number of latex errors.
> How to do this correct within LyX? Or is there another way to achieve subequation 
>numbering in a equationarray?

You need to put \begin{subequations} and \end{subequations} outside the 
equation array. See attached example.
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\language american
\inputencoding default
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4wide
\use_geometry 0
\use_amsmath 1
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default

\layout Standard


\latex latex 

\backslash 
begin{subequations}
\layout Standard


\begin_inset Formula \begin{eqnarray}
a & = & b\label{eq:b} \\
 & = & c\label{eq:c} 
\end{eqnarray}

\end_inset 


\latex latex 

\backslash 
end{subequations}
\the_end

Reply via email to