{line-spacing} is about adjusting the space between the lines of a document. A popular package is {setspace}.
39
votes
3answers
5k views
What does 'double spacing' mean?
I think I know the meanings of \baselineskip, \lineskip and \lineskiplimit in TeX, I also know \baselineskip, \baselinestretch, \linespread and the second argument of \fontsize in LaTeX. However, I ...
33
votes
4answers
2k views
Grid System in LaTeX
I'd like to typeset documents using the 'Grid system' of page layout. Good examples are on pages 40-53 of this document. The textpos package is helpful for this, but two additional features would be ...
32
votes
4answers
2k views
What exactly is leading?
Wikipedia:
In typography, leading ( /ˈlɛdɪŋ/)
refers to the distance between the
baselines of successive lines of type.
By this definition, isn't it the same thing as line height?
But in ...
24
votes
2answers
1k views
How to keep a constant baselineskip when using minipages (or \parboxes)?
When a minipage is used to box a text paragraph, the first line of the minipaged text and the last line of the previous text paragraph are closer than two consecutive lines in a standard text ...
22
votes
2answers
2k views
Why exactly is \linespread{1.05} appropriate for Palatino?
Section 1.4 of l2tabu, Changing inter-line space using \baselinestretch, contains a remark about the Palatino font:
[I]f you only want to use fonts other than Computer Modern you may use ...
20
votes
2answers
4k views
Why is the linespread factor as it is?
The blog post Quick note on line spacing discusses line spacing and it says
To change the line spacing for the entire document, you can use the
linespread command in your preamble:
...
18
votes
3answers
876 views
Source of “correct” baselinestretch values for various fonts?
I once encountered the advice to use \renewcommand\baselinestretch{1.025} after \usepackage{bera} (though I am not 100% certain that 1.025 was the suggested value). There's little doubt to my ...
18
votes
3answers
10k views
Double line spacing
I would like to typeset a draft of my document with double linespacing so that my collaborators have space to write in their edits (with a pen). How do I do it?
18
votes
1answer
204 views
Poor leading in titles
Here's an example of terrible (and non-constant) leading in titles that is causing me trouble:
\documentclass[a4paper, 12pt]{memoir}
\usepackage{fontspec}
...
16
votes
2answers
7k views
How can I increase the line spacing in a matrix?
I'm trying to create a pmatrix whose components are rather complicated fractions (Christoffel symbols), and the line spacing is too small making the whole thing a bit cramped and hard to read.
Is ...
13
votes
2answers
4k views
How to format an inline source code
I have a document where I quiet often refer to source code element, such as class names, I wanted to format these strings differently, but at the beginning I didn't want to fiddle with various options ...
13
votes
1answer
4k views
Finely control line spacing when already using the setspace package?
I'm using setspace to double-space an article (as it's widely known, this package behaves more intelligently than \linespread, Double line spacing alread covers the details).
\usepackage{setspace}
...
12
votes
3answers
432 views
Changing ALL spacing in a TeX document
I'm taking an exam and I'm allowed a two side page with information on it. Naturally I want to put as much as possible on it so:
What are all the spaces that I can change to fit as much information ...
12
votes
3answers
609 views
How to make formulae take equal vertical space in the align environment?
Consider the following code:
\begin{align}
f_1(x) &= \frac{15x}{3} \\
f_2(x) &= 3x + 5 \\
f_3(x) &= 4x + 13
\end{align}
This produces three lines where the first line takes up more ...
12
votes
2answers
576 views
Creating a custom songbook with the songs package
Friends, I usually create songbooks with the help of songs package (I guess the CTAN version is a little old, the newest one can be downloaded from here). Consider the follow example (taken from the ...
11
votes
3answers
4k views
How to change the line spacing in my list of figures?
I am using the book documentclass and have a list of figures. After much trouble I noticed that there is a blank line to separate figures that are in different chapters, but not if they are within the ...
11
votes
4answers
3k views
11
votes
3answers
388 views
Layout guidelines not exactly a multiple of \baselineskip
Many conferences in my area require that papers be submitted on letter paper (8.5" x 11") with 1" margins and a 12pt leading. So we end up with 9" for text. (I'm sure there's a name for that, but it ...
11
votes
1answer
300 views
Defining variants of \small and \large that use \normalsize's line spacing
As a partial workaround for grid typesetting, I'd like to define variants of \small and \large that behave like their standard counterparts except that they use the line spacing of \normalsize. I know ...
11
votes
2answers
866 views
Rhythm: different values for parskip and baselineskip in scrartcl
I am writing some small demo files, each trying to implement a specific advice from Bringhurst's Elements of Typograhpic Style. He recommends to keep the vertical rhythm of the page, and to return to ...
10
votes
3answers
1k views
Line spacing inside quote environment
I use the setspace package to set double spacing throughout the document. It also sets double spacing inside the quote environment. But, I want one half space inside the quote environment. How can ...
10
votes
3answers
162 views
setspace and quoting environment result in superfluous empty line
I was trying to set up the quoting environment by the package of the same name, which included single line spacing for block quotes as opposed to one and a half line spacing for normal text. The ...
10
votes
2answers
4k views
Temporarily increase line spacing
How do I temporarily increase line spacing? I have some text on my title page:
\begin{center}
{ \Large \textbf{The Great Thesis About Some Very Great Things Indeed With
a Pretty Long Title That Will ...
10
votes
1answer
447 views
Inconsistent line spacing
If I type something like this:
{\itshape\LARGE
Dunt venim dolorerosto do odit
ametum vulla conum dolore
conulput in vero od el
Dunt venim dolorerosto do odit
ametum vulla conum dolore
...
10
votes
2answers
252 views
Where does whitespace between two consecutive lines come from?
I'm trying to get a "contact sheet" where identically sized boxes are laid out next to each other without any whitespace. As my goal is to use this in a generated document, and as the number of items ...
10
votes
1answer
194 views
Vertical alignment in table: m-column, row size - problem in last column
Unfortunatly, I have a problem with m-columns (array package) in tables with adjusted row height. Somehow in the last column (only there) the text is not centered vertically.
Check it out:
...
10
votes
1answer
135 views
Controlling space after heading when doublespaced
I'm writing a document with both doublespaced and singlespaced sections. I'm using the setspace package to do the doublespacing and the koma-script report class for the document. In the double spaced ...
10
votes
1answer
173 views
How to (automatically) determine a visually appealing line spread?
I'm writing a "larger" document with a lot of mathematics. Occasionally, I use a notation like
p \xrightarrow{\mathcal A^X} q
which produces tall lines. LaTeX increases the line spread for those ...
10
votes
2answers
414 views
How to do grid typesetting with amsmath?
Following the advice in the answer to this question, I did set a huge negative \lineskiplimit. However, it turned out that align got quite upset about this. So my question is: what would you ...
10
votes
2answers
229 views
Place TikZ coordinate or \zlabel at every (base)line
I'm currently adjusting the code shown in Test if a paragraph has a page break in it?
to support underlining and highlighting using TikZ similar as shown in Cool Text Highlighting in LaTeX, but ...
9
votes
4answers
201 views
How does one stop automatic line spacing increases when typesetting tall math symbols?
Often when typesetting mathematics, one wants to use math symbols in line. When these are certain symbols, or more often, decorated symbols, whose height is sufficiently large, the line spacing (that ...
9
votes
3answers
233 views
Anchors/coordinates inside a node's text
The plot
Using tikz, I have a main node containing several (three) lines of text, and three "legend" nodes that point to them.
If I use a rectangle node, then I can't access the positions of the ...
9
votes
2answers
172 views
Missing baselineskips?
Here are some cases where when there is stuff inside a vbox, the baselineskips are sometimes there and sometimes not. Or maybe it's something else that is producing the differences?
\setbox0\vbox{% ...
9
votes
2answers
599 views
How to get headings to be an integral number of lines high (using the memoir class)?
I use the memoir class and the \checkandfixthelayout command to calculate the \textheight so that an integral number of lines will fit. This works very well:
But now I want to add a few section ...
9
votes
1answer
87 views
Determine height of the line you are in
Is there a way in PDFLaTeX to determine the height of the line you are in? Maybe something similar to PDFsavepos.
In a normal line (i.e. no heading etc.), you might approximate the height by a fixed ...
9
votes
1answer
188 views
What is the difference between \fontsize{…}{some length} and \linespread{some length}?
I notice that the second argument to \fontsize and the first argument to \linespread both seem to change the spacing between lines of text. What is the difference between these? Is there one I should ...
9
votes
1answer
343 views
Is changing \lineskiplimit to some negative value a good idea, and what the value might be?
I'm writing a (large) document using Linux Libertine for text and Asana for math. I have a 11pt font with \baselineskip=14pt. However, not so seldom it happens that the default settings of ...
9
votes
1answer
949 views
Confusion: \onehalfspacing vs. \spacing vs. Word vs. the world?
I have to write a paper with the requirement to use "1.5 line spacing" 12pt Times New Roman. Naturally I used
\usepackage{setspace}
\begin{document}
\onehalfspacing
Lorem ipsum…
So far so good. But ...
8
votes
2answers
156 views
Change lineskip to fill the available space
Is there a way to change lineskip such that the text fills up a certain space?
MWE
\documentclass{article}
\usepackage{blindtext}
\begin{document}
\begin{minipage}[c][\textheight]{\linewidth}
...
8
votes
2answers
644 views
Strange line spacing effects in longtabu
I got some strange effect with longtabu:
As you can see the line with λ seems to be closer to the above line than to the one below of it. I cant’t figure out why …
This is the code with which I ...
8
votes
1answer
4k views
Vertical spacing in the algorithm environment
I'm using the algorithm/algorithmic packages and want to condense some of the vertical space between an algorithm's line numbers in order to save space. Ideally, I would like to remove 1 to 2mm of ...
8
votes
1answer
102 views
Doublespacing is moving my page number
I'm using the KOMA-Script report scrreprt to typeset my PhD thesis and the graduate school requires that the main text be double spaced and that the page number be in the top right. When I enable ...
7
votes
2answers
579 views
Redefining quote environment with tiny font and double quote signs?
I want to redefine the quote environment in such a way to get the output of the following code.
\begin{quote}{\tiny\textquotedblleft Text \textquotedblright}\end{quote}
I also want to fix the line ...
7
votes
2answers
460 views
How can I set stretch of verbatim to be different than “global” setting?
In my file I need to use 1.5 line stretch. But, as for verbatim I need it to be 1.0. What should I add to preamble to achieve that?
\documentclass{article}
\usepackage[nodisplayskipstretch]{setspace} ...
7
votes
2answers
177 views
typesetting the document which fits into marked fixed lines
I have a to typeset the article such that, the output should be printed on the fixed marks that are 1.36 cms apart.
In other words, printing sheet has marked lines which are 1.36 cms apart. I have ...
7
votes
2answers
574 views
The gap between two double-spaced footnotes is too large. How can I fix
I have to have footnotes double-spaced, but if I use \begin{doublespace} and \end{doublespace} within footnotes, then the gap between two footnotes becomes too wide. Could anybody fix it?
...
7
votes
3answers
125 views
how to fix odd spacing of the last item of a list
When using the enumerate list environment, I noticed the spacing of the last item of the list is different from other items. It seems to have double-line spacing. I tried to put ...
7
votes
2answers
1k views
Equations and Double Spacing
If a document (in any class) is double spaced, how do you redefine the spacing around centered equations as if there was single spacing? Whenever I use double spacing, I feel like the space before and ...
7
votes
1answer
786 views
How to set fixed (8mm) linespacing?
My university wants me to have in my report line spacing of not less than 8mm. ( Font size must be 11pt or larger. )
How can I specify this other than using \lineskip which is discouraged?
I'd like ...
7
votes
2answers
82 views
Is there something between singlespace and onehalfspace?
Perhaps there is a trivial solution for this, but I wonder if there is anything between singlespace and onehalfspace. The reason is that, when I use singlespace it seems to be very compact while ...

