Re: Explanations with equations?

2007-06-12 Thread Steve Litt
On Monday 11 June 2007 18:59, Steve Litt wrote: > On Monday 11 June 2007 17:42, you wrote: > > On Mon, Jun 11, 2007 at 02:33:31PM -0400, Steve Litt wrote: > > > LyX math is so new to me that I don't know exactly what I want, yet I > > > need to have it pretty much nailed down before I begin the boo

Re: Explanations with equations?

2007-06-11 Thread Steve Litt
On Monday 11 June 2007 17:42, you wrote: > On Mon, Jun 11, 2007 at 02:33:31PM -0400, Steve Litt wrote: > > LyX math is so new to me that I don't know exactly what I want, yet I > > need to have it pretty much nailed down before I begin the book. > > Yet you decided already that typing in LaTeX and

Re: Explanations with equations?

2007-06-11 Thread Andre Poenitz
On Mon, Jun 11, 2007 at 02:33:31PM -0400, Steve Litt wrote: > LyX math is so new to me that I don't know exactly what I want, yet I need to > have it pretty much nailed down before I begin the book. Yet you decided already that typing in LaTeX and hitting C-m is easier. Quite interesting. Andre

Re: Explanations with equations?

2007-06-11 Thread Julio Rojas
Yup, I did exactly that, from the beggining. But the text is right aligned. That's why I changed to tables in my solution. On 6/11/07, Steve Litt <[EMAIL PROTECTED]> wrote: On Monday 11 June 2007 14:33, Steve Litt wrote: > On Monday 11 June 2007 14:19, Julio Rojas wrote: > > Now I know. Sorry E

Re: Explanations with equations?

2007-06-11 Thread Steve Litt
On Monday 11 June 2007 14:33, Steve Litt wrote: > On Monday 11 June 2007 14:19, Julio Rojas wrote: > > Now I know. Sorry Enrico for beeing such a pain. > > > > BTW Steve, doesn't matter that the text is right aligned? > > Hi Julio, > > On my test.lyx, the explanation text is left aligned, not right

Re: Explanations with equations?

2007-06-11 Thread Steve Litt
On Monday 11 June 2007 14:19, Julio Rojas wrote: > Now I know. Sorry Enrico for beeing such a pain. > > BTW Steve, doesn't matter that the text is right aligned? Hi Julio, On my test.lyx, the explanation text is left aligned, not right. Don't worry about being a pain. Now that I've seen how good

Re: Explanations with equations?

2007-06-11 Thread Julio Rojas
Now I know. Sorry Enrico for beeing such a pain. BTW Steve, doesn't matter that the text is right aligned? On 6/11/07, Steve Litt <[EMAIL PROTECTED]> wrote: On Tuesday 05 June 2007 20:13, Enrico Forestieri wrote: > Steve Litt writes: > > = > > \d

Re: Explanations with equations?

