Skip to main content

Questions tagged [spacing]

{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}.

4 votes
2 answers
38 views

Specific formatting in the table of contents

I am trying to make a few subtle changes to the default table of contents in document{report}. I need the table of contents entries to adhere to the global \doublespacing, except for when an entry ...
lionSpyre's user avatar
2 votes
1 answer
24 views

Eliminating vertical space around sections within mixed columns

This question is specifically about eliminating the vertical spacing around section elements within a mixed columns block (ConTeXt version 2025.07.08 17:48). Example: \setuphead[section][after=\...
Bill Garrett's user avatar
1 vote
1 answer
13 views

Latex merge vertical spacing

I'm writing a command so as to design a type of paragraph starting with a non-indented title and with some minimal spacing before it. \newcommand{\loctitle}[1]{\medskip\noindent\textit{#1.}} But ...
Arnaud's user avatar
  • 261
0 votes
1 answer
30 views

Table of contents change vertical space between title/first chapter and title/page top margin

How can I decrease the space between the toc title and the top page margin and also the toc title and the first entry of toc? \documentclass[12pt,oneside,ngerman]{book} % ─────────────────────────────...
thinksolid's user avatar
3 votes
3 answers
123 views

Hfill not working as expected when placing two figures side-by-side

I'm placing two figures side-by-side inside of minipages as recommended by this answer. It's exactly the behavior I want except for the horizontal spacing. I'd like more space between the figures and ...
ixb's user avatar
  • 33
1 vote
2 answers
134 views

How to add a small vertical space above and below a table?

Is there a way to add some sort of "padding" around tables to increase space between the table and above/below text? I tried \setlength{\intextsep}{2cm} but nothing happened. I know I can ...
td211's user avatar
  • 173
2 votes
1 answer
58 views

How can unexpected vertical spacing caused by a TikZ picture inside a subfigure be eliminated?

Edit: The missing boost.tex and boost_new.tex files have been included, the figure was updated to show bounding boxes and baselines, and the original figure code is replaced with a minimal main.tex ...
user405302's user avatar
2 votes
1 answer
73 views

Getting errors with multirow and siunitx, and uncertainty spacing

I am trying to use siunitx to write tables. I am coming across two problems. Using Multirow like so: \documentclass[a4paper,12pt]{article} \usepackage{siunitx} \sisetup{separate-uncertainty=true, ...
JustARando's user avatar
4 votes
2 answers
350 views

Correct way of typesetting a "relation" plus a "quantity" in LaTeX?

I need advice with how best to do this. I'm using siunitx to typeset quantities and units in a standard way, but I do not know how to handle approximate quantities. Look at my sentence (complete with ...
suckingalemon's user avatar
1 vote
1 answer
34 views

framezoom vertically center zoomed area in consecutive frames

I'm struggling with the use of \framezoom, by looking around I was able to find a clever way to horizontally center the image I'm zooming into with this: \usepackage[export]{adjustbox} combined with ...
Matteo's user avatar
  • 537
0 votes
1 answer
24 views

Inconsistent header spacing in chapter titles [duplicate]

I want to move all headers and text closer to the top of the page, eliminating the empty space above every header. Is it normal in latex to have space before headers? Im new to latex. I tried alot of ...
Samruddhi's user avatar
1 vote
1 answer
55 views

How to make vertical space around proof agree with paragraph spacing in new envrionment

\documentclass[12pt,letterpaper]{article} \usepackage{amsmath,amssymb,amsthm,mathrsfs,mathtools,accents,xpatch} \usepackage{enumerate,geometry,multicol,graphicx,hyperref} \usepackage[many]{tcolorbox} ...
A.B.'s user avatar
  • 279
0 votes
1 answer
34 views

Align top AND bottom of columns in `columns` environment in beamer

In beamer, I can align the top OR the bottom of the columns using \begin{columns}[t] or \begin{columns}[b] respectively. Is there any way to align both automatically? Below is a MRE. In this case I ...
Jake Levi's user avatar
  • 163
4 votes
3 answers
159 views

Section and subsection numbers overlaping in the ToC

My documents have about 20 chapters, lots of sections and subsections. The ToC is then producing some overlaps, as shown with this MWE code: \documentclass[11pt,twoside]{book} \usepackage[T1]{fontenc}...
Cham's user avatar
  • 2,592
0 votes
0 answers
22 views

The dots filling in the ToC and list of codes

I'm trying to get a nicer dots filling in the ToC and the list of codes, as shown with the MWE code below. The code appears to work nicely, but I'm wondering if there's a simpler and better way in ...
Cham's user avatar
  • 2,592

15 30 50 per page
1
2 3 4 5
548