{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
394 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
185 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
33 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
75 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
174 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
242 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
538 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
385 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
1k 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
540 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
100 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
188 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
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
3k 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
424 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
109 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
173 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
747 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
424 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
99 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
1answer
497 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
1k 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
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
98 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
173 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
1k 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
690 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
825 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
1k 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
262 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
156 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
279 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} ...
5
votes
1answer
87 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
450 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
2k 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
170 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
1answer
129 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
1answer
363 views

How to prevent additional vertical space around tall inline equations

I've got a Figure caption with a couple of short inline equations in it, one of which being $\psi_\text{pseudo}$, and because of the subscript + descender, LaTeX inserts additional space between this ...
5
votes
2answers
431 views

Problem about double space in list of figures when using endfloat package

I'm writing a manuscript using endfloat to make all the figures at the end of the article. However, when using the code below to eliminate numbers from lists of figures, the definition ...
5
votes
1answer
102 views

How to fix diferent position of the line (space between the line and a page number and paragraphs) in the header using \pagestyle{uheadings}

I have noticed that in the document I am working on the line in the header is changing position page to page. Basically there are two slightly (but notably) different vertical spaces between the line ...
5
votes
1answer
2k 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 ...
5
votes
1answer
2k views

How to double space the \thanks footnote?

The journal I intend to submit my paper to requires all the text, including footnotes and acknowledgments, be double spaced. I use the setspace package and put \doublespacing and ...
5
votes
3answers
2k 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 ...
5
votes
1answer
209 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} ...
5
votes
1answer
94 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 ...
5
votes
1answer
620 views

Font sizes and line height: how/when/why do \Huge, \LARGE, etc. affect one or the other? [duplicate]

Possible Duplicate: Inconsistent line spacing In the following MWE, the first paragraph has a quite tight line-spacing. The second paragraph has a larger line-spacing, which I accidentally ...
5
votes
1answer
149 views

Line spacing in Arabic in ConTeXt - how to deactivate gridsetting in an environment

I realize Arabic in ConTeXt with the following environment (to be able to switch between German and Arabic). \startenvironment arab-besser-sty \definefont[Sheh][name:Scheherazade*arabic at 15pt] % or ...
4
votes
4answers
268 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 ...