LaTeX Line Spacing in LaTeX: Adjust Equation Spacing in Your Document

  • Thread starter Thread starter Pengwuino
  • Start date Start date
  • Tags Tags
    Latex Line
AI Thread Summary
The discussion centers on adjusting line spacing for equations in a thesis document using a package from a different university. The main issue is that the vertical spacing between equations is excessive, and the user seeks to modify this to match the spacing of normal text. Two primary methods are suggested: first, by adding a command in the preamble, such as \linespace{factor}, where the factor can be adjusted for desired spacing; second, by using the setspace package, which allows commands for single, one-and-a-half, or double spacing. Additionally, if access to the .sty file is available, users can directly modify spacing settings for specific environments like eqnarray. The conversation also includes a light-hearted comment about a mistake in an equation, indicating a casual tone among participants.
Pengwuino
Gold Member
Messages
5,112
Reaction score
20
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.

6prtw6.jpg


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.
 
Physics news on Phys.org
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.
 
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.
 
Pengwuino said:
I'm so smrt.

There's a mistake in equation (2.21) :biggrin:
 
micromass said:
There's a mistake in equation (2.21) :biggrin:

Go away.
 

Similar threads

Replies
3
Views
3K
Replies
12
Views
3K
Replies
3
Views
2K
Replies
3
Views
2K
Replies
6
Views
2K
Back
Top