Line Spacing in LaTeX: Adjust Equation Spacing in Your Document

  • Context: LaTeX 
  • Thread starter Thread starter Pengwuino
  • Start date Start date
  • Tags Tags
    Latex Line
Click For Summary

Discussion Overview

The discussion revolves around adjusting line spacing for equations in LaTeX documents, particularly in the context of using a thesis package from a different university. Participants explore methods to modify vertical spacing between equations to match the spacing of normal text.

Discussion Character

  • Technical explanation, Homework-related, Debate/contested

Main Points Raised

  • One participant expresses uncertainty about the appropriateness of the forum for their question regarding line spacing in LaTeX.
  • Another participant suggests two methods for adjusting line spacing: using the \linespace command in the preamble with a specified factor, or utilizing the setspace package for various spacing options.
  • A third participant mentions modifying the style package directly to change spacing for the eqnarray environment.
  • Some participants humorously refer to their own intelligence in addressing the issue, indicating a light-hearted tone in parts of the discussion.
  • There are repeated claims of a mistake in a specific equation (2.21), though the context of this claim remains unclear.

Areas of Agreement / Disagreement

The discussion contains multiple viewpoints on how to adjust line spacing, with no consensus on the best method or the implications of the changes made. Additionally, the repeated mention of a mistake in equation (2.21) suggests disagreement or confusion regarding its correctness.

Contextual Notes

Participants do not clarify the specific thesis package being used, nor do they resolve the implications of modifying the style package. The effectiveness of the proposed methods may depend on the specific document class and packages in use.

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 5 ·
Replies
5
Views
5K
  • · Replies 9 ·
Replies
9
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 11 ·
Replies
11
Views
9K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K