Tagged Questions

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

learn more… | top users | synonyms

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
299 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
14k 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
214 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
757 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
244 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
295 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
545 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
605 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
942 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: ...
26
votes
2answers
16k 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
604 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
3k 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
454 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
983 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
4k 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 ...
52
votes
3answers
82k 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?
15
votes
3answers
8k 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 ...
1
vote
2answers
2k views

What is wrong with the line spacing of my lists of figures and tables?

Since a good picture is better than a long text, here is the problem: And here is most of my Latex file up to this point: \documentclass[12pt,a4paper,oneside]{book} \usepackage{setspace} ...