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

5
votes
2answers
67 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
79 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
416 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
52 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
37 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
37 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
70 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
43 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
89 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
33 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
80 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
137 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 ...
2
votes
1answer
34 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
58 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
37 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
51 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 ...
3
votes
3answers
97 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
42 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
16 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
45 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
28 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
82 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
38 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
26 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
45 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
32 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
102 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 ...
7
votes
2answers
121 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
264 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
166 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
15 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
72 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 ...
3
votes
2answers
86 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
135 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
36 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
29 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
60 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
25 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
29 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
61 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
57 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 ...