{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)

2
votes
1answer
73 views

Vertical spacing around theorem environment

Consider this answer from karlkoeller: \documentclass[danish]{article} \usepackage{babel} \usepackage{color} \usepackage{amsthm,thmtools} % Colors. \definecolor{section_color}{rgb}{0.35,0.0,0} ...
1
vote
3answers
86 views

Space after comma in units package

I have a problem with using the units package. In my thesis I used it sometimes in math environment, sometimes not. Now I realized that there is an addition space after the comma in math mode. I think ...
8
votes
2answers
130 views

How do I control parskip within a tcolorbox?

I am using the tcolorbox to provide some beautiful frames around certain parts of my document; I use the parskip to give nice spacing between paragraphs. When I have more than one paragraph inside a ...
0
votes
1answer
50 views

Blank pages after appendices titles

I have a couple of appendices whose title is followed by a blank page before actual content starts (usually in the form of figures or tables). Example (software.tex): \chapter{Software} ...
3
votes
1answer
86 views

\rowcolor truncating cells in table

I am working on formatting a table a coauthor originally created for publication, and running into a problem when trying to color-code rows. The degree symbol in the first data row is formatted in an ...
7
votes
2answers
91 views

Creating Horizontal Lines With A Specific Distance

I'm relatively new at LaTeX. I've read material online and have been practicing. However, I have not been able to find a solution to two of my questions. I'm hoping someone may be of assistance. This ...
1
vote
1answer
24 views

Incorrect alignment when using aligned

I'm trying to TeX some nice equations but there is a strange behaviour when I use an aligned-environment in an align*-environment. I think one little example makes my problem clear: \begin{align*} ...
3
votes
4answers
113 views

Vertical spacing for writing answers

I couldn't find any answers to this issue, so I hope you LaTeX gurus can help me out. I am formatting a study guide with the KOMA scrbook class. Throughout there are (enumerated) lists of discussion ...
12
votes
3answers
268 views

Displaymath environment that can align equations and squeezes math

I have a long equation to align. Without squeezing the math, it is just barely longer than \textwidth. However, the align environment doesn't squeeze the math at all, which results in a badbox. ...
1
vote
0answers
58 views

The spacing of `\to`

Let's say I use \def\searrow{\mathbin{\text{\rotatebox[origin=c]{-33}{$\to$}}}} instead of the \searrow. But \mathbin doesn't seem to provide the spacing that \to has; what should it be? Other ...
1
vote
0answers
44 views

What is the space around a parbox? [duplicate]

I write a short macro which put a picture on the left and a text on the right: \newlength\largeur \newcommand{\uneQuestion}[1]{ \setlength{\largeur}{\columnwidth} ...
0
votes
1answer
40 views

Why my first text line is indented? [duplicate]

Here is my LaTex code: \documentclass{article} \usepackage{amsmath} \usepackage{color} \pagestyle{empty} \begin{document} \definecolor{blu}{RGB}{31,111,130} \definecolor{gren}{RGB}{39,110,13} ...
4
votes
1answer
37 views

Broken footnotes in psp.cls

When I write an article using the psp class for the journal Mathematical Proceedings of the Cambridge Mathematical Society, there's something broken with the footnote markers in the text. The footnote ...
4
votes
2answers
59 views

Section headings overflow gutter

How can I prevent the title from overflowing the gutter? It seems to only overflow by the amount of space introduced by the numbered part of the title. We are using this style: ...
3
votes
2answers
116 views

Align math explanation [duplicate]

Any possibility to align the fractions (units in general) too? Wobei: \begin{flalign*} \noindent \tab \rho _{KOH} & = 2.04 \frac{g}{cm^3} &\\ M_{KOH} & = 56.10 \frac{g}{mol} &\\ ...
4
votes
1answer
63 views

How do I Make a Three-Column Title?

I'm trying to format a title for my document. Normally, I write <Title> \hfill \today, to have a title nicely split into two columns, each aligned at the left and right margin, respectively. ...
7
votes
3answers
152 views

Maintaining alignment between irregularly vertically spaced TikZ matrix nodes

I'm trying to create a diagram with pairs of rectangles of different sizes, each separated by a fixed interval. Additionally, I want each pair to be left-aligned at the same point. Here's an example ...
2
votes
1answer
42 views

Setting the line length for caption

I am trying to use subfigure to put two figures beside each other and unfortunately LaTeX puts them to the right. I used hspace to reduce the space between them and that results in messing up the ...
0
votes
0answers
48 views

Text spacing altered when using minipage

Why does the spacing between words alter when using minipage function ? \documentclass[a4paper, 14pt, oneside]{article} \usepackage{soul} % Used for the title name (eg. title) \usepackage{titlesec} ...
2
votes
1answer
64 views

Local scoping of textfloatsep

I was wondering if you can set the scope of \textfloatsep locally. I have found an old thread on Google groups, which points out that you couldn't. Has that changed by now? So what I want to do is ...
4
votes
1answer
70 views

Bad horizontal spacing when using the fourier/utopia font

Consider the following MWE: \documentclass{article} \usepackage{fourier} \begin{document} If \(0<b<1\). \emph{If \(0<b<1\)}. \emph{If 0<b<1} \end{document} that yields the ...
6
votes
2answers
85 views

too much space with tabto and enumitem

The MWE below indicates the problem. The final item, number 6, isn't aligned correctly (it is pushed some extra space to the right!). This is also the case when I change the number of tabs to 2. ...
3
votes
0answers
73 views

floatrow - remove whitespace beneath figure

I have a page layout with exactly 40 text lines and some small pictures to distribute throughout the text. When I arrange 2 pictures at the page bottom in a row via floatrow and specify their height ...
8
votes
1answer
155 views

Using vspace, with spacing?

When I use the vspace command it won't work unless I put a new, empty line before and after the command. Is this normal? If it is, why is that? Why does it require spacing around the command?
2
votes
0answers
41 views

compute position of each symbol [closed]

I've created a program that generates clickable areas on images with HTML5, taking as input a series of coordinates. Now what I'd like to do is send to that program a .png of a LaTeX expression ...
4
votes
1answer
102 views

Vertical space between two paragraph (only)

I would like to increase the vertical space between two specific paragraphs. These paragraphs are already in a deep section (\subsubsection{}) so I do not want to put each paragraph inside a ...
4
votes
2answers
91 views

Reduce spacing between two (custom) paragraphs in scrreprt

I have defined a custom paragraph named myparagraph to use it as a small, unnumbered headline within my document. The reason is that I like the font of the paragraph heading, which is not as bold as ...
2
votes
0answers
73 views

aboveglftskip in expex linguistic glosses

First of all I am not an expert in using LaTeX, I just started a few months back. I am using MiKTeX with the expex package for glossed linguistic examples. If we take a look at a glossed example, we ...
3
votes
2answers
81 views

Pagebreak at the end of a page

I have reproduced a simple example, which shows my spacing problem. Description: The page is completely filled with text, only 1-2 words go over to the next page, despite it looks as if there was ...
3
votes
1answer
65 views

Beamer listings fragile — Too much space

I am using listings package in Beamer. If I use inline listing, there is no problem and the listings look good. However, if I use \begin{lstlisting}, it is required to use fragile frame and the ...
0
votes
0answers
34 views

Is there a way to compact equations? [duplicate]

I know you can compact titles using: \usepackage[compact]{titlesec} \titlespacing{\section}{0pt}{0pt}{0pt} I want to do something similar with equations, I have a lot of whitespace below and ...
2
votes
2answers
96 views

Why is there only one question on the second page? Using Exam Class

I am trying to format this exam; however, the number of question per page is horrible. There is no logical reason why there is only one question on the second page and several on the next page and ...
1
vote
0answers
62 views

Overall formatting in LyX

I could not find a previous question that dealt with this topic, and much of the guidance is one-off. I am creating a paper and I want the text to be double spaced but not section headings, the ...
4
votes
1answer
53 views

Bullets without itemize ignoring spacing

Easy question for those in the know :) I can produce a itemised list like this \documentclass{article} \usepackage{enumitem}% http://ctan.org/pkg/enumitem \begin{document} \begin{itemize} \item ...
2
votes
1answer
271 views

moderncv: Increase space between cventry

I wrote my CV using moderncv but the entries (in particular \cventry) are too compact for me. I tried to change the parskip but it does not change anything. Could you tell me how could I increase the ...
5
votes
1answer
90 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
4
votes
1answer
81 views

Spacing problem with xpinyin

The xpinyin package provides a way to annotate Chinese characters with their Latin phonetic transcriptions. For characters with multiple pronunciations, one would use ...
5
votes
2answers
86 views

Balanced vertical padding in table & Why does \vphantom has width?

I think I have a simpler & better solution to these questions on how to add vertical padding to tabular cells so they looks less crammed. However, my solution which make use of \vphantom somehow ...
3
votes
0answers
66 views

Frenchspacing not working in footnote

I have \footnote{\textit{Difesa della povera gente}, in: \textit{L’attesa}, p. 81; cfr. \textit{Ero disoccupato e mi hai trovato lavoro}, in: Giovagnoli, \textit{op. cit.}, pp. 232--233.}. which ...
15
votes
5answers
233 views

Behavior of \\ inside center environment

While trying to compile a title page for my dissertation I realized that I do not understand the behavior of \\. Consider the following MWE \documentclass{memoir} \begin{document} \begin{center} ...
6
votes
1answer
80 views

Big Space Before and After Enumerate

I am typing an enumerated list, and when I compile there is about half a page of space between the list and the text surrounding it. The code: and $a,b\in\R$. Then \begin{enumerate} \item ...
3
votes
1answer
56 views

dcolumn with brackets

I am using dcolumn to align cells to the decimal point. But in case of brackets, I always got overfull errors in my main document. If I replicate a MWE with the full preamble, there are no more ...
4
votes
1answer
77 views

how to remove space before List of Figures

How can I remove the space before the List Of Figures in List of Figures page. I am using report class. Thank you
10
votes
1answer
83 views

Extra space due to \patchcmd

It seems that \patchcmd from etoolbox adds three unwanted spaces, as shown below: \documentclass{minimal} \usepackage{etoolbox} \begin{document} \tracingall% 3 spaces in ...
8
votes
1answer
36 views

Superflous vertical spacing after tagging environment

I would like to use the tagging package to tag parts of a document, which not only contain text, but also other environments like enumerate. If I use the taggedblock-environment for this, this creates ...
1
vote
3answers
89 views

Putting spaces between two \arrowvert to indicate cardinality of a group

How to put spaces between two vertical lines in Latex for e.g typing the usual notation of cardinality of a group ?
5
votes
2answers
80 views

Unwanted vertical space before tabular on title page

I worked on my title page, and there is some undesired vertical space before a tabular environment. I made two fboxes to illustrate the vertical distance I wanted to be the same 116 pt. But after the ...
3
votes
1answer
196 views

Control space between paragraph and table in LaTeX

I have large white space between paragraph and table in a LaTeX file, see the following figure. how to control this space? MWE is uploaded in this link MWE the paper should not exceed 1 page
3
votes
2answers
143 views

Vertical space between chapter heading and table

In my appendix I have only chapters followed by one or more tables each. These tables are captioned. But I'd like the tables to begin after the usual vertical space which is put if you simply write ...
8
votes
2answers
307 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} ...