{line-spacing} is about adjusting the space between the lines of a document. A popular package is {setspace}.

learn more… | top users | synonyms

3
votes
1answer
3k views

Change line spacing inside a node in TikZ

Inside a TikZ node, one can force line breaks using \\ providing the align option of the node is set. I would like to increase the line spacing inside a node. This can be done in the usual way with ...
5
votes
1answer
2k views

Restricting linespread to an environment

\linespread doesn't seem to be taken in consideration when set in an environment. How can I reduce the space between lines in a specific environment?
10
votes
2answers
269 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 ...
3
votes
3answers
1k views

Extreme vertical spacing between list items & nested lists

How can I fine tune and reduce the vertical spacing of list items and nested lists so characters from lines above and below are almost pixel-touching each other? Example: UPDATE 1: @egreg: When ...
4
votes
3answers
3k views

Extreme vertical spacing between lines

How can I fine tune and reduce the vertical spacing of lines so characters from lines above and below are almost pixel-touching each other? Example:
1
vote
1answer
258 views

Preventing whitespaces between sections after using \linespread{2}

I'm working on my thesis and there is something rather strange going on in terms of whitespacing. All is well if I do not use the linespread command. However, as soon as I do use it, sections seem ...
4
votes
1answer
1k views

6 lines in one inch

I am writing a proposal to the National Science Foundation, and they require no more than 6 lines in one-inch vertical spaces, with 11 pt sized Computer Modern fonts. I am using the article document ...
7
votes
3answers
671 views

Spacing of sectioning commands for grid typesetting

I know questions about grid typesetting have been asked before, and some packages (grid, gridpos) exist. The scenario I have at the moment is simpler than that, and is mostly a question about elastic ...
8
votes
1answer
1k 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 ...
2
votes
1answer
5k views

Linespacing only for main text body

In a LaTeX beamer document, is there a way to change line spacing only for the main text body - i.e. for everything between \begin{frame} and \end{frame}? In particular if using \linespread and its ...
10
votes
3answers
10k views

How can I change the footnote line (thickness, length)

I am using pdflatex and just want to know how to change the footnote line (thickness, length). Besides that: How can I set the distance between text-lines in the text.
5
votes
3answers
3k views

An equation skip problem — amsmath package and \above/belowdisplayskip

I have been puzzled by a problem about math equation skip for days. I set the \lineskiplimit, \lineskip, \abovedisplayskip and others length macros before and after equations all to zero, but there ...
1
vote
3answers
5k views

Beamer: Line spacing in title

I have a long title for my beamer presentation and ue the \titlepage{} command. The title is automatically split over 4 lines. As I am using a tall font (arev), these lines are squashed together. I ...
10
votes
2answers
1k 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 ...
6
votes
1answer
303 views

How to prevent \baselinestretch from affecting the math mode?

Changing \baselinestretch will affect the distance between two adjacent rows. How to avoid this? \documentclass{book} \usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry} ...
34
votes
4answers
5k 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 ...
-2
votes
2answers
4k views

Latex commands for a specific page format [closed]

I am writing a report for which my University has given the following guidelines (Clearly, it was intended for use with Microsoft Windows). Project reports should be typed only on one side of the ...
13
votes
2answers
1k 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 ...
19
votes
2answers
15k 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 ...
2
votes
1answer
215 views

Help with report writing

I'm new to LaTeX and I'm creating a report for my project, the problem is that the font is not equivalent in all the PDF, and I inserted a PDF file containing a plot but it's not appearing in the ...
5
votes
2answers
1k views

Last bibitem in beamerpost bibliography has strange spacing

I'm making an academic poster using the beamerposter package in LaTeX. The poster has a bibliography. The final entry in the bibliography block puts large vertical spaces between each line of the ...
7
votes
1answer
1k views

Second page of list of figures: spacing too large

I have a list of figures which spans multiple pages. The first page is looking just fine but when it continues on to the next page, the space between the lines is more than tripled compared to the ...
7
votes
3answers
3k views

How to redefine the caption command with optional arguments

I'm writing a thesis that has double spacing on by default throughout the document. However, captions on figures need to be singlepaced. I can do that like this \normalsize \singlespace \caption{ ...
1
vote
1answer
766 views

Glossaries \glossarypostamble - set text single spaced

