Re: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
 
>   When I enter part of the equation and press ctrl-enter the cursor moves to
> the right of the = that begins the RHS of the equation.
> 
>   I suspect that I need to envoke multiline before entering any of the
> equation, is this correct?

How about LHS, Ctrl-Enter, =, RHS?

Or LHS, = , Ctrl-Enter, RHS?

Just play with it to find out. (Or cut and past the stuff in the correct
boxes.)

GM

-- 
G.Milde web.de


Re: Equation Too Long for Text Width -- SOLVED

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Rich Shepard wrote:
 This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets.
  Thanks to Herbert's patience I now understand how the \Big and its
relatives work: the text _is_ shown in the LyX math mode box in ERT-red (not
to be confused with British racing green), but ... it displays properly in
the dvi output! It was this latter part that I missed.
  Another valuable lesson learned.
Thanks all!
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
   Menu->insert multiline environment
   type the first line
   hit cntl-enter (little blue box appears on the next line)
   type second line
   Menu->View DVI
Angus,
  This works for me, too. The difference from before? I didn't use the math
panel to insert large braces and brackets. Why that makes a difference I've
no idea. But, each prior time I tried to use a large brace and a large
bracket from the panel and I'd either get an undesired closing bracket or
the ctrl-enter didn't work.
  I can reporduce this behavior at will. That's what I was doing the past
few hours. :-)
  Well, I'm now going to try Herbert's \Bigg\{ and see if I can get that to
place a large brace rather than Bigg{}.
  Thanks, all! On to the next problem.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

> On Mon, 31 Jan 2005, Angus Leeming wrote:
> 
>> You've got Goosens et al.'s "The Latex Companion", no? See pp235-239
>> "Alignment structures for equations". Is multiline what you want?
>> Assuming that it is, I just input the equation at the top of p.247. came
>> out a dream. Attached.
> 
> On my copy of TLC2, pp 235-238 on in Chapter 4, "The Layout of the
> Page"
> and 239 begins Chapter 5, "Tabular Material".
> 
> Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on
> multiple
> lines: no alignment) has the LaTeX code on page 471. 

Ok. My bad.

I guess I'll enter
> the entire equation in an ERT since I apparently don't know how to
> properly manipulate the LyX math mode.

 
I just did the obvious:
Menu->New document
Menu->insert multiline environment
type the first line
hit cntl-enter (little blue box appears on the next line)
type second line
Menu->View DVI
 

-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
You've got Goosens et al.'s "The Latex Companion", no? See pp235-239
"Alignment structures for equations". Is multiline what you want? Assuming
that it is, I just input the equation at the top of p.247. came out a
dream. Attached.
   On my copy of TLC2, pp 235-238 on in Chapter 4, "The Layout of the Page"
and 239 begins Chapter 5, "Tabular Material".
   Higher Mathematics is Chapter 8 and 8.2.3 (a single equation on multiple
lines: no alignment) has the LaTeX code on page 471. I guess I'll enter the
entire equation in an ERT since I apparently don't know how to properly
manipulate the LyX math mode.
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863


[OT] Re: Equation Too Long for Text Width

2005-01-31 Thread Kevin Pfeiffer
Angus Leeming writes:
> You've got Goosens et al.'s "The Latex Companion", no? See pp235-239

On rubber plants and their substitutes? ;-) (Don't blame me, I didn't NaMe 
it.)

-K

-- 
Kevin Pfeiffer <[EMAIL PROTECTED]>
Tiros-Translations


Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

> On Mon, 31 Jan 2005, Angus Leeming wrote:
> 
>> Go into the rightmost of the three boxes and press ctrl-enter again.
> 
> Angus,
> 
>I really dislike appearing so dense, but I just cannot get this
>working as
> it should. I've started over at least a half-dozen times without success.
> Let me try explaining exactly what I've done so you can point out where I
> erred:
> 
>Use menu: Insert->Math->AMS Multiline Environment

You've got Goosens et al.'s "The Latex Companion", no? See pp235-239 
"Alignment structures for equations". Is multiline what you want? Assuming 
that it is, I just input the equation at the top of p.247. came out a 
dream. Attached.



-- 
Angus#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\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


\begin_inset Formula \begin{multline*}
\int_{a}^{b}\left\{ 
\int_{a}^{b}\left[f\left(x\right)^{2}g\left(y\right)^{2}+f\left(y\right)^{2}g\left(x\right)^{2}\right]-2f\left(x\right)g\left(x\right)f\left(y\right)g\left(y\right)dx\right\}
 dy\\
