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

1
vote
1answer
34 views

Change the space between words only in section titles

In a section title the spacing of the words seems long to me although I get no warning by LaTeX for underful/overful boxes. How can I change the space between the words, but only in the titles of the ...
2
votes
1answer
33 views

\multirow cell is not vertically centered when \cellspacetoplimit and \cellspacebottomlimit are used

Common cell is not centered vertically. Without \setlength\cellspacetoplimit{5pt} and \setlength\cellspacebottomlimit{5pt}, it is centered. But I do want additional spacing between rows. I can ...
2
votes
2answers
39 views

Decrease vertical space after header in cvlist of currvita

I want to decrease the vertical space between the header of my cvlist and the first item. So "Schulbildung" and the item "Heintz Grundschule Berlin" should be closer than right now. How can I achieve ...
3
votes
2answers
38 views

Can't align my equations properly in my proof

I was wondering if anyone might be able to help me out with a spacing issue that I'm running into whenever I type out a lengthy equation. I'm trying to make my proof of the binomial theorem look clean,...
18
votes
2answers
1k views

LaTeX inconsistent spacing? Is this normal?

\subsection{Third Isomorphism Theorem} Let $G$ be a group, and $N\unlhd G$, $K\unlhd G$ such that $N\subseteq K\subseteq G$. Then $(G/N)/(K/N)\cong G/K$. \subsection{Correspondence Theorem} Let $N\...
2
votes
1answer
23 views

How to properly align multiple rows and columns of plots?

My plots are getting misaligned between the rows because of the negative values on the y axis. They're also way too far to the right. Is there any way to fix this? What it looks like: My code: \...
3
votes
3answers
39 views

Difficulty with long multiline equation

I am typesetting a memoir for a member of the Royal Society, who has provided me with a hand-written copy. All was going well until a slightly too long multiline equation: \documentclass{article} \...
5
votes
2answers
86 views

How to move the chapter title upwards on page?

How can I get the chapter higher on the page in order to get as many words as possible per page. Here is my MWE of what I am talking about. \documentclass[12pt]{book} \usepackage[pass,showframe]{...
3
votes
0answers
46 views

Propagating fill values to Beamer columns

I would like to be able to use lengths with fill glue inside a Beamer column (or, for that matter, inside a minipage) in such a way that the finally assigned length is consistent inside and outside ...
3
votes
1answer
261 views

How can I customise the table of contents like so?

I face a problem of spacing between items in my table of contents. This is what I have at the moment: I would like to change a few things: I want to put table of content in center I want to put ...
4
votes
0answers
52 views

Spacing around gather when math color is given

I am trying to get rid of the spacing around gather/align environments in a Beamer presentation. As usual, I set the abovedisplayskip & friends registers to zero with \g@addto@macro\normalsize. ...
1
vote
1answer
38 views

How can I adjust the bounding box of a (complicated) tikz-cd diagram?

This question is related to my previous post (the MWE can be reused from there), and the links provided there. I'm trying to draw a (complicated) diagram using tikz-cd, including big, curved arrows, ...
5
votes
2answers
158 views

Indentation superfunction LaTeX

There are a lot of questions on here that are about indentation and I feel like what most people are looking for is something similar to the following. It would be nice to have some sort of function ...
2
votes
1answer
47 views

BibTex: URL:s gets weird whitespace

Whenever I cite an online source in my text I encounter strange whitespace. For instance this reference: @ONLINE{factsheet, author = {Rachel Gill}, title = {Muscular dystrophy: how could stem cells ...
6
votes
1answer
107 views

How to type rectangle norm symbol in math?

How can I write the rectangular norm symbol in math-mode where the text in between is centered, as seen hereinafter?
4
votes
1answer
104 views

How do I control the spacing between two tikzpictures?

If I have two tikzpictures next to each other, how do I control the spacing between them? \documentclass{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture}[scale=1.5,>=latex, font=...
18
votes
5answers
17k views

How to input open intervals

I want to write open and half-open intervals using the following notation: ]a, b[ ]a, b] ]-∞, b] When writing them just like that in the LaTeX source, the spacing doesn't come out right. For ...
17
votes
4answers
12k views

