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

6
votes
1answer
57 views

Determine a particular font's spacing

I'm typsetting emojis in xetex and I found this great library called xelatexemoji (on github). But when I use different fonts, the spacing around the included graphic changes. As I've seen in various ...
1
vote
0answers
23 views

Place a specific part of the text in a certain horizontal coordinate

I am new to Latex and I am using a function in moderncv, \cvitemwithcomment, that requires three inputs and print three texts. In my case, what I insert is: \section{Languages} ...
1
vote
1answer
27 views

Fixed position for boxes at the body area

First of all, I'd like to find a solution without Tikz (PGF) because I'll share this file and people could not be able to install additional packages. So simplest solution could be good. I'd like to ...
3
votes
1answer
17 views

Imposing negative spacing between columns in alignat environment

I have the following code (don't mind about the lyrics: they are included just for comparison between text and math mode): \documentclass{article} \usepackage{amsmath} \usepackage{bm} ...
0
votes
0answers
19 views

the word symbols stick with the rest of the nomenclature

I am doing the nomenclature. The word symbol sticks with the rest of the nomenclature as the word subscript superscript and acronyms. I would like to set a little space. Do you know how to do it? I am ...
1
vote
0answers
27 views

Remove white space around subfigure on book class document

I have the following to include two sub figures side by side: \begin{figure}[H] \centering \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.6\linewidth]{figure1.png} ...
1
vote
1answer
13 views

Why do each of the pages after the first drop down a little? [duplicate]

I tried to do a custom header on the first page and then just a regular footer on every page by copying things from other people's questions. But when I compile the first page looks fine but all the ...
0
votes
0answers
28 views

How can I get space between my integral expression and du? They always look crammed together [duplicate]

How do I get a space between my integral expression shown here and the du expression? When I compile this or any other similar expression the du is right next to the parenthetical or radicand or ...
1
vote
0answers
36 views

How to move the word Content on the top of the page

I have two problems. 1.I would like to move the word Content on the top of the page. The word content is the table of content. 2. The second problem is regarding the space between each paragraph ...
1
vote
1answer
30 views

Space between text and its following figure

How can I make some space between the text and its following figure? (Only once and not for the whole document).
1
vote
0answers
17 views

pgfplotstable, multicolumn sp

I am trying to make a table (code below) that should contain three headings and five equally spaced sub columns but the one on the far right does not want to agree. If I make the really long heading ...
1
vote
0answers
33 views

Add spacing between every second bar tikzpicture

So I've created this chart below from a .csv file with the code at the bottom. However I would like to add some spacing between the 2&3 bars and 4&5 bars. Is this possible or do I need to ...
3
votes
1answer
45 views

Why are the Spaces Between Footnotes So Large? (tcolorbox)

I am using tcolorbox to create numberless footnotes to put math definitions at the bottom of the page. The point is that they're supposed to be noticeable and readable, but not so large as to take up ...
2
votes
1answer
21 views

pgfgantt title spacing

I have the code below which produces the titles as in the attached image. As you can see the month names are squashed, how can i fix this please? Thanks. \noindent\resizebox{\textwidth}{!}{ ...
2
votes
1answer
47 views

How to skip baseline in equations?

I used the following code to resemble the formula on the right hand side of the picture, but I get the left hand side in which the columnar matrix is too tall! \documentclass[12pt]{book} ...
0
votes
1answer
49 views

How to Remove All Whitespace around text? [on hold]

I would like to remove all spacing around text. Vertical and horizontal. I have solved this problem before but I cannot find the source. I want to read the document on my phone's screen which is ...
2
votes
3answers
56 views

How to insert vertical whitespace above and below a tabular environment

I used a tabular in middle of text, but there is little (vertical) space around the table inside the text. How can I increase the margin of this tabular (the distance between horizontal lines of table ...
3
votes
2answers
49 views

Tables: font size setting for all the cells and \arraystretch

I'm trying to create tables with small font size text in cells and large space between rows. If I put \small in every cell, the command \renewcommand{\arraystretch}{1.3} works, but if I try to put ...
1
vote
0answers
30 views

Large spaces between words in subsection title [duplicate]

I have a problem with the spacing in the header of a subsection. Only this particular heading has large spaces. It looks like this: Here is MWE: \documentclass[11pt,twocolumn]{article} ...
1
vote
1answer
21 views

Reducing vertical space after algorithm2e

My document currently looks like this: As you can see, there is a very large vertical space between my text and the algorithm2e object. How can I reduce the spacing between these?
2
votes
1answer
38 views

Setstretch for a table

I am trying to put a list inside a table, using paragraph mode, but the space between the items is too wide, so I was thinking about using the setstretch{} command. Do you know how can I set it in the ...
1
vote
1answer
33 views

Nomenclature double interline… why?

unfortunately I have some issue with the nomenclature. It works fine but I have double interline between each nomenclature. Could you help me please? How to get a normal nomenclature? I attaching the ...
0
votes
2answers
36 views

How to remove top sep line in chapter and empty pages?

I am trying to remove the top sep line (I want the bottom still to be there) for chapter and empty pages only while using KOMA. I hope someone can help me.
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
2answers
32 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 ...
5
votes
2answers
79 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} ...
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} ...
16
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 ...
2
votes
1answer
18 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: ...
2
votes
0answers
35 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 ...
4
votes
0answers
50 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
33 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
155 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 ...
4
votes
1answer
93 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, ...
2
votes
1answer
101 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
17 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
12 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} $$ ...
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
13 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
21 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
31 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
26 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 ...
6
votes
1answer
102 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?
7
votes
3answers
90 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} ...
2
votes
1answer
42 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 ...
0
votes
1answer
47 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 ...
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
29 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 ...