Results 1 to 5 of 5

Math Help - Vertical Spacing

  1. #1
    Rai
    Rai is offline
    Newbie
    Joined
    Jan 2008
    Posts
    9

    Vertical Spacing

    Hello, had a quick search but couldn't find any other threads about this.

    I'm using the align environment to typeset a series of equations. They are fairly large equations with lots of fractions and as such are looking rather squashed together with the standard spacing. I was wondering if there's a way of stretching the vertical spacing within this environment? I did have a play at using \smallskip etc, but it doesn't seem to make any difference - I'm not sure if I'm just putting it in the wrong part of the line though.

    Cheers,
    Rai
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    Can you show a picture or something?
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Rai
    Rai is offline
    Newbie
    Joined
    Jan 2008
    Posts
    9
    Hmmmm, for some reason it's telling me there's a Syntax error when I try to post it using [ math] [ /math] to show you. The code copied straight from my document is

    \begin{align*}
    g'_{real}&=C_g-2.5\log(ADU_g)_{instr}-b_g[-2.5\log(ADU_g)_{instr}+2.5\log(ADU_r)_{instr}]\\
    &=2.5\log(10^{C_g/2.5})-2.5\log(ADU_g)_{instr}-b_g[2.5\log(ADU_r)_{instr}-2.5\log(ADU_g)_{instr}]\\
    &=2.5\log\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)-b_g\left[2.5\log\left(\frac{ADU_r}{ADU_g}\right)_{instr}\ri ght]\\
    &=2.5\log\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)-\left[2.5\log\left(\frac{ADU_r}{ADU_g}\right)_{instr}^{b _g}\right]\\
    &=2.5\log\left[\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)\left/\left(\frac{ADU_r}{ADU_g}\right)_{instr}^{b_g}\rig ht.\right]
    \end{align*}

    if you want to compile it to see for yourself.

    Cheers
    Follow Math Help Forum on Facebook and Google+

  4. #4
    Math Engineering Student
    Krizalid's Avatar
    Joined
    Mar 2007
    From
    Santiago, Chile
    Posts
    3,654
    Thanks
    12
    It looks pretty cool to me.

    But if you want to stretch vertical spacing just add another \\ when you finish a line.

    For example

    \begin{align*}
    g'_{real}&=C_g-2.5\log(ADU_g)_{instr}-b_g[-2.5\log(ADU_g)_{instr}+2.5\log(ADU_r)_{instr}]\\\\
    &=2.5\log(10^{C_g/2.5})-2.5\log(ADU_g)_{instr}-b_g[2.5\log(ADU_r)_{instr}-2.5\log(ADU_g)_{instr}]\\\\
    &=2.5\log\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)-b_g\left[2.5\log\left(\frac{ADU_r}{ADU_g}\right)_{instr}\ri ght]\\\\
    &=2.5\log\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)-\left[2.5\log\left(\frac{ADU_r}{ADU_g}\right)_{instr}^{b _g}\right]\\\\
    &=2.5\log\left[\left(\frac{10^{C_g/2.5}}{(ADU_g)_{instr}}\right)\left/\left(\frac{ADU_r}{ADU_g}\right)_{instr}^{b_g}\rig ht.\right]
    \end{align*}

    You can also use the eqnarray environment.
    Follow Math Help Forum on Facebook and Google+

  5. #5
    Rai
    Rai is offline
    Newbie
    Joined
    Jan 2008
    Posts
    9
    Thanks, that looks much clearer now.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Boxing and spacing problems
    Posted in the LaTeX Help Forum
    Replies: 8
    Last Post: October 3rd 2010, 10:42 PM
  2. Birthday Spacing test
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: August 1st 2010, 10:02 PM
  3. Spacing in laTex
    Posted in the LaTeX Help Forum
    Replies: 4
    Last Post: April 6th 2010, 06:11 PM
  4. How to make sentence with spacing
    Posted in the LaTeX Help Forum
    Replies: 4
    Last Post: January 31st 2010, 02:46 AM
  5. Images and spacing
    Posted in the LaTeX Help Forum
    Replies: 1
    Last Post: September 23rd 2008, 10:25 AM

Search Tags


/mathhelpforum @mathhelpforum