TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a weird problem with my latex system. I compiled my latex code with the following document definition

\documentclass[a4paper, 10pt]{article}

But the result is too much white space between two consecutive lines. What else should I do to get no spacing?

share|improve this question

migrated from stackoverflow.com Nov 21 '11 at 18:03

This question came from our site for professional and enthusiast programmers.

Could it be, that you are using a template that already uses setspace with either option onehalfspacing or twohalfspacing or the command \onehalfspacing or \twohalfspacing at the preamble? – Schweinebacke Nov 21 '11 at 18:17
If this has not solved your problem, you should compose a MWE that illustrates the problem including the \documentclass and the appropriate packages. Personally, I have often solved my own problems in the process of reducing the amount of code actually required to reproduce the problem. – Peter Grill Nov 21 '11 at 21:01

As pointed out by Werner that should not be the case. So, without a small example MWE that illustrates the specific issue, it is hard to know what the exact problem is. One possibility is that you are concerned about the spacing between consecutive display math environments as in:


If so, then you should restructure to not use consecutive display math environments. See Uneven vertical spacing displaymath for a discussion on why.

share|improve this answer

This should not be the case by default with the provided line, but perhaps some other package or command included in your preamble (or document) that modifies the \baselineskip length. For example, the following MWE:

\usepackage{lipsum}% http://ctan.org/pkg/lipsum

produces as-expected line spacing given by a 12pt (or \baselineskip) as a result of specifying a 10pt option in the document class.

Regardless, if you do want to change line spacing, it is preferred to use the setspace package. It provides commands like \singlespacing, \onehalfspacing, \doublespacing (all of which are toggles/switches, with singlespace[*], onehalfspace and doublespace environment counterparts) and \setstretch{<num>}. The file setspace.sty includes the documentation.

share|improve this answer

You may use LaTeX kernel command \linespread{factor} to increase or decrease line spacing. If you don't use it at the document preamble, you have to activate the change with an additional \selectfont:

% Default baseline skip of about 1.2 of font size

% baselineskip about font size

\linespread would change the line space of everything including footnotes etc. but relative to the default space.

Nevertheless I would not use less than the default \linespread{1}!

share|improve this answer
Also see, as reference: Why doesn’t \linespread work? – Werner Nov 21 '11 at 18:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.