{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
45 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 ...
7
votes
0answers
86 views

KOMA - Set documentclass font to 9.5pt

I am using scrbook as documentclass and would like to setup the default font of the whole document to 9.5pt. Just like you do with 9pt, 10pt, ... : \documentclass[fontsize=9.5pt, DIV=calc]{scrbook} ...
4
votes
4answers
264 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 ...
6
votes
1answer
29 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
42 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
25 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} ...
3
votes
1answer
27 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 ...
4
votes
2answers
50 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
70 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 ...
0
votes
0answers
45 views

how to only increase line-space for 'cventry' command in moderncv

I use modercv template to compile my resume,but i have two troubles. First I want increase line space between texts in 'cventry' command Second i need change part text font,only effect part ...
1
vote
0answers
41 views

Distance between multiple lines in header of beamer template

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
68 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
49 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
42 views

Spacing between the lines [duplicate]

How to set the spacing (vertical) between two lines of the document? What is the standard spacing?
2
votes
1answer
104 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
100 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
46 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
94 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
44 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
271 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} ...
4
votes
1answer
57 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 ...
3
votes
0answers
119 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 ...
2
votes
1answer
40 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 ...
3
votes
1answer
126 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) ...
3
votes
1answer
121 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
3answers
95 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) ...
8
votes
2answers
306 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} ...
8
votes
1answer
100 views

Drawing a background grid based on \linespread value

I’m trying to help a friend set an Arabic book in LaTeX and I’m facing this very same uneven line spacing issue (except that the book is completely in Arabic). Now I’m trying to find the \linespread ...
3
votes
1answer
35 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
40 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
67 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
54 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 ...
2
votes
0answers
73 views

Remove space below section in memoir

I'm growing tired of the extra space below \section and \subsection in the memoir class - it's way too big. How can I remove it - like one use \vspace{-20pt}$. This must be done for all \section and ...
6
votes
3answers
73 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 ...
26
votes
4answers
1k 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
47 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
124 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
157 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
35 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} ...
2
votes
1answer
225 views

Too large line spacing with \tiny in beamer

When using the \tiny font in slides created with the beamer package I find that the spacing between lines in a wrapped paragraph is too large. (This only happens when mixing fonts within one ...
3
votes
1answer
357 views

How to reduce Program-Listing line spacing in LyX

Using LyX 2.06. I have a standard document with 1.5 line spacing, but I want my program listings to use 1.0 line spacing. Is there a simple way to do this?
2
votes
1answer
92 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, ...
5
votes
2answers
65 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
86 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
179 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 ...
1
vote
0answers
23 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
423 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 ...
2
votes
0answers
54 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
354 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
327 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 ...