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

learn more… | top users | synonyms

5
votes
1answer
153 views

Set line spacing everywhere but in verbatim blocks

Is it possible to change the linespacing of a document except for inside verbatim blocks? \usepackage{setspace} \onehalfspacing The above results in more readable paragraphs, but the code snippets ...
7
votes
2answers
277 views

Use \singlespacing in scrheading and \onehalfspacing in the main document

I'm writing an article using KOMA-script scrartcl class. The main text uses \onehalfspacing option from setspace package. In my article I have headings with couple lines of text set up using scrpage2 ...
3
votes
1answer
209 views

bug? unwanted gap in 2nd columnset

(Disclosure: I posted this question on the NTG ConTeXt mailing list before the weekend. I have not received any replies yet, so now I'm asking here.) We have a document where a gap occurs in a ...
1
vote
0answers
24 views

\setfontsize doesn't seem to set the baseline skip [duplicate]

For a custom title page I need to set the font size to a specific value not covered by any of the standard \Large etc. font sizes. Therefore, I use the \fontsize command. Reducing to a minimal example ...
5
votes
1answer
1k views

Change line spacing in algorithm2e

I'm using the algorithm2e package. In one algorithm with several math formulae in consecutive lines I would like to increase line spacing. I've already searched algorithm2e's documentation but could ...
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 ...
1
vote
1answer
337 views

Dictionary-style paragraphs

Is there a way to write a dictionary using LaTeX: that is, how do you construct the shape of the paragraphs so that they look like so-called hanging paragraphs and that there is a certain spacing ...
2
votes
0answers
80 views

extra line in table of figures [duplicate]

After the last figure of each chapter adds an extra line for me is bad. How I can fix? Attached my configuration. Thank you. \documentclass[letterpaper,11pt,twoside,openright]{book} ...
6
votes
1answer
651 views

Tight horizontal lines around a block of text

I wish to create a block of text with tight horizontal lines above and below, e.g. This is a paragraph. The following example seems to produce more space between the paragraph and the horizontal ...
8
votes
2answers
564 views

Print a Notebook with LaTeX

I just came across something I missed a few years ago: I still use notebooks that do not have the correct margins for writing, i.e., the outer and bottom margins are the end of the page and the inner ...
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 ...
0
votes
1answer
289 views

line spacing document class article

I want to have more space between the lines in my document which uses documentclass article. But if I use something like this blog says, it causes following error: ! LaTeX Error: Too many unprocessed ...
0
votes
0answers
309 views

How to reduce line spacing of the footnote

I want to reduce the line spacing of the footnotes to be less than single spacing. I am using the following to start the document: \documentclass[12pt,openbib]{article} ...
1
vote
1answer
3k views

Change line color and thickness and line spacing

I am new to LaTeX and I am creating a resume. I have added a black line. 1)However, I would like to know how to specify a color and line thickness for this line? 2) I would like to know how to ...
1
vote
0answers
71 views

\floatstyle{boxed} paragraph style

I'm using \floatstyle{boxed} for the first time. I want numbered, boxed floats with the same paragraph style as my main document. The boxing and numbering works fine, but the line-spacing inside ...
5
votes
1answer
262 views

Wrong line spacing when changing font size for caption of algorithm

I am using the algorithm2e package and want to change the font size for captions of figures as well as for captions of algorithms. The problem is that I get different line spacings for the two ...
5
votes
2answers
272 views

Line spacing inside quote environment in amsart (removing extra white space)

This is a follow-up to Line spacing inside quote environment. I'm using the amsart document class, with a specifically defined line-spacing for the whole document. When I adjust the line-spacing ...
3
votes
2answers
643 views

Make footnotesep same as line spacing using custom thesis class

I'm starting to write my thesis using a custom (and incredibly old) thesis style that has been doing the rounds in my university (UCL). It seems as if it was originally written by a professor of the ...
2
votes
1answer
223 views

line spacing in tikzposter

The line spacing in blocks of the tikzposter seem to depend on the number of paragraphs or the presence of images included by the use \includegraphics. For example in the poster example distributed ...
3
votes
1answer
256 views

ConTeXt: How to increase line-spacing in title?

Pandoc generates ConTeXT document titles using a standard simple scheme that sets the title in \tfd. I already changed the default font and size of \tfd. However, when a title is so long that it ...
6
votes
1answer
150 views

loading lineno changes spacing in document

I loaded lineno to number the lines on my resume for critique by a professor. Doing so changed the spacing after the headers. I would like to number the lines and retain the original formatting, if ...
7
votes
4answers
309 views

Drawing of matching boxes in LaTeX

I want to draw a split with diffrent blocks inside each one there is the block index. Since I am new to LaTeX, I tried to use \fbox{$b_{0}$}\fbox{$b_{1}$}\fbox{$b_{2}$}% ...
0
votes
1answer
134 views

How to get extra vertical space before group in pgfgantt?

Using the pgfgantt package, one can uniformly set vertical spacing using the y unit chart key. However, i would like to add extra vertical space before certain groups, but the package does not seem to ...
2
votes
0answers
102 views

How to count the space around lines to align lines vertically on a grid?

I'm trying to create a XeTeX class which aligns text vertically on a grid. What I'm trying to achieve is layout on the left (created in InDesign), and what I'm generating now is on the right (the ...
5
votes
1answer
4k views

Line-spacing in a cell of table

