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

3
votes
1answer
40 views

Label variables of equation using tikz without using itemize - followup question

I have tried to implement a solution I found here for my problem. I do however hit a bit of a snatch. If I just add some text above and below of the example, the graph and the text get on top of each ...
0
votes
0answers
73 views

Same caption space

I want to have the same vertical spacing between figures/listings and their captions. Currently, the space between figure and caption is shorter than that between listing and caption. What should I ...
0
votes
0answers
14 views

How to position two figures side by side with custom alignment? [duplicate]

I would like to put two figures side by side such that they are centered on the page and have an arbitrary (given) space between them. Although there are a lot of similar questions here, none has ...
2
votes
1answer
50 views

Remove vertical space after new chapters in listofalgorithms

When generating list of algorithms, the command \listofalgorithms automatically inserts a 10pt vspace after the last algorithm caption in a chapter. I need to remove this vertical space in such a way ...
3
votes
1answer
86 views

Remove unwanted vertical space before and after environment in footnote

I am trying to make my own environment for (left-)indented blocks inside hanging footnotes, in which the normal quote environment doesn't work, it's left indent being the same as that of the indent of ...
0
votes
0answers
26 views

Disable vertical spacing in Clean Thesis [duplicate]

When I use the article class in latex and I have a definition, followed by a huge align environment, latex produces the following output I am using the thesis template ...
3
votes
1answer
71 views

Document paragraph spacing changes

I'm a bit confused about the paragraph spacing in my large document. To begin with my document has spaces between the paragraphs, which looks nice. However about halfway through it changes to no ...
5
votes
1answer
171 views

TikZ Spacing Between Arrow and Node

I'm attempting to draw a simple diagram comprised of three nodes arrange in a triangle. I'm having a difficulty with getting the arrows to "connect" to one of the nodes, there's a small space between ...
2
votes
1answer
47 views

Use verse environment in footnote

When a verse environment is put in a footnote, it starts a new line, leaving a blank line at the top. How can I start the verse in the first line? A MWE \documentclass{article} \begin{document} ...
1
vote
1answer
70 views

Remove vertical space before and after align with enumerate / make multicols align to the top

MWE: \documentclass{article} \usepackage[top=3cm,bottom=3cm,left=3.2cm,right=3.2cm,headsep=10pt,a4paper]{geometry} \usepackage{amsmath,amsfonts,amssymb,amsthm} \usepackage{enumitem} ...
4
votes
1answer
43 views

Remove spacing from \part?

Currently, trying to reduce the line spacing when I use the \part command. Ideally, I am currently trying to achieve the following result below: Part I: Project Scope With the surrounding padding ...
2
votes
1answer
108 views

How to set the space between two index entries with the same character

When I make an index, I get only between the different characters (b,s,t) an optimal vertical spacing. \usepackage{makeidx}\makeindex \index{book} \index{summer!sun} \index{summer!heat} \index{sound} ...
3
votes
1answer
108 views

Letterspace all caps in document

How does one letterspace all uppercase letters in a document? I can achieve this for small caps with fontspec: \usepackage{fontspec} \setmainfont[SmallCapsFeatures = {LetterSpace = 7.5}]{Warnock ...
0
votes
0answers
22 views

Trying to get the spacing right after an expanded sequence [duplicate]

I've defined \newcommand{\foo}[1]{\textbf{#1}} \newcommand{\bar}{\foo{Bar}} Now, when I compile \bar tender --- tend your \bar. I would like to get Bar tender - tend your Bar. but what I ...
2
votes
1answer
90 views

Reduce inter-word spacing in run-in \paragraph style

I'm quite new to Latex and slowly writing/making my book (electrical measurements, some signal processing, that stuff), but sometimes I get trapped in probably trivial issues. My first writing is with ...
2
votes
2answers
102 views

mdframed does not attempt to stretch or shrink vertical spaces within its content

When the content in an mdframed environment is overfull, mdframed will rather break the page instead of iteratively shrinking the vertical length up to the specified minimum. The following output ...
5
votes
2answers
83 views

How to mimic spacing around \bullet with \DeclareMathOperator?

I'm trying to define \conjunction by means of \textbullet instead of \bullet, since the latter looks too big in logical formulas. How can I make the spacing around \conjunction to behave like the ...
0
votes
1answer
54 views

Add extra space between groups of rows in a longtable except at a pagebreak

I am working on a table where I need to add extra space between groups of rows. I have currently been doing this by ending all but the last row within a group with \\* (which prevents a page break at ...
1
vote
1answer
96 views

Auto spacing in math mode

I have a long line of math expression, which is as follows: $verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword ...
0
votes
1answer
96 views

spacing between lines/paragraphs with tikz

I know that when I include graphs/tikz, first LaTeX calculate the space needed for the graph. If there is not enough space, it pushes the graph to the next page. And to make the first page looks ...
8
votes
2answers
438 views

1.5 + 1.5 > 3 : difficulties aligning columns in tables

I made 4-column table and a separate 2-column table. I thought if the columns were twice the size they should align but they don't. What is the problem? \documentclass[12pt]{article} ...
6
votes
2answers
67 views

Hyperref adds vertical space to equation environment [duplicate]

When the length of the text prior to an equation environment approaches \textwidth, hyperref adds an extra vertical space, as illustrated by the following snapshot: The corresponding code is ...
1
vote
1answer
46 views

Spacing after alias [duplicate]

I'm not sure whether I am repeating an already existent question or not, but I'd like to know how to approach the following situation: I want to define a macro to be an alias to some word or fragment ...
5
votes
1answer
42 views

Is it possible to ignore (not typeset) a column of a tabular by modifying its preamble only? [duplicate]

Is there a convenient way to not typeset a particular column in a tabular environment by modifying only the preamble of the tabular? That is, without modifying the body of the tabular itself? My ...
1
vote
0answers
58 views

Remove vertical space between several chapters in ToC

I would like to remove the vertical space between several (but not all) chapters in my ToC (namely, the literature, the list of symbols, and the index). The following code works in the preamble to ...
1
vote
1answer
81 views

\hphantom behaving like \mbox, not like the counterpart of \vphantom

I have the following figure as part of a slideshow I'm writing with beamer. If it is relevant, I've used pst-jtree (which is essentially a bunch of macros over pstricks) to produce the tree branches. ...
4
votes
2answers
110 views

Active spaces with xstring's StrSubstitute

I have some text that I would like to preprocess using xstring's \StrSubstitute method (basically replacing certain keywords by simple commands such as foobar by \emph{foobar}). There are two side ...
1
vote
2answers
78 views

Bibliography on separate page in Revtex 4-1

How do I force the bibliography in Revtex 4-1 to appear on a new page? The default is that it appears immediately after the main body text. "New Page", "Page Break", "vspace{}" and combinations of ...
2
votes
1answer
90 views

Vertical spacing problem using mdframed environment

I want to use mdframed to add a frame around a text. But the vertical spacing is not as expected. I found the following help page: Vertical spacing problem related to the mdframed environment The ...
1
vote
0answers
23 views

Unwanted, and unwarranted?, indent after \section [duplicate]

I've got a template for my CV which I grabbed from somewhere years ago, and the preamble has been mostly added to, with bits being modified along the way. I thought enough is enough so I have set ...
0
votes
0answers
46 views

Gray box tight at text and newline sometimes

at the moment, I write a document that talks about how URLs are composed. So, I first have a text block and then I want to show a URL example. I want to use a gray box around it to separate it from ...
8
votes
2answers
116 views

boldsymbol badly modifies spacing

In the example below, it is my feeling that \boldsymbol badly increases the horizontal spacing with the index: \documentclass[fleqn,11pt]{book} \usepackage{amsmath} \begin{document} ...
2
votes
2answers
129 views

How to increase space/indentation of lists like labels and enumerations in LyX?

When I use a label, it leaves a default space between the label and the following text. I want to increase this horizontal space/indentation by a lot more in LyX, but I'm not sure how to do that. ...
6
votes
1answer
142 views

Setting \parindent to 2em or \quad

I would like to set \parindent to 2em (or \quad which is the same if I know correctly). How can I do it? \setlength{\parindent}{...} only accepts values with length units, for example, 15pt, 1cm, ...
0
votes
0answers
12 views

In algorithm/algpseudocode, when writing long lines within loops how can I adjust the left indentation? [duplicate]

Q: In algorithm/algpseudocode, when writing long lines within loops how can I adjust the left indentation? To illustrate the problem, this is what I have: But this is more like what I want it ...
1
vote
1answer
164 views

Why the compiler ignores the command \noindent?

I am writing my master thesis on LaTeX. I should say that I had not used it before and everything is new for me. I was doing fine until I got some troubles when compiling the command \noindent and ...
4
votes
2answers
91 views

spacing in description with items wrapped in minipage

I'm trying to prevent items in description environment from breaking by wrapping each one in a minipage. (Perhaps that's not a good approach, but let's put that aside if we can for my question.) When ...
1
vote
2answers
62 views

Spacing in align environment

I am familiar with the \flushright and \hfill commands for positioning text to the far right of the page. However throughout my document I am using the terms (x\rightarrow\infty) on many lines and I ...
1
vote
0answers
59 views

Deal with too much white space

It happens quite often in long LaTeX files that LaTeX "tries" to fill a page, but because of various priority rules to theorem environments for example very much white space and large line spacing is ...
2
votes
1answer
83 views

CurVe document class: Adjust spaces between entries cross rubric or inside certain rubric without \vspace

I am using CurVe document class to create my CV. I want to know if there is anyway to adjust the spaces between the entries (\entry*[...]...) as indicated by the Figure 1. I know I can always put ...
4
votes
3answers
118 views

Unwanted space between lines

I was reading an article I wrote and I noticed unwanted spaced between lines. One such example is: I have highlighted the relevant section in red. As you can see, there is a bigger space between ...
0
votes
0answers
54 views

How can I slightly offset each character to acheive a movable-type letterpress look?

The lines of text in traditionally printed books aren't perfectly straight due to "wiggle room" between characters in the printing press. Can I create this effect with Latex? I'm fine with an ugly ...
2
votes
1answer
21 views

Change parskip in eledmac

When I try to adjust parskip in eledmac, it only takes effect when the paragraph starts with a label. For example: %!TEX TS-program = xelatex \documentclass{scrartcl} \usepackage{libertine} ...
3
votes
2answers
86 views

too much space for align if I use double space

I'm using a Latex template. They provide the following command for double space %% To produce output with the desired line spacing, the argument of %% \spacing should be multiplied by 5/6 = 0.8333, ...
3
votes
1answer
54 views

spacing between Japanese words (xelatex) [duplicate]

I'm working with Xelatex 3.14159265-2.6-0.99991 (TeX Live 2014/Arch Linux), compiling my .tex file and getting a simple .pdf file. I'm stuck on the following problem, occuring in a simple Japanese ...
6
votes
2answers
111 views

spacing in tikz

I'm trying to typeset the naturality property of the cap product, I'm hoping to achieve something like this: but the best I can do is something like this: \begin{equation*} \begin{tikzcd} ...
4
votes
0answers
72 views

How can I redefine \int to put a negative space after the integral sign, but keep the limits properly set?

I'd like to modify the \int command such that it adds an automatic negative space, e.g. \! after the integral sign. Preferentially, I'd like to be able to not edit any of my code, so cleverly ...
0
votes
0answers
50 views

how to reduce a gap between words in a title of bibliography and a dot over the bibliography numbering

I am writing a scientific paper using IEEE journal Latex template \documentclass{IEEEtran} \usepackage{comment} \usepackage{color} \usepackage{float} \usepackage{graphicx} \usepackage{ulem} ...
2
votes
2answers
82 views

Listings: add vertical padding without abusing frame

I have the following setup for my displayed listings: \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{listings,xcolor,lipsum} \lstset{ backgroundcolor = \color{yellow}, ...
3
votes
1answer
45 views

Absolute Value of Horizontal Spacing in Numcases

I am interested in the absolute value of the horizontal spacing which is automatically assigned by numcases before an alignment point. For instance, what is the spacing after the comma and before ...