Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

0
votes
0answers
8 views

Remove space between two paragraphs without resetting parskip

I would like to remove space between just two paragraphs without changing the parskip length for the entire document. Is there a way to do that?
0
votes
0answers
10 views

Table of Contents: Spacing between number and section title [duplicate]

I am using article class. In the numbering within the table of contents, when i reach the 10th item and beyond, the number is sticking to the title, how can I introduce a space in between?
0
votes
0answers
32 views

Help with formatting a predesigned resume template (changing the margins)

I have this resume template that I got from a friend who found it online on GitHub (I don't know where exactly): resume.cls and main.tex. I am very new to Latex so can someone help me align things so ...
0
votes
0answers
21 views

Increase paragraph spacing in text delimited by {alltt}

In the next code the expression @obj.info will return a string with paragraphs of text in it. How can I do to increase the space between those paragraphs? \begin{alltt} \begin{flushleft} \parbox{18....
0
votes
1answer
65 views

How to make the subfigures closer?

\begin{figure}[t] \centering \begin{tikzpicture}[row sep=-0.3in] \matrix (fig)[matrix of nodes]{ \includegraphics[width=3in]{1.pdf} \\ \includegraphics[width=3in]{2.pdf} ...
4
votes
2answers
49 views

How to adjust/increase the height of square root?

I defined this equation: \begin{equation} \delta {^s_i\lambda} = \begin{cases} \pm \dfrac{{^s\overline{\Delta T}}}{\sqrt[]{\delta {^s_1\bm{u}_l} \cdot \delta {^s_1\bm{u}_l} + \...
0
votes
0answers
30 views

Different spacing in subsubsections [duplicate]

I have read different posts about the space between the title of section of whatever part of a book and the text, but I do not find the solution to my problem. My problem is that I have two different ...
9
votes
1answer
179 views

Brackets and omitted argument in a function

Sometimes, it is useful in math notations to write $u(x,\cdot)$ where the second argument of the function u is intentionally omitted. However, the above instruction generates a fairly questionable ...
1
vote
1answer
25 views

Fixing part layout using \patchcmd

I want to remove the linebreak between part numeration and part name as found here. However the solution doesn't work for me. MWE: \documentclass[draft, onecolumn, oneside, paper=a4, 12pt]{scrartcl}...
1
vote
1answer
40 views

Remove space between chapter breaks in List of Figures and List of Tables

Am fightning for space in my thesis ;) Have already been able to remove vertical space between chapter breaks in TOC, but trying to do the same thing with LoF and LoT At present I am using the ...
1
vote
1answer
13 views

Space after \footnote / \thanks inside \author

If I type: \author{Alpha\thanks{} and Beta\thanks{}} then it is typeset as "Alpha*and Beta*" instead of "Alpha* and Beta*" as I would expect (i.e. there is no space after the first footnote mark). ...
1
vote
0answers
21 views

Weird vertical spacing when using `semantic` with `setspace`

I'm writing my dissertation, which needs to be double spaced. There seems to be some issue with semantic inference rules in the presence of \doublespacing. When the rule has only one antecedent, the ...
1
vote
1answer
46 views

Is it possible to provide alternative text to use when copying text from the PDF? Part 2

A follow up to this question. For this and quite a few other fonts, the small cap glyphs show as uppercase when copied, as in line 1 and 4 in the output below. I am trying to override each individual ...
3
votes
4answers
111 views

Horizontal line without indenting

This is the result I want to have (I want to obtain the result that most resembles this mathematical expression): What I have tried is this: \[ \begin{aligned} 01\: 1011 \: 0110\\ 11\: 0001 \...
0
votes
1answer
19 views

How to set the horizontal white space after a section number in a section heading [closed]

The title says it all. Of course, the same question applies to chapters, subsections, etc.
6
votes
1answer
93 views

Why does adding `\par` here add vertical space in a different place?

I've been playing around with LaTeX trying to really learn how spacing works in-depth. Here's a silly bit of code that I've been experimenting with: \documentclass[]{article} % Draw a raised \...
0
votes
0answers
31 views

nomenclature spacing

I want to reduce the spacing between the Symbols, but increase the spacing between the heading (see attached picture). The solution provided in the link below is not working for me Reduce line ...
1
vote
0answers
25 views

Extra space at the end of the document added by PGF

As seen in this answer to my previous question “Extra vertical space at end of last column when loading adjustbox (only luatex)”, loading the package pgf causes the following to be added at the end of ...
0
votes
1answer
29 views

Increasing Space Between Two Vertical Tables

I'm trying to increase the spacing between the two vertical tables below. However, when I use the \vspace{5mm} these tables move with respect to each other. \begin{sidewaystable} \centering \begin{...
0
votes
0answers
26 views

Too large vertical spaces before and after an aligned subequation [on hold]

I am writing a paper using ieee style (\documentclass[10pt,journal]{IEEEtran}), and I'm facing very strange vertical space problem before and after for one of the many aligned subequations. I've tried ...
1
vote
2answers
31 views

hrulefill vertical spacing

I want to reduce the vertical spacing that comes before and after \hrulefill. I have already tried different options with \hrule, which works fine except for the fact that the line doesn't end where ...
1
vote
1answer
34 views

Extra vertical space at end of last column when loading adjustbox (only luatex)

I have noticed some odd extra vertical when placing boxes in a twocolumn layout: \documentclass[a5paper]{article} \usepackage{calc} % issue only happens with adjustbox loaded \usepackage{adjustbox} ...
0
votes
0answers
20 views

Longtable - Custom column width and no white spaces between lines

I used an updated version of the code by Mico (https://tex.stackexchange.com/a/271559/146754) to create a long table. 1) How can I remove the white spaces between the black lines 2) How can I assign ...
0
votes
0answers
47 views

Changing the stretchability of the word space for better justification (LaTeX)

I guess this is sort of a follow-up to my previous question about justification, but I realised that the things I learned from that question changed what to ask significantly enough that it warrants a ...
1
vote
1answer
45 views

Use normal spacing within a minipage (same as outside)

I was wondering how to have the contents of a minipage look exactly the same as “normal” text (i. e. with respect to spacing, indents etc.). These minipages can contain arbitrary content such as ...
2
votes
1answer
79 views

Better spacing for justified text by increasing hyphenation

Is there a way to make LaTeX hyphenate much more to make spacing in justified text more even? I am trying to achieve the justification used in Renaissance-era typography (Bram de Does and other ...
0
votes
1answer
31 views

How to adjust the labeling environment's spacing?

Is there an easy way to eliminate the spacing between a labeling environment's items as well as around the environment, similar to enumitem's \setlist[itemize]{noitemsep,nolistsep}? The only answer I ...
0
votes
1answer
16 views

Proper spacing for texts added in between date and abstract on the title page?

As the code shown below, I want to add two lines between date and abstract head, while maintaining the proper spacing so that the title is moved towards the top. Right now, if my abstract is long ...
0
votes
0answers
19 views

Double space in content but single space for figure and table captions

I'm writing my thesis. The requirement of format is double space for the content of entire work except for figure and table captions, which are single space. I'm using \doublespacing for the content, ...
4
votes
1answer
59 views

unexpected extra parskip before equation, when the last line reach the end

like the figure below, it always generates a extra vertical space, if the line before equation is full. what I have found: remove hyperref or option parskip=full* can solve this, but I want to know, ...
2
votes
1answer
33 views

Default spacing around operators in math inline mode

When writing math expression, the spacing around an operator (like + or =) seems to be the same in math inline-mode or math block-mode. However, I like the spacing in an expression to be smaller in ...
1
vote
1answer
16 views

A combination of an itemized list and a table

Consider the following document with an itemized list with two words per item: \documentclass{article} \begin{document} \begin{itemize} \item arbitrary, archipelago \item bug, bit \end{itemize} \end{...
0
votes
0answers
31 views

Weird \hfill behavior with custom length calculations?

I asked a question earlier about trying to write a macro/environment that would take in a number of \choice commands and then write them out in a way to minimize vertical space consumed, but still ...
0
votes
0answers
17 views

Is the spacing of subscripts correct in the euscript package? (If not, how can It be fixed?)

Here is a comparison between different spacings: In particular, -1.5pt seems rather nice. In case the spacing really is wrong, is there a way to fix it (other than always using hspace or e.g. making ...
0
votes
0answers
15 views

Bibliography appearing twice in Table of Contents

I have two issues in my Table of Contents. Bibliography appearing twice in Table of Contents Title of Table of Content has improper spacing Latex below: 1. For Bibliography \phantomsection \...
0
votes
1answer
33 views

spacing in a TikZ tree?

I have created a Work Breakdown Structure and I'm having trouble spacing The levels so they don't overlap. Here is my code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,shapes,...
0
votes
1answer
26 views

How to fix the spacing before starred commands from physics package

\documentclass{article} \usepackage{physics} \begin{document} \fboxsep=0pt This is some \fbox{$\ev*{\hat{O}_P}$} and then some. \end{document} There seems to be extra spacing added before the ...
0
votes
0answers
10 views

Vertically (and horizontally) center last page of longtable

For some peculiar reasons, I'd like the last page of my longtable to be centered both vertically and horizontally. I understand that this is unsual for a coherent dataset like from a long-running ...
0
votes
0answers
17 views

Is Non-breaking space (~) required for \gls commands of the glossaries(extra) package(s)?

There is a really quick question. Should I use a non-breaking space ~ in front of the \gls commands (for acronyms in my document) when using the glossaries-extra package?
0
votes
0answers
26 views

How can I squeeze the spacing between words in a single paragraph? [duplicate]

The savetrees package allows the squeezing of words together across an entire document. How can I apply this effect to exactly one paragraph?
3
votes
2answers
33 views

How to avoid extra large space after paragraph heading?

It seems a bit strange to me that when I write \paragraph{Monkeys} Monkeys are non-hominoid simians ... I get the word Monkeys twice. On the other hand if I write \paragraph{Monkeys} are non-...
1
vote
1answer
27 views

underbrace and phantom

With the following code: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \underbrace{a+b}_\textrm{text}+ \underbrace{\frac{a+b}{c}}_\textrm{text} \end{equation*} \...
1
vote
1answer
31 views

Line spacing applied to wrong row of tabular

I observed very strange spacing problems in a tabular seemingly caused by the array package. Consider the following MWE: \documentclass{standalone} \usepackage{array} \begin{document} \begin{tabular}{...
9
votes
2answers
1k views

Why is this weird space appearing after my minus sign

I'm using MathJax-Node to turn TeX maths equations into both MathML and SVG on my server. Mostly this works fine. But when I render Tupper's self-referential formula, a weird space appears after the ...
6
votes
2answers
83 views

\DeclareMathOperator adds spaces after the periods contained in its second argument (name text)

The following MCE points out that \DeclareMathOperator, if its second argument (name text) contains periods, adds spaces after those periods: \documentclass{article} \usepackage{amsmath} % \...
0
votes
0answers
17 views

How to increase vertical spacing in nomenclature subgroups

I am using the \nomencl package to make a nomenclature section. I need to divide the nomenclature entries in subgroups. I achieved this task by means of the following code: \usepackage[intoc,prefix]{...
1
vote
1answer
15 views

Separate items in local TOC by a command in the section body

In a previous question, I asked how could I get an automatically produced local TOC from an enumeration, with the TOC picking just the titles of the enumeration (this has been solved with the etoc ...
0
votes
1answer
35 views

Horizontal space between bullets and text in enumerate

I have several enumerated lists. The bullets and the paragraph are too close, in my opinion, so I want to be able to make more white space between the bullet itself and the text that comes after, but ...
3
votes
1answer
97 views

Avoiding excessive space under equation

I'm wondering how can I avoid excessive white space under equation. This happens only a time in the entire document; in the other pages there are not this problem (I wrote the equation and the text in ...
3
votes
2answers
140 views

How can I set all of the lines below each other

How can I set all of the lines below each other(in a subsection).