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

1
vote
1answer
31 views

Add image, after long space in begin environment [Title changeable]

MWE \documentclass[a4paper,twocolumn,12pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[turkish]{babel} \usepackage[listings,skins,breakable]{tcolorbox} ...
0
votes
0answers
20 views

Handling spacing between multiple lines of a title text

For my thesis I have a very long title and it spans three lines. The spacing between the lines are coming out to be very less. I tried adding `\smallskip'. This has improved the spacing between first ...
5
votes
0answers
51 views

CM fonts kerning in math superscripts

Using CM fonts with either a traditional engine or XeTeX, an expression such as $D^rf$ produces too much space between the r and the f in the output. It's easy to fix manually by inserting a \!. ...
1
vote
1answer
38 views

Long space in italic format

MWE, \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \begin{document} 120 kHz ’e \textit{120 kHz ’e} \end{document} and output, Sometimes this red line is getting longer. Why ...
2
votes
1answer
30 views

siunitx table with separate-uncertainty is too wide

I'm using a tabular environment with the siunitx type S and the package option separate-uncertainty, like in the example below. In the resulting document, the columns are too wide, and the 3rd column ...
1
vote
0answers
41 views

How to create additional space below Section headings followed by Subsections in the Table of Contents

I am preparing my thesis using the apa6 document class. I'm using the tocloft package to format my Table of Contents and List of Figures. In the TOC, I can't figure out how to add space BELOW section ...
3
votes
1answer
28 views

Footnotes: Large space between text and number in justified text

I have inserted a footnote in a justified column. However, the space between the text and superscript is huge. How do I keep the superscript number next to the text?
0
votes
0answers
12 views

SIG Proceedings template, figure*, clearpage and section spacing

When using either of the two SIG Proceedings templates (normal or compact), the height of a figure* influences the spacing before a \section, \subsection or \subsubsection. Minimal example: ...
8
votes
1answer
101 views

Why do coordinates in Bezier curves add to the padding in TikZ?

I have a little tikzpicture drawn with a Bezier curve, that I use in the text. I noticed that it has an unusual amount of horizontal white space, more than e.g. a circle: \documentclass{article} ...
1
vote
0answers
37 views

List Of Listings Overlapping Text

I'm attempting to generate a list of listings for my dissertation. The university doesn't have a standard LaTeX template, but there is a pretty good one generated sometime ago that does the trick. The ...
1
vote
0answers
64 views

Squeezing a paper into a page limit - with IEEEtran

I'm working on this draft for a submission to some conference which - woe is me - uses IEEEtran. I could rant about that class for days, but never mind right now... the point is, I need to squeeze ...
3
votes
1answer
49 views

Decreasing space between title and body in scrartcl

Here is a MWE using scrartcl. If I just have a title, and no subtitle, author, date, or any of that other stuff, is there a clean way I can decrease the space between the title and the body, here ...
1
vote
0answers
26 views

XeLaTex error with spaces in name MiKTeX 2.9 update

Since the last MiKTeX 2.9 update, I am unable to compile .tex files with spaces in names, e.g. "file with spaces in name.tex" Any minimal file, as \documentclass[12pt, twoside]{report} ...
0
votes
1answer
26 views

Titlepage and vertical space

I need to reduce the vertical space up the title of the only front page. I'm using the book class and specifically the titlepage enviroment. \vspace{-2.0cm} doesn't work... Any suggestion?
2
votes
1answer
40 views

Remove vertical space around align equations

Formed with the alignment occurs in the equation some gaps. I tried to indicate with red arrows. This is without gaps like I mentioned with the ellipse how can i do? Sorry for my English. ...
3
votes
1answer
30 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
53 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
13 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
27 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
42 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
24 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
32 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
53 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 ...
1
vote
1answer
21 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
21 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
36 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
30 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
63 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
21 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
64 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
75 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
65 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 ...
-2
votes
0answers
76 views

Add a “Space” in LaTeX [duplicate]

How do you add a "Space" in Latex? What is the syntax of a simple space? I tried using: \hspace{1}
0
votes
1answer
29 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
80 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
33 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
414 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
51 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
36 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
36 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
30 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 ...
0
votes
0answers
39 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
68 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
37 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
46 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
21 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
28 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 ...
7
votes
2answers
86 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
30 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
79 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, ...