Line Spacing in Latex

  1. Pengwuino

    Pengwuino 7,119
    Gold Member

    I'm not totally sure this is the right place to put this but here goes. I am using a thesis package from a different university for my thesis and I am having an issue with the line spacing.

    [​IMG]

    The vertical spacing between equations is a bit much. How exactly can I change this spacing for the equations for the whole document? The gap, I assume, should be about the same gap as the spacing between lines of normal text.
     
  2. jcsd
  3. micromass

    micromass 18,448
    Staff Emeritus
    Science Advisor

    There are two ways of doing this. The easiest is by putting in your preamble

    \linespace{factor}

    where factor is a number. 1.0 is normal. 1.3 is one-and-a-half spacing and 1.6 is double spacing. And so on. So condider putting in \linespace{0.7} or similar.

    You could also put in the package

    \usepackage{setspace}

    Then you can use commands like
    \singlespacing
    \onehalfspacing
    \doublespacing
    \setstretch{1.1}

    If you have acces to the .sty package of your package, then change one of these factors.
     
  4. Pengwuino

    Pengwuino 7,119
    Gold Member

    I found the area in the style package where they changed the spacing for eqnarray and I deleted it like a boss. I'm so smrt.
     
  5. micromass

    micromass 18,448
    Staff Emeritus
    Science Advisor

    There's a mistake in equation (2.21) :biggrin:
     
  6. Pengwuino

    Pengwuino 7,119
    Gold Member

    Go away.
     
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook