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

7
votes
3answers
157 views

Alignment in equation environment

I am not able to align equations within a curly bracket. My code is the following: \documentclass[12pt, A4paper]{article} \begin{document} Consider the following: \[ P\Big[\frac{1}{2}+\mu \Big ]=\...
0
votes
1answer
23 views

white space after figures [duplicate]

I tried to remove the white space after figure using \setlength\belowcaptionskip{-10pt} but it didn't work. any help? \begin{figure}[H] \centering \includegraphics[width=0.8\linewidth]{figure/example-...
7
votes
0answers
67 views

No vertical spacing between TikZ Pictures

I would like to have absolutely no vertical space between the two TikZ Pictures. I could use for example \\[-1pt] but I don't know if 1pt is really the exact value... (so I removed it from the code)! ...
0
votes
0answers
14 views

Increase horizontal space in a figure created with algorithmic

I'm writing a pseudoalgorithm, but due to long names and function calls with many parameters, some lines of the code become too long and parts of them are out of the right side of the page. I can't ...
5
votes
2answers
271 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
6
votes
2answers
243 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
2
votes
1answer
61 views

texorpdfstring with two arguments

The space between the first and the second chapter is different. I know the issue is with the newcommand \chapterAndAuthor with the texorpfdstring command. I added the command texorpfdstring to get no ...
3
votes
2answers
44 views

List of listing space before title

I know I can control the space of my listing titles with: \setlength{\cftbeforetoctitleskip}{35pt} % TOC: Table of Contents \setlength{\cftbeforeloftitleskip}{35pt} % LOF: Listing of Figures \...
2
votes
1answer
36 views

How do I use intersentence spacing in chapter/section names with hyperref?

I use Vim + vimtex + latexmk + xelatex. When using an acronym in a chapter name, Vim brings up this lint: Intersentence spacing (`\@') should perhaps be used. MWE: \documentclass{report} \...
4
votes
1answer
254 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
25 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
39 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
29 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
69 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
24 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
169 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
44 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
22 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
161 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
43 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
52 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
41 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
38 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
60 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
356 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
50 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
26 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
31 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
62 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
43 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
60 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
29 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
53 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
55 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
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
38 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
64 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 ...