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

2
votes
2answers
51 views

How to implement a macro for normal ordering of operators?

I am looking to typeset the normal ordering symbols :O: commonly used in quantum field theory in a way that makes them easily discernible from regular colons, especially the 'defined as' symbol :=. ...
0
votes
0answers
34 views

large space between section header and content

I'm using an external file to add appendices to my thesis. The external file called (supplement.tex) contains a huge list of figures similar to this. \subsection{Testing} \begin{figure}[H] ...
2
votes
1answer
36 views

How can I narrow down these gaps?

I am writing my curriculum vitae, but I have one question. In the first image, there are spaces between different sections. (Between contact and phone, between education and Seoul~~,....) Thus, I ...
3
votes
2answers
32 views

Space after comma in empheq package

My MWE, \documentclass[a4paper,11pt]{book} \usepackage{empheq} \begin{document} 0,5 \begin{empheq}{align} 0,5 \end{empheq} \end{document} Good (normal) is comma in first 0,5 . But not good in ...
1
vote
1answer
42 views

Prevent exsheets from creating newline at beginning of question

I want to use the exsheets package for some homework sheets in combination with enumitem. When I encapsulate an enumerate environment inside a question environment, the first item of the enumeration ...
2
votes
2answers
49 views

Adjust space between chapter number and caption in TOC

I have document like this: \documentclass{book} \renewcommand\thechapter{\Roman{chapter}} \begin{document} \chapter{Some title} \chapter{Some other title} \chapter{One more title} \tableofcontents ...
9
votes
5answers
10k views

How can I force a \hspace at the beginning of a line?

My code is this: \setlength{\parindent}{0ex} \texttt{ x\hspace{1ex}\hspace{1ex}\hspace{1ex}y \newline \hspace{1ex}\hspace{1ex}\hspace{1ex}\hspace{1ex}y } What I'd like to see is: x y y ...
3
votes
1answer
42 views

Correct superscript spacing for new mathbin

I redefined the \div command so that it's U+2215 aka ∕, but for some reason when I use it as a superscript the spacing between this symbol and its numbers is really tight (works fine in displaymode or ...
1
vote
1answer
38 views

Redefine obeyspaces to newline

I want to typeset code snippets from different programming languages. I couldn't get listings to do what I want (one complete height of an empty line takes up too much space for my liking) and neither ...
7
votes
2answers
214 views

Extra spacing around restatable theorems

I'm learning how to use the thmtools package, and I came across a strange quirk. A minimal example is as follows: \documentclass{article} \usepackage{amsthm} \usepackage{thmtools} ...
0
votes
1answer
32 views

Reducing spacing between section headings and text in resume

I want to reduce vertical spacing between end of text in education section and the title of the following section , i.e. ACADEMIC APPOINTMENT. Also, the space between PUBLICATION and Economics ...
4
votes
3answers
54 views

Latex Bussproofs Package Prooftrees on Same Line

I'd like to know how to put two prooftrees on the same line rather than under/ontop of one another. Is that possible? \documentclass{article} \usepackage{bussproofs} \begin{document} ...
1
vote
1answer
26 views

algorithm2e, caption space

I am using the package algorithm2e within the IEEEtran class. I need to provide a space between the caption and the Algoritm. Currently, the caption is very close to the algorithm. Is there any ...
2
votes
1answer
70 views

how to set a fixed interatomic distance in chemfig package?

Using - with the \chemfig command of the chemfig package, interatomic distance is automatically calculated and the link between atoms is drawn. But interatomic distance is set as the distance between ...
4
votes
2answers
70 views

New/blank line in itemize

I have an itemize area with several point inside it. I want to have the following result: - one - two - three Is there is an appropitate way to do so? As a workaround I used the following code to ...
0
votes
0answers
30 views

Too Many Blank Lines between sections

I'm writing in a TexMaker, between the sections and the subsections, there are two much unwanted blank lines, how can I limit the amount of blank lines inserted by TexMaker between subsections and ...
13
votes
2answers
732 views

