On Sat, Aug 04, 2001 at 09:42:54PM +0200, Herbert Voss wrote:
> Michael Koundouros wrote:
> > 
> > "equation array" was input using the equation array utility (Ctrl-enter)
> > "matrix" was input using a 2x3 matrix within a delimiter.
> > 
> > looking at the ps file you will see the equation in the matrix is rather
> > squashed. what I would like is the equation to look like in "equation array"
> > but to have the delimiter and numbering of the "matrix" equation.
> > 
> > Does anyone know how to do this as I was unable to insert a delimiter in
> > "equation array".
> 
> look at your example.
> there are different sizes, used by latex when you have equnarray or
> array.

You cannot use the latex \displaystyle command because it confuses the lyx
parser (this will be fixed in 1.2.0), so you need to use an alias instead. 
See the attached file.
#LyX 1.2 created this file. For more info see http://www.lyx.org/
\lyxformat 218
\textclass article
\begin_preamble
\usepackage{cite}
\usepackage{fancyhdr}
\lhead{}
\renewcommand {\sectionmark}[1]{\markright{#1}}
\rhead{\nouppercase{\rightmark}}

\let\dispstyle=\displaystyle
\end_preamble
\language british
\inputencoding auto
\fontscheme default
\graphics default
\float_placement !hbtp
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage widemarginsa4
\use_geometry 0
\use_amsmath 0
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation skip
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle fancy

\layout Standard


\begin_inset Formula \begin{eqnarray}
\varphi \left( z_{1}\right)  & = & P\frac{-i}{2\left( s_{1}-s_{2}\right) \left( 
1+is_{1}\right) }\left[ 1-\frac{z_{1}}{\sqrt{z^{2}_{1}-R^{2}\left( 1+s^{2}_{1}\right) 
}}\right] \\
\psi \left( z_{2}\right)  & = & P\frac{+i}{2\left( s_{1}-s_{2}\right) \left( 
1+is_{2}\right) }\left[ 1-\frac{z_{2}}{\sqrt{z^{2}_{2}-R^{2}\left( 1+s^{2}_{2}\right) 
}}\right] \label{equation array} 
\end{eqnarray}

\end_inset 


\layout Standard


\begin_inset Formula \begin{equation}
\label{matrix}
\left. \begin{array}{ccc}
\varphi \left( z_{1}\right)  & = & \dispstyle {P\frac{-i}{2\left( s_{1}-s_{2}\right) 
\left( 1+is_{1}\right) }\left[ 1-\frac{z_{1}}{\sqrt{z^{2}_{1}-R^{2}\left( 
1+s^{2}_{1}\right) }}\right] }\\
\psi \left( z_{2}\right)  & = & \dispstyle {P\frac{+i}{2\left( s_{1}-s_{2}\right) 
\left( 1+is_{2}\right) }\left[ 1-\frac{z_{2}}{\sqrt{z^{2}_{2}-R^{2}\left( 
1+s^{2}_{2}\right) }}\right] }
\end{array}\right\} 
\end{equation}

\end_inset 


\the_end

Reply via email to