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

learn more… | top users | synonyms

1
vote
1answer
186 views

In a tabular, how do I reduce the vertical space in a wrapped text?

In a tabular, I am using the commands that allows you to wrap your text: \begin{tabular}{m{5cm} m{13cm} m{5cm}} but I would like to change the vertical space between the different lines of the ...
4
votes
3answers
2k views

Reduce line spacing in minitoc package

I am using the minitoc package to add chapter TOC's in a thesis. The entire document (including the main table of contents) is doublespaced, but I want the chapter toc's to be single spaced. I specify ...
10
votes
2answers
305 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 ...
5
votes
3answers
2k views

Change line spacing for normal text, but not in tabular or verse

\usepackage{setspace} \doublespacing I used above two lines to change the spacing in my document. This changes the spacing of the entire document. My requirement is to change the line spacing in ...
13
votes
1answer
13k 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
6k 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 ...
98
votes
3answers
198k 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?
3
votes
3answers
2k 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
4k 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
275 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 ...
5
votes
1answer
2k 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 ...
8
votes
1answer
2k 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 ...
14
votes
3answers
15k 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.
6
votes
1answer
362 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} \usepackage[english]{...
7
votes
3answers
5k 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{ ...
12
votes
2answers
2k 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 ...
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 ...
2
votes
1answer
225 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 ...
11
votes
3answers
663 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 ...
3
votes
1answer
792 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 ...
7
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} ......
3
votes
1answer
2k 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: \documentclass[a4paper,...
7
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}}} ...
5
votes
1answer
5k 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
684 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
2k 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 ...
2
votes
2answers
4k 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 ...
2
votes
1answer
491 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 ...
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 \newcommand{\mymarginnote}...