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

learn more… | top users | synonyms

4
votes
3answers
84 views

The \pbox makes the text crowded

The result is as follows: you will see it is too crowded. And the MWE is: \documentclass[12pt,a4paper]{book} \usepackage{fontspec,amsmath} \usepackage{tabularx} \usepackage{pbox} % For multiletter ...
4
votes
4answers
387 views

Prevent LaTeX from Preventing Hyphenation

So I know that a common technique in typography to avoid hyphens at a line break is to adjust the spacing of words and letters slightly. I was not aware of LaTeX doing this until today, but now it is ...
4
votes
1answer
2k views

Change the baselinestretch (line spacing) only for figure captions

I use \renewcommand{\baselinestretch}{1.5} in my preamble to change line spacing of my main text. For my Figure cpations I'd like to have a value of 1.0 or 1.2. Is there an easy way to change the ...
6
votes
1answer
124 views

Broken line between line numbers and code in lstinputlisting with setstretch<1

If I use \setspace{0.8} to tighten up my listings* I get a broken line between the line numbers and the code. \documentclass{article} \usepackage{listings} \usepackage{setspace} ...
4
votes
1answer
535 views

Adjusting spacing before and after subparagraph with sectsty

I am helping a friend that is using sectsty to format the titles in his document. How can I adjust the spacing before and after the titles, in particular the subparagraph one? (I know that titlesec ...
0
votes
1answer
127 views

TOC line spacing using Revtex

I am trying to change the linespacing in my table of contents (using revtex4-1) but with no luck. My Preamble: \documentclass[aps,prd,amsmath,amssymb,a4paper,nofootinbib,12pt]{revtex4-1} ...
4
votes
1answer
84 views

Adjusting spacing in beamer while changing font size

If I decrease the font size in beamer, as in the code below, the spacing stays the same. I do want single spacing throughout, but adjusted according to the specific font size being employed. That ...
5
votes
2answers
422 views

\setstretch is reset in \begin{figure}

I use \setstretch{1.3} to increase line spacing. It does increase line spacing in tabular environments as well, which is what I want. But if the tabular is in a figure environment, line spacing is ...
2
votes
1answer
102 views

more fun with inside-table spacing — setspace

vertical spacing is witchcraft, as far as I can tell. I have put in everything that I could think of that could possibly force the explain environment contents to be tightly vertically spaced. It ...
10
votes
3answers
348 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 ...
3
votes
1answer
196 views

How to prevent hyperref package from changing layout (line spacing)?

I have a boolean in my LaTeX paper that I use to create a custom author version (including a copyright box and clickable links and references). For the author version, I include the \hyperref package ...
3
votes
1answer
204 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
2
votes
1answer
191 views

How can I fix the unequal space between my references if I combine apacite and \flushleft

I have a problem with my references done by apacite. My references have to be formatted as flush left entries: \documentclass[a4paper,fontsize=14pt,DIV=10,twoside, numbers=noenddot, ...
1
vote
0answers
93 views

Distance between multiple lines in header of beamer template [closed]

this is my first question ;). I have defined a custom header in my beamer template and I want to show multiple lines. Since \\ isn't available in beamercolorbox I had to use \newline instead. The ...
2
votes
1answer
183 views

BibLaTeX (chicago) - Single-spacing bibliography items

I'm using biblatex-chicago to format my dissertation, and everything works very well, except for one particular issue. My bibliography items are each double-spaced, rather than single-spaced, which is ...
3
votes
1answer
219 views

How to set vertical spacing in labeling environment

I want to use the labeling environment as provided by the class scrartcl to layout my CV. I would like to condense the whole document a little bit, particularly the lists in the labeling environment. ...
0
votes
0answers
53 views

Spacing between the lines [duplicate]

How to set the spacing (vertical) between two lines of the document? What is the standard spacing?
3
votes
1answer
1k views

Tikz itemize line spacing

I have a diagram in tikz where each node contains an itemized list. \documentclass[11pt, authoryear, 3p]{elsarticle} \usepackage{tikz} \usetikzlibrary{shapes,positioning,arrows} \begin{document} ...
7
votes
2answers
285 views

Set 1,5 line spacing in footnotes

The document I have to write needs to have a 1,5 line spacing both in normal text and in footnotes. Now, if I use this code: \documentclass[11pt, a4paper, oneside]{book} \usepackage{setspace} ...
2
votes
1answer
130 views

show baseline in two columns

This is a follow-up to Drawing a background grid based on linespread value. In a two-column document, the background lines are drawn in the first column only. Is there a way to show them in both ...
5
votes
2answers
183 views

Incorrect vertical line spacing after changing font size in parcolumns

Here's my test case... \documentclass[english,twocolumn]{article} \usepackage{parcolumns} \usepackage{babel} \usepackage[pangram]{blindtext} \begin{document} \begin{parcolumns}{2} \colchunk[1]{ ...
3
votes
1answer
166 views

Different line spacing in text and footnotes when using \usepackage[para]{footmisc}

Hope this hasn't already been addressed: I would like my linespacing in the footnotes to be small whilst having double or more linespace in the text. I've been using ...
7
votes
3answers
327 views

Is there a way to set distance between bottom of one line and up of other?

This is my minimal working code: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[english,french,russian,swedish]{babel} \begin{document} \selectlanguage{french} ...
3
votes
0answers
364 views

Stretch line spacing to fill page

I'm writing a thesis which has to be double spaced with a 12 point font size and with set margins. However, due to each page having different subsections, pictures etc., the text doesn't line up ...
4
votes
1answer
182 views

Double line spacing, except in tables

Extending the question Double line spacing (as I'm new round here I don't seem to be able to comment), I'd like to use double spacing too. Except in tables, where I'd like to be able to leave that at ...
2
votes
1answer
71 views

consistently increased line spacing when subscripts occur in paragraph

The question is about consistent vertical spacing in a paragraph of text that includes some math using subscripts. Concretely, in the example I feel that there is not enough vertical space between ...
6
votes
3answers
234 views

Interline spacing with different fonts

What Latex command can I use so that the space between interlines remains the same when I use two different fonts simultaneously? For example, (1) \huge{\textbf{Dunt venim dolorerosto do odit}} (2) ...
4
votes
1answer
326 views

How can I increase baselineskip in a document using memoir class?

I am trying to increase the baselineskip for every chapter except the titlepage. I am using setlength to change its value but it has no effect. Any help would be great. Following is my main file. ...
8
votes
2answers
987 views

How can I remove extra space after `itemize` in moderncv?

In a moderncv document, using an itemize in a cvitem produces extra spacing after the itemized list. Here's a minimum working example: \documentclass{moderncv} \moderncvstyle{casual} ...
3
votes
1answer
53 views

To align line of 3 units equispaced

My tex \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x(\alpha) = \lim_{x \to a^{+}} x(t) & \text{ and } & x(\beta) = \lim_{x \to \beta^{-}} x(t) &. ...
4
votes
1answer
59 views

Line spacing with scandinavian letters

Example tex \documentclass{article} \begin{document} Ylim\"{a}\"{a}r\"{a}isi\"{a} suodatuksia ja ikkunointeja ei tarvita, jos menetelm\"{a} pystyy itsess\"{a}\"{a}n erottelemaan ilmi\"{o}n ...
1
vote
1answer
81 views

change height of text

I am writing some text that spans over two lines. At the end of the first line there is $\lim\limits_{n\to+\infty} u_n=0$. I am using the \limits command for better effect, but it increases the space ...
2
votes
2answers
112 views

Arithmetic operation in user-defined command

I want to define a command to ease the font configuration as below: \newcommand{\setfont}[2]{\fontsize{#1}{#2}\selectfont} The new command \setfont takes two parameters: one is the size of the ...
6
votes
3answers
113 views

A version of \smash that interpolates between the true height/depth and the text-height/depth of the current line

I have a paragraph of text that includes a "deep" math symbol, one that dips below the ordinary bottom of the text a little. Originally I had nothing below that symbol; it was near the end of the ...
27
votes
4answers
4k views

How do I ask LaTeX to exactly fill up a page?

I understand that I can control interline spacing in LaTeX in a number of ways. The commands like \baselineskip, \baselinestretch, \linespread come in handy in controlling the interline spacing. Each ...
2
votes
1answer
72 views

Disable doublespacing in multi-line header

In my latex file, I am including a multi-line header through: \AddToShipoutPicture{% \AtPageUpperLeft{% \makebox(480,-70)[r]{\resizebox{380pt}{!}{%% \textsf{\textbf{\color{lightgray} ...
0
votes
2answers
1k views

Control of spacing between equation lines when using split

I am using this LaTex template (see gmuthesis.sty and GMU_thesis_template.tex in the linked zip file) to generate a thesis. It has some long equations in it. When I render the below equation in the ...
2
votes
2answers
545 views

Abstract - doublespace

I have got a problem with an abstract. I created a PHD Thesis in Latex. I use thesis document style. I want abstract to be doublespaced. I put that code to obtained it: {\doublespacing ...
0
votes
0answers
37 views

paragraph line spacing not consistent [duplicate]

I'd like to have the first line of a new paragraph right justified but keeping the same text linespacing. I simply use: \documentclass[a4paper,12pt]{report} \newcommand{\linespacing}{1.5} ...
11
votes
2answers
15k views

How do I double-space my abstract in LaTeX?

I'm finishing up my undergrad thesis, and I have to double-space my abstract. I tried using \begin{doublespace} and \doublespacing, but neither have worked, I assume because the abstract environment ...
5
votes
2answers
70 views

how to make all line of subsection in order and with space

\subsection{CLOSED :} If the operator results in the same set that it operates upon , then the algebraic system is called ' CLOSED ' . Example : 1. Set of an integer is closed under + ...
5
votes
1answer
187 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
329 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
215 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
26 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
2k 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 ...
45
votes
4answers
5k 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
400 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
85 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
728 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 ...