On Wed, Nov 28, 2001 at 06:44:16AM +0100, Andre Poenitz wrote:
> > I need to type long latex expressions that use more than one line.
> > It is possible to make nice indented layouts for these expressions
> > using Protected Blanks and Protected Returns.
> > But this gets to be quite tiring after a while.
> Maybe you could produce some Ascii art or post a link to some picture
> to show what you want to achieve. I have never used many ortected blanks to
> shuffle math around.
Don't you like (if only for 'readability') an indented layout?
For example if lyx had it's way I would produce:
\begin{equation} \sum \begin{Sb} 0\le i\le le m \\ 0<j<n \end{Sb} Q(i,j)
\end{equation}
For readability I might prefer:
\begin{equation}
\sum \begin{Sb}
0\le i\le m \\
0 < j < n
\end{Sb} Q(i,j)
\end{equation}
This is a very small example. If you need very long and complicated expressions
and you want to keep the latex readable in lyx you just have to keep using
C-space and C-return regularly. Not only is it tiring but the little blue
marks and 'arrows' are distracting from the effect you want to create.
I have not looked to see if anything is possible with "nesting". But I
suspect that if it worked it would quickly become complicated.
I have also not looked at the "lyx-code" environment. As described in
the User's Guide it seems to do what I want but it typesets text in
typewriter-style font and seems to have a few quirks.
Actually what is needed is a "latex-code" environment.
> Have you had a look at http://www.lyx.org/help?
Yes, and diligently read the manuals, hints, etc..
> Which version of LyX are you using?
LyX-1.1.6fix3
Alexander