Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Line Spacing in Latex

  1. Sep 27, 2011 #1

    Pengwuino

    User Avatar
    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. Sep 27, 2011 #2

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    Insights Author

    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. Sep 27, 2011 #3

    Pengwuino

    User Avatar
    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. Sep 27, 2011 #4

    micromass

    User Avatar
    Staff Emeritus
    Science Advisor
    Education Advisor
    Insights Author

    There's a mistake in equation (2.21) :biggrin:
     
  6. Sep 27, 2011 #5

    Pengwuino

    User Avatar
    Gold Member

    Go away.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Line Spacing in Latex
  1. Line breaks in Latex (Replies: 1)

  2. Double Line in LaTeX (Replies: 7)

Loading...