Christian Ridderström wrote:

I should use 'AMS multiline'?

sure


And in the last example you get different sizes
of the equations, also no error, but looks ugly.


Well, I just tried to use the multiline example on p.47 in your PDF-file, but I still get ugly parenthesis... would you mind creating a .lyx-file that get's the parenthesis right?

attached Herbert
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 12
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 1
\papercolumns 1
\papersides 2
\paperpagestyle default

\layout Standard

An example for the multine environment.
 There is still a bug in LyX, which I reported long long time ago ...
 :-(.
 LyX shows (#) for every row, but the multline enviromnet has only a number
 in the last line.
 
\layout Standard


\begin_inset Formula \begin{multline}
A=\lim_{n\rightarrow\infty}\Delta x\left(a^{2}+\left(a^{2}+2a\Delta x+\left(\Delta 
x\right)^{2}\right)\right.\label{eq:reset}\\
+\left(a^{2}+2\cdot2a\Delta x+2^{2}\left(\Delta x\right)^{2}\right)\\
+\left(a^{2}+2\cdot3a\Delta x+3^{2}\left(\Delta x\right)^{2}\right)\\
+\ldots\\
\left.+\left(a^{2}+2\cdot(n-1)a\Delta x+(n-1)^{2}\left(\Delta 
x\right)^{2}\right)\right)\\
=\frac{1}{3}\left(b^{3}-a^{3}\right)\end{multline}
 

\end_inset 


\layout Standard

The second example shows a multline environment with pairs of parentheses
 which are going over several lines:
\layout Standard


\begin_inset Formula \begin{multline}
\frac{1}{2}\Delta(f_{ij}f^{ij})=2\left(\sum_{i<j}\chi_{ij}(\sigma_{i}-\sigma_{j})^{2}+f^{ij}\nabla_{j}\nabla_{i}(\Delta
 f)+\right.\\
\left.+\nabla_{k}f_{ij}\nabla^{k}f^{ij}+f^{ij}f^{k}\left[2\nabla_{i}R_{jk}-\nabla_{k}R_{ij}\right]\vphantom{\sum_{i<j}}\right)\end{multline}

\end_inset 


\the_end

Reply via email to