I use the package setspace to set my text single spaced. My list of tables, list of abbreviations and so on I set with the command \onehalfspacing. Furthermore I need an annotation in all lists. This ...
2
votes
1answer
246 views

Adjust vertical space of headings carried out by different line spacing

A question related to the koma script guide. As recommended on page 57, I set the table of contents, glossary, list of tables and list of figures with the standard line spacing. The text should have a ...
4
votes
2answers
296 views

ledmac vs. setspace: Don’t change spacing of critical notes

Normaly setspace tries to set only the stretch of main text an footnotes are unchanged. In combination with ledmac the critical notes are stretched too. Is there a way to unstretch the notes like ...
9
votes
1answer
8k 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 ...
11
votes
3answers
549 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
2answers
1k 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 ...
2
votes
1answer
619 views

Context-sensitive newline macro

I'd like to write a new command putOnNewLine such that \putOnNewLine{ABC} puts ABC on a new line, with exactly one line's vertical space separating it from what has gone before. It must also ...
4
votes
3answers
963 views

Prevent extra spacing between lines from \raisebox

I create superscripts for indexes for notes manually with \raisebox. What I don't like is that Latex changes the line spacing to fit a manual superscript into a line. For instance: ...
28
votes
2answers
17k 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 ...
53
votes
3answers
13k 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 ...
5
votes
1answer
3k views

baselinestretch outside of LaTeX preamble?

What is the difference, in LaTeX's head, between these two documents: \documentclass{article} \usepackage{lipsum} \begin{document} \renewcommand{\baselinestretch}{2.0} \lipsum[2] \end{document} ...
6
votes
1answer
2k views

Changing the baselineskip in marginpar

I’m adding explanations for definitions in the margin paragraph. I have a macro which looks as follows (simplified): \newcommand*\define[2]{% \marginpar{{\sffamily\footnotesize\textbf{#1}: #2}}} ...
4
votes
1answer
4k views

Different line space in LaTeX for body text and for footnotes

Hello I have a LaTeX document and I want to set the space betwen the lines. Normally I would use \linespread, but this command will change also the space between lines of footnotes and I do not want ...
4
votes
1answer
605 views

tikz node in text is slightly raised

I have defined the following command: \pgfkeys{tikz/protein/.style={fill=#1,shape=rectangle,rounded corners}} \newcommand{\protein}[2]{ \protect\tikz \protect\node [protein=#1] {\small{#2}};} It ...
15
votes
3answers
1k 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 ...
5
votes
3answers
4k views

Line spacing with mixed font sizes in itemize environment

I'd like to mix in footnote-sized text with normal-sized text in beamer. The problem is that when I use \footnotesize the line spacing still corresponds to \normalsize spacing. Here's a minimal sample ...
1
vote
1answer
1k views

figure overrides linespacing

I am using framed package to draw a box around some texts. When I compile it without wrapping it up in the figure command I have no problem. However, when I use it like this: ...
2
votes
2answers
3k views

Title page line spacing in Latex

I use this code on my title page: {\large {Some College \\ Some Place \\ Some City}} \par} The first two lines get normal spacing, but the third line gets little more bigger spacing. How can I have ...
7
votes
2answers
4k views

Customize line-spacing and indentation of a list in LyX

I am currently using a list with bullet-points; however, I think the lines are spaces too far apart and they're indented way too much. I don't see any way to correct this in LyX, however.
2
votes
1answer
457 views

How can I stop LaTeX from overriding instructions on spacing?

I'm using LaTeX to typeset my thesis, using a class that some students at my school wrote to typeset according to the graduate school formatting requirements. The class uses the setspace package to ...
4
votes
3answers
3k views

Package glossaries - single spaced \printglossaries?

I'm trying to make a single-spaced glossary using the glossaries package but it seems as though the package has a default level of spacing in between entries even in single-spaced mode for the ...
19
votes
3answers
996 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 ...
15
votes
4answers
5k views

Intertext vertical spacing

How do I reduce the vertical spacing of \intertext?
15
votes
1answer
5k 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} ...
8
votes
3answers
2k views

Single-spaced multi-line marginalia

When writing papers, I like to keep track of notes, thoughts and to do's inside the documents. I'd love to have tiny coloured multi-line marginalia. So far I used sth like ...
43
votes
4answers
4k 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 ...
57
votes
3answers
87k 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?