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

0
votes
0answers
28 views

ignore a word in spacing [on hold]

I want to set a specific spacing, because I can only work with one column in a tabular. I would be able to set the spacing in the tabular like so: `exampletext\kill\vline` however then I don't know ...
0
votes
0answers
12 views

pgfmathsetmacro increases border size [duplicate]

Upon creating some graphs with TikZ, I noticed that the border at one side was much larger than it needed to be. The cause seems to be the \pgfmathsetmacro command: \documentclass{standalone} ...
2
votes
1answer
22 views

Figure spacing carrying over to next page

I'm trying to make an image align with the text it's positioned next to. I've managed to make the top align fine by using \setlength{\intextsep}{0em}%, but for some reason the bottom vertical spacing ...
4
votes
2answers
57 views

Matrix in matrix: how to adjust vertical space?

Normally, I'm kind of a Latex guru and I find solutions to problems easily with sites like this, but now I encountered something I cannot find an appropriate solution for: I have matrices within a ...
1
vote
0answers
26 views

Even vertical spacing in multline and gather environments

Using fractions or expressions with sub- and superscripts may lead to uneven vertical spacing in math environments spanning several lines (i.e., align, gather, multline,...). A fix for align was ...
0
votes
0answers
19 views

Why does Latex swallow the whitespace after \LaTeX command? [duplicate]

The sentence LaTeX is fun is produced by \LaTeX\ is fun Why does Latex tend to swallow the space between the words 'Latex' and 'is' unless the space is escaped by a backslash?
1
vote
2answers
42 views

Changing space before chapter without titlesec package

I am sorry if this is a repeated question, I could not find anything similar on the forum search. How to adjust the space before the chapter heading without using titlesec package. I tried this code ...
2
votes
1answer
42 views

horizontal spacing in equations

I am trying to replicate the same exact output as plain math mode would give for a simple polynomial formula but using \matrix because I want to right-align the terms in the polynomial or leave some ...
1
vote
0answers
13 views

How to reduce space between words in gsm package

I used gms package (a special package of AMS, provided for their Graduate Studies in Maths serie) to write a math book. I got a problem with space, and then I want to narrow a line by reduce the ...
5
votes
2answers
323 views

Writing on the last line of a page

I would like to put a phrase like "turn the page" or something on the bottom of a page, preferably on the last line. I may use \vspace{ } with some trial and error. I was wondering if there is a ...
1
vote
0answers
23 views

longtabu bottom caption too close

I want to add the longtabu caption bottom of the table. I know this is not good. But I was told to do so. When I do it as in the code sample, the caption comes too close to the table. But after the ...
0
votes
0answers
33 views

Messed up margins in memoir-class

I am using \documentclass[a4paper,oneside,11pt,leqno,openbib]{memoir} to write my thesis which has 5 chapters and each chapter has different sections. My problem is, every time I start a section, the ...
2
votes
0answers
22 views

Vertical spacing in `\newcommand`s [duplicate]

Consider the piece of code. \documentclass{article} \newcommand{\hello}{Hello world!\vspace{12pt}Hello again!} \begin{document} \hello \end{document} This produces the following output. ...
3
votes
1answer
24 views

Set linespread in algorithm environements

My algorithms are really complicated and I want to \onehalfspace their lines to make them more readable, while keeping the rest of the document singlespace. How can I do this so it will automatically ...
1
vote
1answer
35 views

Spacing on a specific formula

Latex is formatting this formula all squished together. How do I format it properly? $\varphi' \gets \left\{ C_n \setminus C_i \middle| C_n \textrm{does not interfere with} C_i\right\}$ EDIT: ...
0
votes
0answers
20 views

Macro spacing mystery [duplicate]

I get different spacing results when I define a \hspace directly or as a macro. Directly: \documentclass{article} \title{Title} \author{Daniel Domingues \hspace{0.2cm}$\diamond$\hspace{0.2cm} ...
2
votes
1answer
25 views

Increasing horizontal space between chapter number and chapter title in scrreprt

I would like to change the distance between the chapter number and the chapter text. A poor way to do it would be renew \thechapter, but this affects section titles too. Other answers seem to suggest ...
3
votes
1answer
47 views

Large gap in typesetting before group of displayed equations

I'm new to LaTeX; my lab professor said it would be great to have our first lab typed up nicely. I plan on doing research in my future, so I figured learning LaTeX early would be an excellent ...
2
votes
1answer
24 views

Placing text between horizontal lines generated by \rule: equispacing

How to fix the vertical spacing between the text and the lines? In the following MWE the vertical space between the text and the line below it is much greater than the vertical space between the text ...
1
vote
1answer
36 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} ...
4
votes
2answers
38 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 ...
6
votes
1answer
78 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
37 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 ...
2
votes
0answers
65 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
33 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
14 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
102 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
38 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
69 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
52 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
31 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
27 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
41 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
54 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
28 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
43 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
36 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
59 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
25 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
37 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
46 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
67 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
66 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
77 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 ...