=\int_{a}^{b}\left\{ 
g\left(y\right)^{2}\int_{a}^{b}f^{2}+f\left(y\right)^{2}\int_{a}^{b}g^{2}-2f\left(y\right)g\left(y\right)\int_{a}^{b}fg\right\}
 \, dy\end{multline*}

\end_inset 


\the_end


Re: Equation Too Long for Text Width

2005-01-31 Thread Herbert Voss
Rich Shepard wrote:
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
I'll forward an example to you as private mail, which I sent
yesterday to a friend.
HErbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, Angus Leeming wrote:
Go into the rightmost of the three boxes and press ctrl-enter again.
Angus,
  I really dislike appearing so dense, but I just cannot get this working as
it should. I've started over at least a half-dozen times without success.
Let me try explaining exactly what I've done so you can point out where I
erred:
  Use menu: Insert->Math->AMS Multiline Environment (and, yes, I have the
AMS package in the preamble). This gives me a single math box.
  Enter \mu_sum = then select a { from math panel/delimiters (keep matched
check box is unchecked) and press "Insert". As soon as I enter something I
get a large ] on the right side. Why? I did not select a square bracket and
I requested no match for the opening curly brace.
  Then I try entering a bit more of the equation and I press ctrl-enter.
This moves what I've entered down and leaves the cursor after the =, in
front of what I just entered.
  Attached is a pdf of the one page with the equation that's overfull and
needs to be split.
Many thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

equation.pdf
Description: Adobe PDF document


Re: Equation Too Long for Text Width

2005-01-31 Thread Angus Leeming
Rich Shepard wrote:

> On Mon, 31 Jan 2005, G. Milde wrote:
> 
>> Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
> 
> Günter,
> 
>I'm using LyX-1.3.4-qt on Slackware-10.0.
> 
>> Well, you probabely have to create a new multiline equation inset and
>> copy the stuff there.
> 
>When I enter part of the equation and press ctrl-enter the cursor
>moves to
> the right of the = that begins the RHS of the equation.

Go into the rightmost of the three boxes and press ctrl-enter again.


-- 
Angus



Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).
Günter,
  I'm using LyX-1.3.4-qt on Slackware-10.0.
Well, you probabely have to create a new multiline equation inset and
copy the stuff there.
  When I enter part of the equation and press ctrl-enter the cursor moves to
the right of the = that begins the RHS of the equation.
  I suspect that I need to envoke multiline before entering any of the
equation, is this correct?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Equation Too Long for Text Width

2005-01-31 Thread G. Milde
On 31.01.05, Rich Shepard wrote:
> On Mon, 31 Jan 2005, G. Milde wrote:
> 
> >Ctrl-Enter.
> 
> Günter,
> 
>   I tried this and nothing happened.

Strange. It works here (LyX-Qt 1.2.4 on Debian Gnu/Linux).

Well, you probabely have to create a new multiline equation inset and
copy the stuff there.

Günter 



-- 
G.Milde web.de


Re: Equation Too Long for Text Width

2005-01-31 Thread Rich Shepard
On Mon, 31 Jan 2005, G. Milde wrote:
Ctrl-Enter.
Günter,
  I tried this and nothing happened.
Probabely you will have to move stuff around in the 2x3 boxes you get to
adjust the alignment...
  I also tried using the // shown in TLC2, but that produced a regular slash
followed by one in red at a different angle. I'll work on this again.
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863

Re: Equation Too Long for Text Width

2005-01-30 Thread G. Milde
On 30.01.05, Rich Shepard wrote:
...
>   What's the trick to converting display mode to multiline mode in LyX?

Ctrl-Enter.

Probabely you will have to move stuff around in the 2x3 boxes you get to
adjust the alignment...

Günter

-- 
G.Milde web.de


Equation Too Long for Text Width

2005-01-30 Thread Rich Shepard
  I have an equation that's rather long and the lengthy exponent on the end
sticks into the right margin. According to TCL2, Section 8.2.3 (page 471), I
can use the multiline environment to put a single equation on several lines:
no alignment. Right now the environment is display mode.
  I put the cursor within the mathmode box and selected Edit->Math->Change
formula type->Multiline environment. But, when I saved the document, then
pressed ctrl-d to view the typeset page, I got two errors.
  What's the trick to converting display mode to multiline mode in LyX?
Thanks,
Rich
--
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
   Voice: 503-667-4517   Fax: 503-667-8863