{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
33 views

\newcommand trailing space with tocloft

I have had to add a 'List of Supplementary Materials' to my current document using the tocloft package. I currently have the following code in my preamble: \usepackage[titles]{tocloft} % Create Table ...
2
votes
2answers
42 views

How to ensure that content within a column vector do not touch? [duplicate]

I have some variables defined in a column vector written in mathmode in the usual way $\begin{bmatrix} \dfrac{1}{i} \\ \dfrac{1}{j} \end{bmatrix}$ However, the result shows that they are almost ...
3
votes
0answers
67 views

Remove most bottom space of tabular (or tikz-picture?)

I'm trying to add a table-like structure left of a ganttchart. It appeared to me that labeling every bar with its own tabular of fixed column-width would be the easiest and I got quite close to what I ...
0
votes
0answers
30 views

Border spacing in fancy header

I am using the 'fancyhdr' package. I have both text and images (one in header one in footer). There seems to be some padding / spacing around the text and images. I cannot see where this is coming ...
4
votes
1answer
78 views

Spacing between tikz picture and text

In my document I have several tikz pictures (in different sizes) with explanation next to the tikz picture. To put some text at the side of the picture I use a \parbox{}. My document looks like this ...
0
votes
0answers
36 views

I am loosing vertical space befor and after minipage/parbox/vbox within a list

I have a two column list. Some of the items are supposed to be grouped by a huge brace so I am trying to use minipage or parbox or vbox to group them, however I am loosing the vertical space between ...
4
votes
2answers
78 views

What is the correct way to stack two coffins so that the vertical spacing between their contents is as it would be if they were set in one coffin?

Consider the following Minimal Working Example (MWE): \documentclass{article} \usepackage{xcoffins,kantlipsum} \begin{document} \NewCoffin \MyCoffin \NewCoffin \YourCoffin \SetVerticalCoffin \...
2
votes
1answer
39 views

Make multiline list items line up horizontally

I'm trying to make a list in which each item has multiple lines, and I want the items to line up horizontally, like this: 1. this is the 2. and this is first item in the second item ...
1
vote
2answers
62 views

How to change spacing after section in Table of Contents?

How to change the spacings on picture? Here is my MWE: \documentclass[floatsubsection,equationsubsection,14pt,nocolumnsxix]{eskdtext} \usepackage[T1,T2A]{fontenc} \usepackage[cp1251]{inputenc} \...
1
vote
1answer
51 views

Issue with Chapters Being Included in List of Figures

I was editing a table of contents earlier this week and, thanks to this forum, was able to get most of the formatting down. This post is still about the table of contents, but now it is in regards to ...
3
votes
2answers
24 views

Making \vfill work with footmisc package

I had some trouble getting my footnotes to stick to the bottom of the page, so I used: \usepackage[hang,bottom]{footmisc}. This solved the problem, but for one part of my document I want to place a ...
0
votes
0answers
66 views

Large space between fraction bar and numerator containing \sum with subscript in display style

EDIT: I updated the picture to highlight what I meant. Notice the extra space between the two red lines in the left-most fraction. I'm not sure if that extra space was reserved for letters with a ...
2
votes
1answer
72 views

Remove Leading Dots in Part of Table of Contents

I am currently struggling with a few table of contents issues on LaTeX. I am trying to remove the leading dots on just one part of the table of contents, creating a consistent double-spacing ...
1
vote
0answers
18 views

Section title spacing keep changing

I am using the \documentclass[conference]{IEEEtran} package. My problem is spacing between the sections and subsections are inconsistent. One section title spacing is different than the others. I ...
2
votes
1answer
42 views

Strange space between proof and the next definition

I am experiencing strange vertical spacing between a proof environment and the next definition environment of the amsthm package. For example, \documentclass{article} \usepackage{amsmath} \...
1
vote
1answer
26 views

Line break character in equation code

Equations are sometimes part of the text, for example in \documentclass{article} \begin{document} The Pythagorean theorem is often stated as the equation \[ a^2 + b^2 = c^2 . \...
2
votes
1answer
57 views

Vertically centering a tcolorbox on a page

I'm trying to vertically center a tcolorbox on a page, but with the code below the box isn't exactly at the middle of the page. So far I've tried this: \documentclass[12pt]{article} \usepackage{...
6
votes
1answer
71 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 ...
2
votes
1answer
68 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: \documentclass{moderncv} \moderncvstyle{...
2
votes
1answer
35 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
21 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} \begin{...
0
votes
0answers
22 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
33 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} \caption{...
1
vote
1answer
15 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
29 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
40 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
2answers
51 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
27 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
40 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
55 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
38 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}{!}{ \begin{...
2
votes
1answer
51 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
53 views

How to Remove All Whitespace around text? [closed]

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
61 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 ...
4
votes
2answers
65 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} \begin{...
2
votes
1answer
48 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...
1
vote
1answer
43 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
53 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
39 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
44 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
35 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
47 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
40 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,...
5
votes
2answers
98 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
3answers
43 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} \...
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
24 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
0answers
47 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
56 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. ...