{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 ...
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 ...
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
2answers
194 views

Specify vertical space between outlines (enumerate) levels

I'm using the outlines package, and I'm curious to know how to modify the vertical spacing between entries/items in the outline. I'm happy with using \onehalfspacing for the vertical spacing between ...
5
votes
1answer
930 views

Too large line spacing with different font size (\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 ...
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
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
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
1answer
266 views

Decrease linespacing in margin notes of the fixme package?

Is it possible to get single-spaced marginnotes in a double-spaced document? \documentclass[english,a4paper]{scrartcl} \usepackage{babel} \usepackage{blindtext} \usepackage[draft]{fixme} ...
5
votes
1answer
420 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
530 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
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 ...
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 ...
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} ...
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 ...
5
votes
1answer
770 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
169 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
340 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
3answers
6k views

Change line spacing for footnote text only

I have to format a document to this finicky standard: "The entire document cannot exceed 25 double-spaced pages, including all supplementary material, and must be in Times New Roman, 11 point, font. ...
4
votes
2answers
3k views

Minted, setstretch and font size

I'm using minted package. My problem is \usepackage[nodisplayskipstretch]{setspace} \setstretch{1.5} line. I do need this line stretch, but I don't want it to affect code sources generated by minted. ...
4
votes
2answers
506 views

Reduce the space between a quotation and a title

When I use the quotation environment at the start of a section I get too much space between the title and the start of the quotation. How to modify spacing around quotation environment? has ways to ...
4
votes
3answers
963 views

Prevent extra spacing between lines from \raisebox

I create superscripts for indexes for notes manually with \raisebox. What I don't like is that Latex changes the line spacing to fit a manual superscript into a line. For instance: ...
4
votes
3answers
227 views

Control line spacing of section headings

I use macro and titlesec package to create custom \section heading. \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing*{\section}{0pt}{1em}{0.3em} \def ...
4
votes
2answers
113 views

keep alignment under enumerate

I would like to keep the indentation for my fraction that appears below my first item however i don't know how to align it if itself is not an item. source code: \documentclass{article} ...
4
votes
3answers
3k views

Extreme vertical spacing between lines

How can I fine tune and reduce the vertical spacing of lines so characters from lines above and below are almost pixel-touching each other? Example:
4
votes
1answer
54 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 ...
4
votes
1answer
121 views

Space from line

How can i obtain the correct spacing of the two writings from the line? if you note the upper write is more far from the line... \documentclass[a4paper]{memoir} ...
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 ...
4
votes
1answer
46 views

Preventing line break in figure caption

I have the following figure with the corresponding caption: As you can see the caption inappropriately breaks the line, which I want to avoid. Optimally without simply reducing the font size of the ...
4
votes
3answers
185 views

Chapters with long descriptive titles

I have document which require me that chapter headings consist of two parts: (1) Chapter number (Chapter 1, Chapter One etc.) or any other text with similar function and (2) descriptive title below ...
4
votes
2answers
228 views

Lines are not equally spaced in XeLaTeX

I've just move from LaTeX to XeLaTeX, and when I first use it, I found this abnormality : \documentclass[12pt]{article} \usepackage{polyglossia} \XeTeXlinebreaklocale "th_TH" \XeTeXlinebreakskip = ...
4
votes
1answer
73 views

Less whitespace and no indent at the same time using enumerate

I would like to ask the following: I would like to use the theorem environment in my latex code. I also have some definitions and examples and I would like to let these environments look the same. ...
4
votes
1answer
944 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 ...
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 ...
4
votes
1answer
956 views

Overfull vbox with scrbook and setspacing

The following MWE gives me a lot of badbox warnings Overfull \vbox (1.39674pt too high) has occurred while \output is active [] with always the same value of 1.39674pt. It seems to be related to the ...
4
votes
2answers
297 views

ledmac vs. setspace: Don’t change spacing of critical notes

Normaly setspace tries to set only the stretch of main text an footnotes are unchanged. In combination with ledmac the critical notes are stretched too. Is there a way to unstretch the notes like ...
4
votes
1answer
605 views

tikz node in text is slightly raised

I have defined the following command: \pgfkeys{tikz/protein/.style={fill=#1,shape=rectangle,rounded corners}} \newcommand{\protein}[2]{ \protect\tikz \protect\node [protein=#1] {\small{#2}};} It ...
4
votes
3answers
75 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
1answer
534 views

\vbox with some extra space below

I don't understand why when using \vbox of a certain height, there is some extra space added below it. I'm trying - towards grid typesetting - to put for example graphics in the vbox of a certain ...
4
votes
2answers
221 views

acmsmall: accented upper-case characters and line spacing

I am currently using the acmsmall document class. I have noticed that upper-case accented characters such as "Å" and "Ä" will result in uneven line spacing. MWE: \documentclass[prodmode]{acmsmall} ...
4
votes
1answer
282 views

Incorrect line spacing when using \Large in a center environment

When I enclose text with line breaks within a center environment, there is extra space after the first line, but only if the font size has been changed. The following working example prints the same ...
4
votes
2answers
96 views

Question on spacing in the book document class

I have 2 questions regrading the spacing is concerned. 1. How to reduce the space between the heading of the paragraph in the paragraph command and the content? Usually, the space provided is far ...
4
votes
1answer
114 views

Box height intruding into previous line. Why?

I decided I wanted to try my hand at providing a bit curvier answer to A better notation to denote arcs for an American high school textbook than what Werner provided. I also thought it would a good ...
4
votes
1answer
268 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. ...
4
votes
2answers
234 views

Custom name & justification, single line spread and “within chapter” numbering of figure captions [closed]

I now know how to add images with captions but still need help how to tweak the captions. \begin{figure}[h] \begin{center} \includegraphics[width=100mm]{01.jpg} \caption*{\textbf{Bild 2.1:} Curtiss ...
4
votes
1answer
103 views

ConTeXt (mkiv) bibliography not respecting \setupinterlinespace[big]

Early in my document I have \setupinterlinespace[big] for double-spacing per course requirements. However, when I do \placepublications[criterium=all], it doesn't seem to respect this. In other words, ...
4
votes
1answer
1k views

Line spacing in supertabular multi lined table cells

I have created a table using the supertabular package with table cells containing from one to four lines of text. In my document I have defined a linespread of 1.5. I also have defined following table ...
4
votes
1answer
287 views

Unwanted double spacing

I have the following LaTeX code: \documentclass[a4paper]{report} \usepackage{color} \usepackage{hyperref} \usepackage[usenames,dvipsnames,table]{xcolor} \newcommand{\ADDRESS}{ ...
4
votes
2answers
1k views

How to set default line spacing in a .cls file?

I am writing a document class where I want to set the default line spacing to be 1.5. How can I use the setspace package to achieve this? More particularly, where in my .cls file should I mention ...
4
votes
1answer
1k views

6 lines in one inch

I am writing a proposal to the National Science Foundation, and they require no more than 6 lines in one-inch vertical spaces, with 11 pt sized Computer Modern fonts. I am using the article document ...