Re: Vertical space before and after equations

2011-01-06 Thread Barak Shoshany
Thanks to both of you. This works perfectly. Barak

Re: Vertical space before and after equations

2011-01-06 Thread Paul A . Rubin
Enrico Forestieri lyx.org> writes: > Put the following in the latex preamble: > > \AtBeginDocument{ > \addtolength{\abovedisplayskip}{-2ex} > \addtolength{\abovedisplayshortskip}{-2ex} > \addtolength{\belowdisplayskip}{-2ex} > \addtolength{\belowdisplayshortskip}{-2ex} > } Aha, the secret sauce

Re: Vertical space before and after equations

2011-01-06 Thread Enrico Forestieri
Barak Shoshany writes: > The equations are in display mode. All I need is some global command to > make the vertical spacing before and after the equations smaller. Put the following in the latex preamble: \AtBeginDocument{ \addtolength{\abovedisplayskip}{-2ex} \addtolength{\abovedisplayshortski

Re: Vertical space before and after equations

2011-01-05 Thread Barak Shoshany
Paul Rubin msu.edu> writes: > > How are you entering the formulas (inline, display mode, equation arrays, > ...)? > Perhaps you could post a one page document showing a sample. > > /Paul > > Thanks, Paul. The equations are in display mode. All I need is some global command to make the v

Re: Vertical space before and after equations

2011-01-05 Thread Barak Shoshany
Thanks, Gwen. I'm familiar with that code, but I'm looking for a global option. I have a lot of formulas and I can't insert the code manually for each one separately. Barak

Re: Vertical space before and after equations

2011-01-04 Thread Paul Rubin
How are you entering the formulas (inline, display mode, equation arrays, ...)? Perhaps you could post a one page document showing a sample. /Paul

Re: Vertical space before and after equations

2011-01-04 Thread Gwen Barnes
In regular latex you might be able to use \vspace{0.5cm}, or \vspace{-0.5cm} (for example), before or after each equation. You might be able to put that in ERT ("Insert -> TeX code") in LyX. HTH. -Gwen On Tue, Jan 4, 2011 at 12:48 PM, Barak Shoshany wrote: > Hello, > I'm preparing a formula

Vertical space before and after equations

2011-01-04 Thread Barak Shoshany
Hello, I'm preparing a formula sheet, and would like to get as many formulas as I can inside a limited number of pages. I've already used most of the tricks in the book: 3 columns, narrow margins, small paragraph & line spacing, etc. However, one important thing I want to change is the spacing bef