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

learn more… | top users | synonyms

6
votes
1answer
138 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 ...
6
votes
2answers
2k views

How to set different line spread for table of contents than the rest of document?

I am writing my final paper on university, and we have to use double line spread and Times New Roman. If I set \linespread{1.6} in the preamble everything is fine, except that in the table of contents ...
6
votes
1answer
291 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} ...
6
votes
2answers
94 views

How to produce white space for all text lines of an environment?

How can I produce whitespace before each line of an environment. If I have the following command in the preamble \newenvironment{myenv} ...
6
votes
1answer
460 views

Beamer: Line spread in headline is ignored

I am trying to build my own beamertheme and I want to modify the line spread in the title. I use {\LARGE \linespread{1.6} \selectfont \inserttitle \par} to modify the line spread, but it does only ...
6
votes
1answer
448 views

leading package and vertical space between footnotes

I'm using Will Robertson's leading package to set the leading in my documents. It usually works fine, but it seems to cause trouble with the vertical space between footnotes.* Consider the following ...
6
votes
1answer
202 views

How to get the right \baselinskip in the annotation with authortitle-dw and smaller font

If I change the font size of the annotations in my bibliography the size changes but the baseline skip doesn’t. I know that TeX uses the last font in a paragraph to calculate the baseline skip, but I ...
6
votes
1answer
71 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} ...
6
votes
3answers
91 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 ...
6
votes
1answer
188 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: ...
6
votes
1answer
292 views

Single spaced footnotes with bigfoot?

Can I make footnotes single spaced with bigfoot? According to this answer, setspace shouldn't affect footnotes -- which is true, as long as I don't use bigfoot. MNWE (modified version of this): ...
6
votes
1answer
1k views

\setstretch and fixme package. How to reset stretch to 1 for fixmes?

I am using \usepackage{setspace} \setstretch{1.5} \usepackage[status=draft,layout=margin]{fixme} in my document preamble. The notes are therefore also set with 1.5 stretch. How can I avoid that?
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}}} ...
6
votes
1answer
594 views

Adjust vertical spacing in tabular containing \href

I seem to be stumped by what seems like a basic tabular spacing issue (when an \href is used). The obvious solution of tweaking arraystretch does not seem to work. What I want is that the output of ...
6
votes
3answers
158 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) ...
6
votes
1answer
190 views

How to set a small linespace even with a very big letter in the text

I use a font (Aquiline), that has only a few characters, most notably the letter "A", which are quite huge in height. I use LuaLaTex with the fontspec package. So if I use this font and a capital A ...
5
votes
2answers
67 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
4k views

Make a LaTeX document look like it was written in Microsoft Word [duplicate]

Possible Duplicate: Making a LaTeX document appear as though it were typeset in MS Word I know this is a travesty in the world of TeX, and an affront to all decent TeX-believing people out ...
5
votes
1answer
481 views

How to achieve line spacing when using custom font

I would like to be able to determine the line spacing in the following example: The line spacing is clearly not good. My TeX code looks as follows: \HRule \\[0.5cm] { ...
5
votes
2answers
118 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
183 views

Expanding line height when equations have displaystyle fractions

In my document, I have got a lot of equations in inline mode, like: \documentclass{article} \begin{document} Eu sit tincidunt incorrupte definitionem, vis mutat affert percipit cu, eirmod ...
5
votes
3answers
836 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 ...
5
votes
2answers
604 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 ...
5
votes
2answers
53 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
5
votes
4answers
78 views

Increase the spacing of rows in equations

I have a formula and I want to increase the space between the rows to make the reading easier. \begin{equation} \begin{flalign*} \epsilon \bm{\Xi}_n & = M_\epsilon(\bm{x}_{\epsilon,n-1} ) - ...
5
votes
2answers
211 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 ...
5
votes
2answers
112 views

Vertical spacing of text changes in a macro depending on input

I defined a keynote macro to insert key ideas in my document using varwidth. The document is in \doublespacing and I have defined \singlespacing inside my macro. However, the correct spacing is ...
5
votes
2answers
950 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 ...
5
votes
4answers
148 views

Remove space in Emails

In a paper I need to remove spaces between two emails of an author with two affiliations. The code is below: \documentclass[10pt,twocolumn,letterpaper]{article} \begin{document} \title{Title} Author ...
5
votes
1answer
724 views

Make lstlisting honour baselinestretch

I have to use lstlisting instead of Verbatim in a particular case, because math escape doesn't work properly with the latter. I managed to have both look the same, but lstlisting ignores my ...
5
votes
4answers
2k views

vertical spacing in array with double-spacing

Double-spacing seems to mess up the vertical spacing inside of arrays. For example, the braces below extend too high. Is there a way to have the array contents centered vertically within the braces? ...
5
votes
1answer
11k views

baselinestretch vs. setspace

In my preamble I use \renewcommand{\baselinestretch}{1.5} to get "onehalf" line spacing. This works fine. Then I started to use tnote in a threeparttable. I changed font size to \scriptsize as I ...
5
votes
1answer
2k views

Restricting linespread to an environment

\linespread doesn't seem to be taken in consideration when set in an environment. How can I reduce the space between lines in a specific environment?
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 ...
5
votes
2answers
134 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]{ ...
5
votes
2answers
210 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 ...
5
votes
1answer
2k views

Linespacing LaTeX for just a few lines

How can I increase the linespacing for just a few lines of code in LaTex?
5
votes
1answer
935 views

Acronyms list size

\appendix \chapter{Acronyms} \singlespace \begin{acronym} \acro{BLAS}{Basic Linear Algebra Subprograms} \acro{CLR}{Common Language Runtime} \acro{DBMS}{Data Base Management System} ...
5
votes
1answer
1k views

Number of lines in double spacing (compared to Word)

I am a newbie to LaTeX. I noticed that my document is almost a page longer in Word compared to LaTeX. (~7.25 in latex, ~8.25 in Word). This seems to be because my Word document has 23 lines per page, ...
5
votes
1answer
2k views

How to doublespace a table using setspace?

I have used setspace with \spacing{1.9} to meet publisher specifications of "3 lines per inch or 12 lines per 10 cm", but it does not affect tables, although the publisher has requested that the ...
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 ...
5
votes
1answer
274 views

Can I set an adjustable line spacing to avoid orphans and widows?

I have a relatively simple question. I'm compiling a large document and finding that I have a lot of pages that start with the last two lines of a paragraph. Is there a way to allow the line-spacing ...
5
votes
1answer
186 views

Can anyone explain why setting \lineskiplimit breaks align?

OK, so this is a follow-up to one of my previous questions: If you uncomment the \lineskiplimit line, LaTeX goes crazy. Why? Does anyone have an idea how to fix it (without manually changing ...
5
votes
1answer
2k views

Double spacing within the caption of a figure

I am using the memoir class on my thesis and I have the \DoubleSpacing command in my document to set up double spacing through the document. This works great. However, I have a figure with subfigures ...
5
votes
1answer
35 views

\vbox and vertical spacing between lines

When I put a text in a \vbox and \unvbox it, I have extra space between line. Why? See the MWE: \documentclass{article} \begin{document} \newbox\titi ...
5
votes
1answer
94 views

Set a minimum space above and below displayed math

NOTE: This question is specifically about adding vertical space that increases to compensate for tall symbols. Thus, it is not a duplicate of How can I change the whitespace above and below math ...
5
votes
1answer
118 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 ...
5
votes
1answer
821 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 ...
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} ...
5
votes
1answer
30 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...