I'd like to change the line space of sentence in a cell of table. It is not line-breaked, but over-flowed since the sentence is quite long in the cell. My code example is below. The line space is ...
4
votes
1answer
175 views

Latex randomly skips a line (or not)

Consider the following example: \documentclass{article} \RequirePackage{amsthm} \usepackage{lipsum} \RequirePackage[framemethod=tikz]{mdframed} \mdfdefinestyle{proof}{ skipabove = ...
3
votes
1answer
77 views

Awkward line spacing with \LARGE font size

I'm confused about the look of my rendered output. It looks strange. I'm not doing anything special, but it looks like there is not enough vspace between the lines? The letters are almost touching. I ...
7
votes
2answers
222 views

Uneven line height in XeTeX

I'm embarking on a journey to create a conference abstract book using XeTeX and got stuck within five minutes: The missing 'g' in 'somethin' influences the line height of the following line. ...
5
votes
1answer
183 views

Make less space between lines on a table

I have a big table where I need to use multiple lines on each cell. The table is too big though so I need the space between lines on each cell to be smaller. I found on another post that I could use ...
6
votes
1answer
198 views

Macro to calculate \baselineskip for given font

I want to write a macro that returns the \baselineskip multiplied with a fixed value for a given font spec. That seems to be harder than I would imagine... after some fiddling I came up with this: ...
9
votes
3answers
2k 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? ...
8
votes
2answers
2k views

Wrong spacing before theorem environment (amsthm)

I am using the amsthm package to have environment. I also use \usepackage[onehalfspacing]{setspace} to have 1.5 line spacing. However, when I use the the theorem environment, the spacing before is ...
5
votes
2answers
129 views

$\quad$ in different lines are not the same effect?

%% AMS-LaTeX Created by Wolfram Mathematica 9.0 : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \newcommand{\mathsym}[1]{{}} \newcommand{\unicode}[1]{{}} ...
5
votes
1answer
259 views

footnote double spacing with memoir package

I haven't found any possible way to double space my footnote while using the memoir package. There is another question which has been closed because not general.. well, I have the same request. ...
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 ...
5
votes
1answer
271 views

Line spacing in TikZ multiline nodes inside tables

I'm trying to typeset some multiline TikZ nodes inside a tabular environment. Somehow, the space between lines gets considerably shortened. Here's my code: \documentclass{article} \usepackage{tikz} ...
9
votes
1answer
121 views

Spacing in list with math environment

Check out the following example. I would like to write the code as in the second list, but get output equivalent to the other two. However, there is a lot of extra vertical space after the third item ...
4
votes
1answer
240 views

What are the generally accepted guidelines for adjusting \linespread to avoid extra spreading from inline math?

General Background I am just starting to think about typesetting and LaTeX in anything close to a serious manner, and am getting lots of questions that perhaps are appropriate for this site, but ...
4
votes
1answer
306 views

space between lines is not correct

The space between two lines in a paragraph should be 1.5 lines which is according to my university requirements it equivalents to 0.21 inch. In LaTeX, I used the package setspace as follows: ...
3
votes
2answers
650 views

Can't set line spacing (New to LaTeX)

I'm trying LaTex for the very first time. I love the system, but have run into a problem (please pardon any newbie mistakes): \emph{Modus ponens}: The form of this argument is: \hsp if $p$, then ...
7
votes
1answer
156 views

Globally changing math line spacing

In multiline formulas, I often find myself inserting extra vertical space (\\[...]) between lines (especially when there are many superscripts and subscripts). I guess a certain amount of manual ...
10
votes
3answers
515 views

Tighter-spaced bulleted list should have ordinary line spacing to paragraphs/lines above and below

To get tighter line spacing (my document's main spacing is 1.5-spacing, and I'm using memoir), I normally use a self-defined "tight list" (tightlist in the code below). This works well. However I ...
5
votes
1answer
3k views

Linespacing LaTeX for just a few lines

How can I increase the linespacing for just a few lines of code in LaTex?
6
votes
2answers
1k views

Changing the linespacing of headings independently from the rest of the text

I'm currently writing my thesis using TeXworks and MiKTeX. I'm using the report document class. My problem is that I need to increase line spacing but some of my chapter and section headings are very ...
4
votes
1answer
193 views

Double Spacing and Margins conflicting

I've got \usepackage{setspace}, and I'm having issues with my margins. When I use \doublespacing it adds a blank line before the first line of text on each page. Is there any way to have double ...
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 ...
3
votes
1answer
3k views

Help with adjusting line-spacing on custom title page

I'm making a custom title page for my PhD proposal, following the Title Creation article of LaTeX in Wikibooks. However, after many tries I just can't get the title to have a bigger line-spacing. I ...
0
votes
1answer
234 views

How to enforce the text filled in flowchart follow single line space?

My document is in a doublespace environment using elsarticle template, that is the whole document is two double line space . I searched the solutions, like setspace package. I used it as follows: ...
3
votes
2answers
211 views

Reduce line-spacing in acronyms with hyperref

I'm using: \documentclass[12pt,titlepage]{article} \usepackage[colorlinks]{hyperref} \usepackage{datatool} \usepackage[style=altlist,nonumberlist,numberedsection,acronym,toc,xindy]{glossaries} ...
5
votes
2answers
963 views

Spacing after itemize (without parskip package)

This piece of code seemed to be working fine for a long time, until I try to remove the parskip package. Without this package, it seems that I need to include two hacks: Add a ...