2007-06-11 Thread Steve Litt
On Tuesday 05 June 2007 20:13, Enrico Forestieri wrote: > Steve Litt writes: > > = > > \documentclass[12pt]{amsbook} > > \newcommand{\cn}[1]{\texttt{\char92 #1}} > > > > \begin{document} > > \begin{align*} > > x&=5y+3z+221a+43621&&\qquad\text{hellox}\

Re: Explanations with equations?

2007-06-06 Thread Julio Rojas
Nope, you're right Enrico. Steve only wants to achieve the task at hand with as little ERT as possible. On 6/6/07, Enrico Forestieri <[EMAIL PROTECTED]> wrote: Julio Rojas writes: > He knows that Enrico, it's only that, when you're writing a book, it's a > little cumbersome to do it with LaTeX

Re: Explanations with equations?

2007-06-06 Thread Enrico Forestieri
Julio Rojas writes: > He knows that Enrico, it's only that, when you're writing a book, it's a > little cumbersome to do it with LaTeX all the time. I think I was also suggesting how to get that layout in LyX, or am I missing something here? -- Enrico

Re: Explanations with equations?

2007-06-06 Thread Julio Rojas
He knows that Enrico, it's only that, when you're writing a book, it's a little cumbersome to do it with LaTeX all the time. On 6/6/07, Enrico Forestieri <[EMAIL PROTECTED]> wrote: Steve Litt writes: > = > \documentclass[12pt]{amsbook} > \newcomm

Re: Explanations with equations?

2007-06-05 Thread Enrico Forestieri
Steve Litt writes: > = > \documentclass[12pt]{amsbook} > \newcommand{\cn}[1]{\texttt{\char92 #1}} > > \begin{document} > \begin{align*} > x&=5y+3z+221a+43621&&\qquad\text{hellox}\\ > 436x+227y+488z+221& = a&&\qquad\text{Steve was here}\\ > a&=b&&\qq

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
Yep, that did it. Thanks Julio. It's not exactly how I want, but I'm pretty sure I can fix it so it lines up exactly how I want. I like the method I showed earlier, *if I were using pure LaTeX*. But your method is much easier and less complex from within LyX. The one thing I still need to chec

Re: Explanations with equations?

2007-06-05 Thread Julio Rojas
Steve, I believe it is solved. Check the attached files. On 6/5/07, Steve Litt <[EMAIL PROTECTED]> wrote: Thanks Julio, Your example was beautiful, but when I modified the equations a little bit, the equal signs no longer lined up. See the attached modification of your file to see the problem.

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
On Tuesday 05 June 2007 10:17, Todd Denniston wrote: > Out of curiosity I looked in my TLC2 and noticed the title of the section > is "Multiple alignments: align and flalign" > > A quick google > http://www.google.com/search?hl=en&q=align+flalign&btnG=Google+Search > on those keys gets the followi

Re: Explanations with equations: First try failed

2007-06-05 Thread Paul A. Rubin
Steve Litt wrote: Hi all, My first try at explanations with equations failed: Preamble \newlength{\expsize} \setlength{\expsize}{2in} \newcommand{\mathexp}[1]{\qquad\qquad \makebox[\expsize][c]{#1}} \newcommand{\boldd}[1]{\textbf{#1}} EndPreamble CharStyle mathexp LatexType Command LatexName

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
Thanks Julio, Your example was beautiful, but when I modified the equations a little bit, the equal signs no longer lined up. See the attached modification of your file to see the problem. Too bad -- it would have been much easier than anything else I can think of. Now I'm considering creating

Re: Explanations with equations?

2007-06-05 Thread Julio Rojas
Sorry Steve, my mistake. Attached is the 1.4.x version. Hope it works. On 6/5/07, Steve Litt <[EMAIL PROTECTED]> wrote: On Tuesday 05 June 2007 10:16, Steve Litt wrote: > On Tuesday 05 June 2007 09:58, Julio Rojas wrote: > > I don't really follow what you mean by "aligned equal signs". So, > >

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
On Tuesday 05 June 2007 10:16, Steve Litt wrote: > On Tuesday 05 June 2007 09:58, Julio Rojas wrote: > > I don't really follow what you mean by "aligned equal signs". So, > > attached is a new LyX document and the resulting PDF. Check the four > > cases, because I believe there lies the solution. >

Re[2]: Explanations with equations?

2007-06-05 Thread Alan G Isaac
> On Tuesday 05 June 2007 09:45, Alan G Isaac wrote: >> See section 8.2.7 of The LaTeX Companion 2nd edition, >> an indispensible aid to mathbook writing projects >> (and otherwise excellent). On Tue, 5 Jun 2007, Steve Litt apparently wrote: > I don't have that book -- I have Guide to LaTeX b

Re: Explanations with equations?

2007-06-05 Thread Todd Denniston
Steve Litt wrote: On Tuesday 05 June 2007 09:45, Alan G Isaac wrote: See section 8.2.7 of The LaTeX Companion 2nd edition, an indispensible aid to mathbook writing projects (and otherwise excellent). Cheers, Alan Isaac Thanks Alan, I don't have that book -- I have Guide to LaTeX by Kopka and

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
On Tuesday 05 June 2007 09:58, Julio Rojas wrote: > I don't really follow what you mean by "aligned equal signs". So, attached > is a new LyX document and the resulting PDF. Check the four cases, because > I believe there lies the solution. Thanks Julio, What version of LyX is this in? I got an e

Explanations with equations: First try failed

2007-06-05 Thread Steve Litt
Hi all, My first try at explanations with equations failed: Preamble \newlength{\expsize} \setlength{\expsize}{2in} \newcommand{\mathexp}[1]{\qquad\qquad \makebox[\expsize][c]{#1}} \newcommand{\boldd}[1]{\textbf{#1}} EndPreamble CharStyle mathexp LatexType Command LatexName mathexp Font

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
On Tuesday 05 June 2007 09:45, Alan G Isaac wrote: > See section 8.2.7 of The LaTeX Companion 2nd edition, > an indispensible aid to mathbook writing projects > (and otherwise excellent). > > Cheers, > Alan Isaac Thanks Alan, I don't have that book -- I have Guide to LaTeX by Kopka and Daly. Coul

Re: Explanations with equations?

2007-06-05 Thread Julio Rojas
I don't really follow what you mean by "aligned equal signs". So, attached is a new LyX document and the resulting PDF. Check the four cases, because I believe there lies the solution. On 6/5/07, Steve Litt <[EMAIL PROTECTED]> wrote: Thanks Julio, I compiled and examined your LyX file, and for

Re[2]: Explanations with equations?

2007-06-05 Thread Alan G Isaac
See section 8.2.7 of The LaTeX Companion 2nd edition, an indispensible aid to mathbook writing projects (and otherwise excellent). Cheers, Alan Isaac

Re: Explanations with equations?

2007-06-05 Thread Steve Litt
Thanks Julio, I compiled and examined your LyX file, and for me, the equal signs didn't line up. The explanations lined up beautifully, but not the equal signs or for that matter the things to the left and right of the equal signs. For the purposes of my book, I think it's pretty important that

Re: Explanations with equations?

2007-06-05 Thread Julio Rojas
I still believe the table is the easier way. I'm attaching an example. Please, check it. On 6/5/07, Steve Litt <[EMAIL PROTECTED]> wrote: On Monday 04 June 2007 21:48, Steve Litt wrote: > On Monday 04 June 2007 04:47, you wrote: > > To put text in equations, I use \mbox > > Jean > > Thanks Je

Re: Explanations with equations?

2007-06-04 Thread Steve Litt
On Monday 04 June 2007 21:48, Steve Litt wrote: > On Monday 04 June 2007 04:47, you wrote: > > To put text in equations, I use \mbox > > Jean > > Thanks Jean, > > I tested that and it works, but stuff doesn't line up the way I'd like. > What I'd really like is an \eqnarray* with 4 columns instead

Re: Explanations with equations?

2007-06-04 Thread Steve Litt
On Monday 04 June 2007 04:47, you wrote: > To put text in equations, I use \mbox > Jean Thanks Jean, I tested that and it works, but stuff doesn't line up the way I'd like. What I'd really like is an \eqnarray* with 4 columns instead of 3, so I could do something like this: \begin{eqnarray*}

Re: Explanations with equations?

2007-06-04 Thread Steve Litt
Thanks Jean, If have a nice automated set of environments/charstyles to do this from within LyX, so that you simply type the equation and explanation with their proper environment or charstyle, I'd like to see them. Otherwise hopefully I can make my own (and show them to the list if/when they w

Re: Explanations with equations?

2007-06-04 Thread Jean Kaplan
To put text in equations, I use \mbox Jean Le 2 juin 07 à 17:15, Steve Litt a écrit : Hi all, I'd like to have an explanation to the left of each equation, something like this: 2x +4 = 3x -14 Given 2x +4 - 4 = 3x - 14 -4 Subtract 4 from each side 2x = 3x - 18Simplify

Re: Explanations with equations?

2007-06-02 Thread Paul A. Rubin
Steve Litt wrote: Hi all, I'd like to have an explanation to the left of each equation, something like this: 2x +4 = 3x -14 Given 2x +4 - 4 = 3x - 14 -4 Subtract 4 from each side 2x = 3x - 18Simplify 2x - 3x = 3x - 18 - 3x Subtract 3x from each side -1x = -18

Re: Explanations with equations?

2007-06-02 Thread Richard Heck
Steve Litt wrote: Hi all, I'd like to have an explanation to the left of each equation, something like this: 2x +4 = 3x -14 Given 2x +4 - 4 = 3x - 14 -4 Subtract 4 from each side 2x = 3x - 18Simplify 2x - 3x = 3x - 18 - 3x Subtract 3x from each side -1x = -18

Re: Explanations with equations?

2007-06-02 Thread Julio Rojas
I believe the best way to do this is with a table. On 6/2/07, Steve Litt <[EMAIL PROTECTED]> wrote: Hi all, I'd like to have an explanation to the left of each equation, something like this: 2x +4 = 3x -14 Given 2x +4 - 4 = 3x - 14 -4 Subtract 4 from each side 2x = 3x - 18

Explanations with equations?

2007-06-02 Thread Steve Litt
Hi all, I'd like to have an explanation to the left of each equation, something like this: 2x +4 = 3x -14 Given 2x +4 - 4 = 3x - 14 -4 Subtract 4 from each side 2x = 3x - 18Simplify 2x - 3x = 3x - 18 - 3x Subtract 3x from each side -1x = -18 Simplify x = 1