{spacing} is about both horizontal and vertical white space, e.g. space between letters or words, or space between paragraphs. For adjusting the space between the lines of a document, use {line-spacing} or -- if your question is specifically about the package of the same name -- {setspace}.

learn more… | top users | synonyms (2)

4
votes
2answers
113 views

Why is the spacing changed through {}?

In the last time I used TikZ and i was a bit surprised in the spacing in some nodes, \documentclass{standalone} \begin{document} $-\alpha \qquad {}-\alpha \qquad \underbrace{\alpha}\cdot \omega ...
11
votes
3answers
20k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = ...
2
votes
1answer
485 views

Glossaries list - no separating lines

I am trying to produce a list of acronyms and definitions in which each entry is at some distance from the previous one. Distance of two lines worked out of the box and I am happy with it, but it is ...
2
votes
1answer
184 views

How to move frame down in LaTeX?

I am writing one article using top and bottom margin. \usepackage[top=.5cm, bottom=.8cm, left=1cm, right=1cm, includefoot,showframe]{geometry} I observe some spacing between frame and footer ...
5
votes
1answer
228 views

Vertical spacing below block quote should be retained even if footnote follows

In my text, block quotes have noticeable vertical spacing from the text above and below. When there is a footnote, this property is violated; I would like to restore it. (And I think this formatting ...
1
vote
1answer
125 views

How To Fill Leftover Space

I am making a fairly space intensive LaTeX "cheat sheet." Right now, I have added a single table, as so: However, there is a large gap to the right of this table that I would like to fill with a ...
1
vote
1answer
402 views

Increasing vertical distance between bibliography items [duplicate]

Numeration in the bibliography looks like 1. Book1 2. Book2 I want to change it to [1] Book1 [2] Book2 Also, I would like to increase a space between separate item. I'm using the ...
10
votes
2answers
304 views

Uneven spacing around a hyphen in sans-serif?

I am used to writing the names of categories in sans-serif. Thus, for the category of R-modules, I have been using $R\textrm{-}\textsf{Mod}$ However, the kerning/spacing this produces has never ...
3
votes
1answer
2k views

Controlling the indentation of the second line in a list

I'm using enumitem to label text, and I'd like the text to all be aligned to the same indent as the first line in the list. The second line begins underneath the label. I'm sure there's a simple ...
1
vote
1answer
174 views

How do I insert an empty line? [duplicate]

How can I add an empty line between to paragraphs, thus separating them more strongly?
5
votes
1answer
503 views

Unwanted space between beamer colorboxes

I'm trying to create a beamer theme that has some colored boxes at the very top and bottom of each slide. So far, I have copied the default theme and added an empty beamercolorbox to it. While this ...
4
votes
2answers
142 views

Problem with content location with standalone package

I'm trying to create multiple pages with varying page heights using the standalone package. When I try to run my file (using XeLaTeX on a mac) the content gets shifted up and to the left so that it's ...
3
votes
2answers
101 views

How to avoid unwanted Spaces in \NewDocumentEnvironment?

I tried to make my own "quote"-Environment and I wanted the first Letter to be bold and a little bit bigger than the rest. As \lettrine doesn't work the way i wanted, i tried to code it on my own. ...
2
votes
1answer
182 views

How to make a circular arrow have the same size and position as other circular symbols?

I'm using the mathabx package's circular arrows; however, since I otherwise prefer the usual amsmath symbols, I'm following the setup described in Importing a Single Symbol From a Different Font to ...
6
votes
1answer
1k views

vspace equivalent of newline

I am writing one report using LaTeX and R. I just found \vspace can be used for \newline. May I know how much \vspace == \newline? \vspace{x cm} = \newline x = ?
8
votes
2answers
1k views

How to set the space between rows in a table

This is the Latex code I have to create a table: \documentclass{article} \usepackage{amsmath} \usepackage{tabularx} \usepackage[top=0.5cm, bottom=0.5cm, left=0.5cm, right=0.5cm, ...
7
votes
2answers
443 views

Ensuring a paragraph uses at least a given height?

I'm making a custom document class based on memoir, and I don't know how to implement the chapter precis so that it does what I want (the chapter precis is a small optional paragraph that follows ...
8
votes
1answer
858 views

Controlling parindent in enumerate inside customized list environment

I'm trying to control the indentation of paragraphs in an enumerated list that is inside a customized list environment. I find that changing \parindent in the inner list has no effect. Here's an ...
3
votes
1answer
125 views

Vertical spacing problem with multicol package and a newcommand

The following code produces and unwanted space. Why and how can it be avoided? A redefinition of the command or macros are invited. \documentclass[letterpaper]{article} ...
3
votes
2answers
194 views

Ellipsis without brackets — fine tuning

Very much related to this question and its answer, I would like to ask the following: If I want to indicate omissions in a quotation not by using Text [...] more text. but instead by using Text ... ...
14
votes
1answer
279 views

Dedicated symbol for […] in quotations?

I would like to use [...] in quotations to indicate a part which was not included. Just entering [...] does not render it perfectly in my opinion. Is there a special way of inputing said symbol? ...
2
votes
1answer
2k views

Spacing problem while using itemize in minipage

I am using itemize in minipage and observe unexpected spacing among items. \documentclass[11pt,table,a4paper]{article} \usepackage[framemethod=TikZ]{mdframed} \usepackage[top=.5cm, bottom=2cm, ...
0
votes
0answers
57 views

How to avoid having to use the tilde with every macro? [duplicate]

I am relatively new to LaTeX, so please bear with me. I have just started using macros and finding them quite useful. However, I find myself having to use the tilde (~) a lot of times to get a space ...
2
votes
1answer
255 views

Use headings in letters / vertical space

I need to use headings in a letter, more precisely in documentclass dinbrief. Knowing that LaTeX does not support section or subsection commands in this document class I use the following workaround: ...
1
vote
1answer
114 views

How to use soul with glossaries to space-out acronyms?

I want to increase the spacing between capital letters of acronyms inside text. Acronyms are printed by \ac, \acs, etc. commands of the glossaries package. soul package provides a nice command \caps. ...
8
votes
2answers
544 views

How can I use color in a mathematical expression without losing horizontal spacing?

How can I use color in a mathematical expression without losing horizontal spacing? \documentclass{article} \usepackage{xcolor} \definecolor{red}{HTML}{dd0000} \begin{document} \[3+(-5)-2+3\] ...
6
votes
1answer
782 views

Annoying paragraph spacing issue with memoir

I have a spacing issue while using the memoir class. The main problem is that after the first paragraph there is a line skip and an indentation and afterwards, all the paragraphs are indented properly ...
1
vote
1answer
66 views

Forcing all content into 2nd column

I'm working in landscape,twocolumn mode and am using Latex to make a programme for an upcoming event. Since it is the outside of the programme I need the cover info to only be on the right hand side ...
3
votes
1answer
5k views

How to change spacing between columns for just one page in the document

I'm using the multicol package for my columns. So far, I have \setlength\columnsep{10pt} in the preamble to set the default column separation. But for one particular page, I'd like to set the ...
2
votes
1answer
127 views

Equal spacing between equations on a page

I am writing a short quiz for my students in LaTeX, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int ...
1
vote
1answer
466 views

Latex: Equal spacing between equations on a page [duplicate]

I am writing a short quiz for my students in latex, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int ...
4
votes
1answer
229 views

\xspace and hyphenation

I was considering to use xspace for some common standard terms in my document, like: \newcommand{\ring}{my secret ring\xspace} I am now wondering, if hyphenation gets it right, when I do this? ...
14
votes
2answers
543 views

How does \\ suppress spurious spaces while \par\noindent doesn't

I'm trying to build a description-list-with-header-line by using a macro. In the non-MWE, the macro adds additional value like index entries and margin notes, but here I have the simplest case ...
4
votes
0answers
56 views

Block environment with empty title in Beamer: how to reduce empty space at the top [duplicate]

I'm using the LaTeX beamer class to write a presentation. I'm placing vertically aligned equations inside a block environment without a title. When I do this, I get extra empty space at the top of the ...
1
vote
2answers
766 views

Empty space after adding an image [duplicate]

After adding an image I have an empty space. How can it be reduced? I used \FloatBarrier. But it did not worked. % Following copied by Marc van Dongen from comment from OP. ...
19
votes
1answer
1k views

Different vertical spacing (parskip) between concurrent section titles and paragraphs

I'm trying to remove the spacing between section headings, but maintain the paragraph to section heading spacing. Even though I set titlespacing before and after to *0, there is still spacing - quite ...
3
votes
1answer
578 views

Adding floating space between main text and footnotes

I have to typeset a text with several widows and lots of footnotes. The editor told me to leave an additional blank line between the main text and the footnotes and to use this space to print the ...
9
votes
2answers
130 views

create text blocks with zero pt leading

What I want to achieve is a text block with zero or, better, nearly zero leading and with searchable text. The above example is a tikz picture, created with inkscape and exported to tikz. My own ...
1
vote
0answers
47 views

Space between a|b in math mode? [duplicate]

For a context free grammar I need to write: A -> a | b My code for this is $ A \rightarrow a | b $ however this gives me something like A -> a|b // wanted: a | b, note the space before ...
5
votes
2answers
157 views

Parsing leading hardspaces

This question is related to (but distinct from) this question: Parsing a \$ as part of an improved \getargs command, which I asked earlier. I am experiencing a residual space in a string result from ...
5
votes
1answer
298 views

Margin note beside heading

I would like to insert a hyperlink or two for each heading and I would like to have them inserted into the margin such that they are aligned with the header. I was hoping to create a command which ...
2
votes
1answer
305 views

Spacing in flalign affected by mathpazo

I got the following (partly shorted) equation: I would like to get rid of the space left of the equation (left of Q') so that the label (0.2) fits on the right side. \documentclass[ a4paper, ...
2
votes
1answer
227 views

How to decrease the space after figures [duplicate]

I want to reduce the space between Figure description and text.
0
votes
1answer
6k views

How to reduce the space before & after \section and \subsection [duplicate]

How to reduce the space before and after titles specified by \section and \subsection \subsection \section
4
votes
1answer
188 views

Incorrect vertical spacing inside a mdframed environment

I have some problems about vertical spacing before and after some environments inside a mdframed environment. It is as if topsep=0. The insertion of \setlengh{\topsep}{8pt plus 2pt minus 4pt} fixes ...
6
votes
1answer
543 views

How to remove unnecessary space after flalign* environment

I was wondering whether it would be possible to remove some unnecessary space after flalign* environment. I tried using \belowdisplayskip, but to no avail. Below is the sample input. ...
0
votes
1answer
155 views

Table cutting off fractions [duplicate]

I am having some problems with my table cutting the tops and bottoms off of my fractions. See image. The horizontal padding seems fine as is, but I couldn't figure out how to increase the vertical ...
2
votes
2answers
974 views

How to horizontally top-align multiple \tikzpicture's without using \hspace?

The use case I'm having is the following: \documentclass{article} \usepackage{amsmath} \usepackage[showframe]{geometry} \usepackage{qtree} \begin{document} \Tree [.A B C [.D E ] ] \Tree [.F [.G H ...
4
votes
2answers
567 views

Restoring qtree spacing in tikz-qtree

Is it somehow possible to achieve the same node spacing in tikz-qtree as in the original qtree package? Compare the two: qtree: tikz-qtree: The spacing between nodes in one level should be the ...
4
votes
0answers
444 views

Overlapping label and text in description environment [closed]

I'm relatively new to LaTeX, and I am having this problem with the description environment: \documentclass{article} \usepackage{amsmath} \usepackage{bm} \usepackage{IEEEtrantools} \usepackage{amsthm} ...