Does spaces in $xy=1$ have differences between $x y = 1$?

Which way is more correct? I don't see any differences, but maybe I something missed?
0
votes
0answers
25 views

Spacing between consecutive displayed equations

I'm trying to adjust the spacing between several display equations, without having to put them in AMS align environment. I inserted several display equations in a row, each creating its own new line, ...
3
votes
1answer
156 views

Completely hide bullet when using itemize

When using the following command \begin{itemize} \item[] foo \item[] bar \end{itemize} I guess the margins around the bullets are still visible, and thus my items seem to be indented. How can I ...
0
votes
0answers
30 views

\vspace next page

I'd just like to add some vertical padding between two bits of text and \vspace{Xcm} works fine for this; however, if the text is at the end of the page, \vspace{Xcm} does not carry onto the next ...
3
votes
3answers
4k views

Writing a limit so that the subscript goes directly underneath

When I write $\lim_{x \rightarrow p} f(x) = q$, the subscript x \rightarrow p appears to the right of the limit, instead of directly underneath it. When I try $\displaystyle \lim_{x \rightarrow p} ...
5
votes
2answers
51 views

Acro: Adjusting the spacing after \acl if the long form has italic shape

I am using the acro package to manage my acronyms. Some of the terms are set in italic. When using \acl, the spacing after the term does not get adjusted. Minimal example: ...
83
votes
2answers
46k views

How do I create an invisible character?

