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

Negative phantom inside equations

The following code produces a negative phantom (from the comment in this answer): \newcommand{\negphantom}[1]{\settowidth{\dimen0}{#1}\hspace*{-\dimen0}} However, when used inside an equation like ...
0
votes
1answer
23 views

Long limits overhang and cause a symbol to become too wide [duplicate]

Sometimes I need to make a union with a long subscript specifier at the bottom like so: \documentclass{article} \begin{document} \begin{equation*} \bigcup_{a \in \{\text{set that is very wide}\}...
2
votes
0answers
36 views

Define text box so that it consumes the rest of the page

I have several images stacked on top of each other for a title page. An MWE \documentclass{report} \usepackage[paper = letterpaper]{geometry} \usepackage{tikz} \usepackage{pgf} \usepackage{mdframed} ...
1
vote
1answer
26 views

For programming a command: emit \newline iff we are within a paragraph

Short version: I am defining an environment: \newenvironment{myenv}{\begin{trivlist}\item}{HERE something\end{trivlist}} Now at the point marked with "HERE", I need a "conditional newline" doing ...
2
votes
1answer
62 views

color packages change my spacing

I have a problem with loading color packages. I have started my document some time a go and I have around 90 pages. Just now I wanted to add some code listings with colors so I loaded color package. ...
0
votes
0answers
14 views

I'm creating a bibliography page on latex and it compiles two blank pages in between references. How can I fix it?

This is the code: \nocite{*} \let\cleardoublepage\clearpage \bibliographystyle{abbrv} \bibliography{ref} [![pg 2][2]][2]
0
votes
1answer
23 views

When I use package floatrow, option skip of package caption doesn't work

Using this piece of code, I define a demo figure and its caption, \documentclass{book} \usepackage{graphicx} \usepackage{caption} \captionsetup{ } \begin{document} \begin{figure} ...
0
votes
0answers
8 views

Reducing the width between the section space [duplicate]

I came up with a minimum MWE to explain my predicament. I wish to reduce the space in between the sections as demarcated below: \documentstyle[12pt]{article} \setlength{\oddsidemargin}{0in} \...
4
votes
2answers
152 views

\vspace* (star) moves text above it

\documentclass{article} \begin{document} aaa \vspace*{100cm} bbb \end{document} I would expect aaa to be placed at page one, then to see 100cm of white space (distributed over many pages) and ...
3
votes
1answer
43 views

Spacing for weighted limits

I'm naively trying to typeset a weighted limit using \varprojlim ^W F, but the output I get is the one on the right instead of the one on the left below. How to fix this?
0
votes
1answer
15 views

Decrease vertical space between cventries

This must be easy for you, but I am quite unable to get it right. Here is my code: \cvsection{Education} \begin{cventries} \cventry {B.S. in Computer Science and Engineering} % Degree {POSTECH(...
4
votes
3answers
152 views

How to reduce the spacing in chemical symbols?

Currently, if want to write a chemical symbol, for example, ${}^{239}Np$, this is what I type in: {}^{239}Np. The result: But it looks bad, I feel as if the "N" and "p" should be closer, or a ...
1
vote
0answers
41 views

Removing the blank space after a definition (or something)?

already I researched a lot about it, but found nothing. Could you help me remove this white space to be between intem 3 and paragraph ("Quando não ....."). I thank you
3
votes
1answer
44 views

Widths of columns do not sum up to totalwidth of the columns environment

On a beamerposter I am embedding a few blocks within columns. My issue now is that their widths do not seem to add up correctly. In particular If I have two columns 10cm wide, the whole thing will be ...
8
votes
1answer
38 views

Unbalanced spacing with braces in mtpro2

The code $\LEFTRIGHT\{\}{S_n}$ produces whereras the code $\left\{ S_n \right\}$ produces . Is this a bug or feature? As the content in the braces grow larger, the visual effect of the unbalance ...
2
votes
2answers
37 views

Table columns merging when using fixed size

I'm writing a table that's too wide for the page, so I tried using a fixed width for the columns, but when I do that two columns merge into one: And a MWE: \documentclass[a4paper]{abntex2} \...
0
votes
1answer
19 views

push contents of top-left cell little downward?

I am going through different tutorials and Q&A, but no luck yet. I am new to Latex, and hence not aware of many packages, and not sure why some change is not coming into effect. Currently, I have ...
4
votes
2answers
51 views

How to force vertical space in tex4ht? \bigskip and \vspace have no effect

I am generating lots of tables one after the other, and noticed the tables in HTML generated by tex4ht are touching each others, and wanted to have some vertical white space between them to separate ...
5
votes
2answers
355 views

Three very clearly separated elements on a single line

I have three short bits of text that I want to put on a single line, in a centered way; more precisely: I want the first bit to be "left justified", i.e. to start at the leftmost part of the line. I ...
2
votes
1answer
39 views

Change Title Spacing

I am currently trying to fulfill the layout requirements of my university, which request vertical spacing of 24pt before and 12pt after section titles. I am using the titlesec package, but every time ...
1
vote
1answer
25 views

Achieving local `@fptop` within a custom float

I would like the following policy: The top of figure and table page-floats should be 15% down the page (and ideally able to move higher if the figure is more than 85% of text height). A custom ...
1
vote
0answers
29 views

How to make columns start with a space to the header?

I am making a document with two columns. I am trying to make both of the columns start a distance below the header on the first page. Any help will be appreciated. \documentclass{article} \usepackage{...
1
vote
0answers
59 views

Big blanks in document, why? [duplicate]

The following code uses a command \unit which is defined as: \newcommand{\unit}[1]{\pagebreak \section{Unit: #1}} A unit is therefore just a section that starts on a new page. \unit{How to use a ...
1
vote
1answer
39 views

newcommand defined on multiple lines creates extra white space

When I define a \newcommand over multiple lines, I get unwanted white space in my output. How do I make it so I can write a long command, but still make it readable, without getting the extra white ...
1
vote
1answer
52 views

newcommand titlespacing

To generate space between \section i am using \titlespacing*{\section}{0cm}{1cm}{0.5cm}, doing the same for subsection. Is it possible to generate titlespacing between own commands? I need three blank ...
5
votes
0answers
37 views

Spacing between titles depending existence of subsection

By normative control standarts, spacing between title of a section and one of a subsection (similarly for subsection/subsubsection) must have length 0.8 cm and spacing between any title and a text ...
0
votes
0answers
26 views

Tabular Cell Vertical Centering: \hline

I find that \hline skews vertical centering. What can be done such that cells are symmetrical when using hlines between rows.
4
votes
1answer
52 views

Mysterious blank space appears in text when align evironment followed by figure environment

When using an align environment and subsequently a figure environment in Latex code in the resulting pdf appears suddenly a blank space where in code the figure environment resides. Why does this ...
1
vote
1answer
54 views

baseline seems to change automatically [closed]

I don't have a MWE, since this appeared on the bottom of page 12 of a document I'm working on (by surprise). I'm just wondering if anyone will recognize what's going on. It looks to me as though the ...
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
38 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
62 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
29 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
68 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
29 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
77 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
34 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
53 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
22 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
59 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
65 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
41 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} \...
2
votes
1answer
52 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
70 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
66 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
33 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
20 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{...