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

8
votes
2answers
436 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
64 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
41 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
39 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
46 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
65 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
92 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
62 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
70 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
41 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
97 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
79 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
118 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
147 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
73 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
59 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
53 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
67 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
111 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
50 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
19 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
65 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
44 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
104 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} ...
3
votes
0answers
55 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
43 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
63 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
39 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 ...
4
votes
1answer
158 views

Spacing after KOMA \section in multicol environment

I'm writing a two column paper using the KOMA scrartcl class and the multicol package. However, I start with a one column header, title and nomenclature section which take up most of my first page. In ...
8
votes
2answers
148 views

In which way have fake spaces made it to actual use?

I skimmed the abstracts of TUG 2014 and stumbled over "Fake spaces" with pdfTeX -- the best of both worlds by Ross Moore. The abstract says: With the 2014 version of TeX Live, new primitives are ...
1
vote
2answers
275 views

Where does this space come from?

Using colored text inside a minipage results in less vertical space being appended after the text compared to normal text. Strangely, this only occurs when the minipage is top-aligned. In the other ...
5
votes
2answers
171 views

How to adjust given lines automatically

Some of you may know the FlipBeamertheme by Phillip Tanedo (http://www.physics.uci.edu/~tanedo/files/code/FlipBeamerTemplate.pdf) I like the style of it's title. Tanedo used a picture: All three ...
1
vote
1answer
19 views

Adjusting horizontal spacing for the \hat and \vec symbols relative to the argument of \vec,\hat

I've done some intrusive changes using the unicode-math package to still use a font of my liking, a font which is not supported by TeX out-of-the-box. Passing more options to unicode-math causes it to ...
8
votes
2answers
90 views

Why does the spacing in math mode change when the text of a tikz node is centered?

Given two nodes with same content, for example $a = 1$, the spacing is different depending on the text alignment of the respective node, i.e. when the text is centered, the spacing is greater. The ...
4
votes
2answers
132 views

Customizing clean thesis

I am using the thesis template http://cleanthesis.der-ric.de/. In this template, there is no paragraph by default. As explained in Getting back the paragraph in cleanThesis?, the paragraph can be ...
6
votes
1answer
150 views

How to allow page breaks within footnotes, when using dblfnote?

Is it possible to let footnotes set in two columns with dblfnote break across pages? In the following MWE note 3 is so long that it goes to a second page together with the third paragraph, but I want ...
4
votes
1answer
42 views

Decrease spacing before chapter title in mwrep class

I thought it will be a piece of cake - I started with titlesec, but it ended up with: Non standard sectioning command detected(titlesec) Using default spacing and no format. Then I started ...
1
vote
1answer
31 views

Stopping a line break in list

I am writing a memo style document for my job that has to be formatted in a very specific manner, often without regard to good typesetting practices. I am relatively new to Latex, so I am having some ...
4
votes
1answer
102 views

Mysterious Vertical Space After Theorem/Proof Environments

I have defined my own theorem style to have 0pt above and 0pt below. For simplicity I have also set all other relevant spacings to 0pt. However, when I use a theorem or proof environment I get some ...
1
vote
1answer
32 views

How to fix the spaces of superscript text

I'm trying to typeset an old bible which has all the verses superscripted. I created a command that produces a superscript number corresponding to the verse number, and then this is increased by one. ...
1
vote
1answer
41 views

Removing white space beside images

I'm trying to display a bunch of images side by side. Originally I wanted them on the same line, but I got them to fit by putting 2 on the next line. I'd like to make the pictures bigger but the white ...
2
votes
1answer
85 views

How to remove vertical space before list in table cell?

I want to get very compact lists in table cells, but there is still a vertical space before the first list item (see screenshot below). How can I remove this vertical space? LaTeX code for example ...
0
votes
1answer
76 views

Change font spacing and size of bibunits \putbib

In the following example I would like to force my references section to be typeset in a smaller font with single (more condensed) spacing. My commands (a spacing environment call and a font small ...
1
vote
3answers
39 views

Additional space in p-type column swallowed by other cell

I want to add extra vertical space after table rows on a row per row basis. Consider the following MWE: \documentclass{article} \begin{document} \begin{tabular}{p{3cm}p{5cm}} Here... ...
0
votes
0answers
29 views

Chapter topmargin suddenly broken?

I just transfered a latex project to my new laptop and started compiling...everything is fine except the topmargin of chapters, it seems to be zero? I tried to change it with: ...
1
vote
1answer
41 views

Why are the skip lengths ignored in align?

I created a new command \mathloose that stretches the spacing in an equation by suitably adjusting \thinmuskip \medmuskip and \thickmuskip lengths. The command works just fine in \[ \] and \( \) but ...
3
votes
2answers
54 views

Adding horizontal labeled horizontal arrows in multicol environment

I have attached a picture of what I am attempting to create. The issue is, when trying to do this in Latex, I am messing up my spacing. I want to add a bold black arrow between the top two tables and ...
3
votes
1answer
41 views

Should \mathrm work in \gather* environment?

I am trying to use \mathrm in gather* environment, but the result is text without any spaces. How can I correct that, please? \documentclass{article} \usepackage{amsmath} \begin{document} ...