I cannot remember how to create an invisible character in LaTeX, i.e. I want to put a space the that has the width of a particular character, say `M'. I know there is a command for this, and this is ...
5
votes
2answers
42 views

How to add more space underneath and above a horizontal line in tabu?

I'm having the following table in my document: \documentclass[12pt]{article} \usepackage{tabu} \begin{document} \[ \begin{tabu} {c | c c c c c c} \firsthline f & a_{11} & ...
0
votes
1answer
54 views

Suppress vertical space after `\printindex`

In \documentclass{book}, \printindex shunts the first two columns of my index down the page leaving white space that I don't need. What is the name of this space so that I can reset it to zero? In ...
6
votes
1answer
26 views

\pstSetAbsoluteOrigin Adds Space Before Section

As soon as I execute \pstSetAbsoluteOrigin a space is been added before the section. Is this normal, am I doing something wrong? I would expect the position of the first section no to be influenced ...
3
votes
1answer
104 views

Why does not `\spaceskip` work inside a TikZ node?

In my document, I need to increase \spaceskip in order to inject more space between words to make them more readable. However, the setting does not seem to apply to text that's inside a TikZ node: ...
3
votes
1answer
188 views

Christmas List / Catalog

I'm fairly new to LaTeX, and I thought a fun project would be to create a Christmas list that looks like a shopping catalog. Something like this: How would I go about this? Any good templates or ...
5
votes
1answer
155 views

Setting vertical spacing between different document elements at the same time

I have the following problem. Let's define three types of document elements: Titles, Paragraphs and Longtables. The problem is to setup vertical spaces between them independently. For example, let's ...
0
votes
1answer
44 views

Inconsistent “vertical” spacing occurring throughout whole document with disappearing QED symbol

I am typesetting class notes in TeXstudio for myself. Although I have typeset formulas before using LaTeX code, it's my first time putting a whole LaTeX document together, so I suppose some of the ...
0
votes
0answers
37 views

Remove space after figures

I used the below command in the latex. The problem is I have very annoying large spaces after and before figures. Any help? \begin{figure}[H] \belowcaptionskip = -20pt \begin{center} ...
0
votes
1answer
142 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
3
votes
2answers
45 views

Starting text a set distance from the margin

I want to break some lines in a document into 3 sections such that the first letter of each section is always directly below the other, slightly like a table, but I don't want to use the table ...
4
votes
1answer
96 views

How can I customise the amount of horizontal space that follows line numbers?

I'd like to increase the amount of horizontal space that after comes each line number in my algorithm (typeset with algpseudocode). Because algorithmicx in general, and algpseudocode in particular, ...
7
votes
2answers
175 views

Purpose of “control space”

I could not find enough information on Google about control space (\). What is the purpose of it? Where should it be used?
1
vote
1answer
46 views

How to edit `\makeletterclosing` to insert graphic of signature

I am using this popular formal letter template from Latextemplates.com. However, at the end it uses the command \makeletterclosing to print the closing message (something along the lines of "thank you ...
2
votes
1answer
52 views

how to stop “\newpage” in \chapter

I'm using a memoir style. This one to be exact. \documentclass{memoir} \let\STARTCODE\relax \let\STOPCODE\relax \STARTCODE \usepackage{fourier} % or what ever \usepackage[scaled=.92]{helvet}%. ...
0
votes
0answers
20 views

A problem with small caps extending only a few words in a footnote

Since \sc command seems to make the whole line after it appear in small caps, I use the following tufte inspired command newthoguht to get around the problem: \providecommand\newthought[1]{% ...
5
votes
3answers
137 views

Fill space created by \phantom with other text

I am looking for a command I am pretty certain to have used before but which I cannot recall (and I did search for it): I want to create (horizontal) space of some length, e.g. created using ...
3
votes
2answers
87 views

How to obtain a justified paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
3
votes
1answer
9k views

Reduce space before and after tabular environment

I have a document with many occurrences of \begin{tabular} ... \end{tabular} I have been unable to find a global command that will reduce the vertical space before and after this environment. ...
3
votes
1answer
58 views

Beamer: TOC in block

For stylistic reasons (I have everything in blocks), I'd like to have my TOC in a block too, but without having to typset it manually for all sections. I was surprised that the standard tikz TOC ...
2
votes
1answer
38 views

Can't get two equations to align using eqnarray

I'm trying to align two equations using eqnarray. Sample: \documentclass{article} \begin{document} \subsubsection*{\begin{center}Variance equations\end{center}} \begin{eqnarray} \mu = ...
2
votes
0answers
26 views

Troublesome extra space in matrix with ConTeXt

I need to display a column vector in a table and, by doing it, an extra space occurs like an empty extra number. How can I fix this please ? \starttable[|r|l|] \NC $u=\startmatrix 1 \NR ...
7
votes
1answer
138 views

Reversing the effect of a \newline with the next command?

I'm using the harvard package and the agsm bibliography style. I'm aware that there are alternatives, e.g., natbib plus har2nat, and I will be looking into those in the not-too-distant future, but at ...
0
votes
1answer
40 views

Spacing in entrylist moves the adjacent block

Small question here. I'm using a template which I'm not to familiar with, and kind of newbie to. So the part of the code I'm having trouble with \begin{entrylist} \entry {RELAP \\ SIMPLER \\ XX ...
0
votes
0answers
18 views

Change spacing above and below chapter [duplicate]

I have following document: \documentclass[final]{book} \usepackage{lipsum} \usepackage{titlesec} \titlespacing{\chapter}{0pt}{0pt}{0pt} \begin{document} \chapter*{Chapter One} \lipsum{1-5} ...
1
vote
1answer
75 views

Wrong (too much) vertical space above \vdots in small matrix

If one uses \vdots in a smallmatrix-environment the vertical spacing above the dots is too large. It is the same spacing as in a normally sized matrix-environment. Minimal working example: ...
1
vote
1answer
53 views

Controlling the spaces between paragraphs

In the IEEE latex package, I see that the paragraph spacing is set to zero (.cls file) % Controls the spacing between paragraphs in lists. % IEEE does not increase spacing before or after paragraphs ...
2
votes
2answers
68 views

Overline over a symbol with an index

For example, if I want to write a closure of a set, which is denoted A_1, should I use $\overline{A_1}$ or $\overline A_1$ (or something completely different)? For me, the more logical choice seems ...