How to change the line spacing in my list of figures?

I am using the book documentclass and have a list of figures. After much trouble I noticed that there is a blank line to separate figures that are in different chapters, but not if they are within the ...
2
votes
1answer
105 views

Align numbers on decimal point in tabular

I am trying to align numbers on decimal in tabular. I have found some information here:align to decimal point in the table. However, when I adopt that code into my table, it gives an error: ! ...
0
votes
0answers
18 views

Icon alignment with respect to figure page

I am creating a figure which has an icon on the side. I am using minipage within the figure environment for this purpose. \begin{figure}[!hbt] \marginnote{\includegraphics[scale=1]{icon.png}} ...
1
vote
1answer
24 views

How to change this specific TOC margin in memoir

How to edit this specific margin in the book I have been editing... The red arrows in the pictures below....because the TOC of this book is kind of long so it goes to the next page, and I believe that ...
0
votes
0answers
22 views

A large (curved) arrow is causing my tikz-cd diagram to have too much space on one side. How can I fix this? [duplicate]

I use tikz-cd to draw commutative diagrams, and recently needed to draw a diagram of the following form (this is a MWE): \documentclass{standalone} \usepackage{tikz-cd} \begin{document} $$ \begin{...
4
votes
0answers
8 views

1pt vertical space after/before \includegraphics [duplicate]

Where does the approximately 1-point vertical white space between subsequent figure rows come from? You may see it in my MWE only if you zoom in between the rows. I have tried a couple of things to ...
2
votes
1answer
14 views

Combination spacing

I need to show the multiplication of two combinations. Code: $_4\rm C_2\times_7\rm C_2$ Output: As you can see, the spacing is strange and hard to read (the '7' is far to the left). How can I ...
3
votes
1answer
24 views

Odd parenthesis spacing in beamer

I'm using Beamer for the first time. \documentclass{beamer} \usepackage{polyglossia} %\usepackage{setspace} %\usepackage{parskip} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amssymb} \...
0
votes
2answers
40 views

Inconsistent vertical space after first \begin{equation*}

The AlignBox environment from this TeX.sx answer can produce several consecutive equation* environments (when several pre-declared equation lines are inserted). When the paragraph preceding the first ...
0
votes
1answer
49 views

How do I finish Horizontal space in the line next the heading line?

A horizontal space is inserted in next line of using \myheading command.(i.e before 1: in the below example). How do I finish this space? \newcommand\myheading\[1]{\par \bigskip \hrule ...
7
votes
3answers
97 views

Measure remaining space on page and use it on another page

I want to measure the remaining space and use that number on another page. I tried the following: \documentclass[a4paper,12pt]{article} \usepackage[top=2cm,bottom=2cm,hmargin=2cm]{geometry} \...
0
votes
1answer
29 views

Vertical Spacing After NewEnvironment Definition

How can I modify this, \newenvironment{definition}[1][Definition]{\begin{mdframed}\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}]}{\end{trivlist}\end{mdframed}} so that a newline (vertical ...
1
vote
0answers
42 views

Expand top margin of single page - ToC

I have a ToC with only a few lines too many to be in one page. I wish to get everything into one page and still looking good. With \addtocontents{toc}{\protect\enlargethispage{\baselineskip}} that ...
1
vote
1answer
32 views

How to remove extra blank line after one entry of bibliography (I am using apacite)

I am using apacite and BibTeX to create my bibliography / reference section. However, after one of the entries, there is an extra blank line. If I remove one character that is on the last line of ...
1
vote
2answers
38 views

While using \tab, long line of text jumps to the next line inside an itemize environment

In order to write a description of a list of items inside an itemize environment I use the \tab command. However it produces pretty large spaces, making long lines of text jump to the next line, as ...
0
votes
1answer
27 views

White space under float, again [closed]

I know this is a recurring theme, but any help is most welcome... I can't get rid of the white spacing. I think it getting generating by the "!" command in [!ht]. However is just not possible not ...
0
votes
1answer
66 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
1
vote
0answers
32 views

How to get rid of the extra spacing before figures?

I'm using a custom class which bases on the a4paper documentclass. When I add a table or a figure which doesn't have enough place on the current page, it is moved to the next one. This is fine for me. ...
0
votes
1answer
38 views

Spacing between items in quote environment

I am wondering how to change the spacing between block quotes within one single quote environment. I would like to change this globally, and without having to use an environment other than quote. ...
3
votes
1answer
47 views

gb4e: phantom, spacing

In order to provide my interlinear examples with a preamble line providing context, I use \pream and \pglt from gb4e: remove extra space below preamble/header lines. This works perfectly fine, unless ...
3
votes
1answer
42 views

Paragraph delimiters that disappear at the tops and bottoms of pages (like \vspace)

Books of poetry, or collections of short prose expressions, are often delimited by ornaments. I would like a command that inserts an ornament between paragraphs, but that disappears at the top or ...
31
votes
4answers
86k views

How to add an empty line between paragraphs?

I have two sections which I'd like to separate by an empty line. Every time I press Enter, LyX removes that empty line between paragraphs. How do I prevent this?
6
votes
2answers
2k views

Shift page up slightly. Can't get \enlargethispage*{-2\baselineskip} to work

How would I shift up my 2nd page to the 1st page? There seems to be a lot of space left on the 1st page but I can't get the 2nd page to move up to the 1st page. I tried using \enlargethispage*{-2\...
1
vote
2answers
46 views

Package parskip to add more (or remove) vertical space

If you want vertical space between your paragraphs and no indentation, then as I have seen, the best solution is to use the parskip package. But in the documentation that package has no options, so ...
1
vote
0answers
27 views

Fix spacing of a chemfig in tabular environnement

I have a tabularcontaining several chemical formulas and unfortunately, even though the text is spaced correctly the molecules touch the border like this: Code : \subsubsection{Groupes} \begin{...
3
votes
1answer
40 views

Space below the box in mdframed package doesn't appear

I am using the mdframed package along with the options skipabove and skipbelow and although the vertical space above the box is appearing, as it should, the space below does't appear! What am I doing ...
0
votes
0answers
30 views

Extra Space in beginning of Reference

I am facing an issue in my PhD thesis. Reference 1 & 4 are fine, in 2 and 3 there is a extra white space in beginning (i.e) after the reference number. Source Code \begin{thebibliography}{99} ...
0
votes
0answers
22 views

How do I remove extraneous whitespace after a section heading?

No matter what I do, I can't make the extra whitespace in the right column go away. I want the paragraph to be just below the heading, but Latex keeps trying to align the bottom of the columns. How do ...
5
votes
3answers
114 views

Align equal signs too much spacing in cases

I am trying to write two equations that will be aligned at the equal signs and also connected together at the left with a curly bracket (like a piecewise definition), but when I use the \begin{cases} ...
8
votes
1answer
86 views

Irregular spacing around a user-defined environment

I have defined an environment for consistently typesetting a pair of alternative assumptions being made. The idea is that wherever I make an assumption, the assumptions are indented and on the left ...
4
votes
1answer
1k views

Reduce space before and after an environment

A simple(?) question, how do I reduce the space before and after a environment? I suppose I'm after a redefine environment command that I can put at the top of my document. Example I'm using ...
1
vote
1answer
303 views

Vertical Spacing inside theorem environment

I am using theorem environment to separate different exercises assigned as homework. So my plan is to write exe's description, move a few lines below and then give my solution. I am using \vspace{3cm} ...
7
votes
4answers
100 views

Uneven spacing around blockquote

For my dissertation, which I am in the final stages of formatting, I am required to use double-spacing for the main text and single-spacing for blockquotes. But this has somehow produced the annoying ...