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

4
votes
2answers
199 views

What's the space between paragraphs?

\documentclass{article} \usepackage{lipsum} \begin{document} \paragraph{First paragraph} \lipsum[4] \paragraph{Second paragraph} \lipsum[4] \end{document} What is, and what sets, the space between ...
1
vote
1answer
45 views

Different margins for odd and even number pages

According to my institute guidelines Ii have to do the following in my thesis: Left margin: 1.25" (to ensure sufficient space for binding), Right mar- gin: 1" Caution: For front and back ...
4
votes
2answers
63 views

avoid space after thousands separator in math mode

In math mode, LaTeX inserts a small space after a comma. This looks nice in $a,b,c$, for example. But I don't like the way it looks when using a comma as a thousands separator, e.g., $x = 100,000$. ...
1
vote
1answer
20 views

Spacing of \tilde{\otimes} [duplicate]

How can I make the spacing of the two symbols, \otimes and \tildeotimes, identical? \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\tildeotimes}{\tilde{\otimes}} \begin{document} ...
3
votes
2answers
48 views

Spacing is off with convenience command

I want to define a command called \ksp{} that looks like this: \newcommand*{\ksp}{K_{sp}} However, this function gives an error if it's not invoked in math mode. See example here. ...
1
vote
2answers
41 views

minipage 6 figures avoid mixing figures horizontally

I looked deeply in here and I couldn't solve my problem. I have 6 figures which I want to separate each other with enough space for avoiding mix it. I have 2 figures, below another two and below ...
2
votes
1answer
81 views

Modify arraystretch for a single row in table

I need to display fractions within a table and it requires to set \renewcommand{\arraystretch}{2.3} The problem is that not all rows contain fractions, and in this cases the white space below and ...
2
votes
2answers
47 views

How to add a space between a title and the dotted leader?

I need to put some horizontal space between a title (of chapter, section, subsection, etc.) and the dotted leader, as it is marked in the given figure by red rectangles. The space should be ...
2
votes
2answers
33 views

Indentation and lacking space when using gb4e with minipages

The normal behavior of a gb4e example environment is seen in (1) in the MWE below. But when I want two examples side by side, using minipage, the example is indented, and there is no space before or ...
4
votes
4answers
55 views

Vertical spacing of \underset and other tweaks

please consider following code: \documentclass[a4paper]{article} \usepackage{ngerman} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} ...
0
votes
2answers
16 views

interword spacing latex in a table

I have a table with words separated by commas. Latex puts additional spaces in between these words which look a bit odd. \begin{table*}[!tb] \begin{center} \begin{scriptsize} \begin{tabular} ...
0
votes
1answer
62 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
3
votes
1answer
165 views

Why does declaring a command in-document produce horizontal space?

I'm really confused about why there is some extra horizontal space that appears before the second "Test" on my second line: \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} ...
3
votes
1answer
36 views

Left-right spacing of parentheses with DeclarePairedDelimiter

I know that \big and similar commands cause an incorrect spacing between the delimiter and their contents, and they should be replaced with \bigl and so on. I've defined some commands with ...
1
vote
0answers
45 views

LyX Spacing after = sign in \align

My question is the same as this question, but in the context of LyX. The solution for that question was to put the & before = sign. I manually implemented this tweak in LyX, by changing the raw ...
1
vote
1answer
62 views

How to change spaces before and after sections and chapters

I am using this documentclass with option [twoside,12pt] and this MWE: \documentclass[twoside,12pt]{Classes/aesm_edspia1} \usepackage[latin1]{inputenc} \usepackage[english,french]{babel} ...
1
vote
2answers
29 views

Remove subsubsection numbering and remove the blank space when underlining

My question refers to removing the blank space in front of the subsubsections when disabling the numbering. Concerning the way to disable the subsubsections numbering, there is no problem, this is ...
1
vote
1answer
45 views

Space between the footnote mark

I would like to increase the minimum space between a footnote mark and the preceding text. Furthermore, I would like to decrease the minimum space between the footnote mark and the following text. He ...
3
votes
0answers
61 views

How to add prefix to section names and create space in table of contents

I would like to add the prefix "Appendix" to appendix sections such that it appears in a table of contents. However, whenever I add this prefix using the \renewcommand command, the table of contents ...
1
vote
1answer
35 views

Customizing Memoir Class's \fancybreak

In response to No indentation after empty line @jon supplied the following \fancybreak macro lifted from memoir.cls: \makeatletter \newcommand{\fancybreak}{\@ifstar{\@sfbreak}{\@fbreak}} ...
1
vote
2answers
68 views

vspace not working after linebreak

For this minimal example \documentclass{article} \begin{document} \noindent Hallo \\ How \\ Are \\ \vspace{15cm}You? \end{document} There is no vertical space created between the word Are and You. ...
1
vote
0answers
30 views

Avoid empty line after quote environment when last element in footnote

Is there any way to redefined the quote environment (or the list environment in general) so that it does not issue an empty new line. I need to have block quotes in footnotes and the extra empty line ...
2
votes
0answers
36 views

Extra vertical space in minimal class

I am trying to get two pieces of text to align vertically. While I could probably do this with boxes, minipages, or a table, I was trying to adjust the alignment with \vspace (somewhat as a learning ...
3
votes
2answers
92 views

Bad Bottom Spacing For Equation After Section

As shown below the bottom spacing after the first equation is smaller than it should be to look right. I know I could manually add space, but is there a way to fix this automatically? I do know I ...
4
votes
1answer
18 views

tex4ht discards added spaces

tex4ht discards the added spaces in this document when converting to .odt format (pdflatex file && mk4ht oolatex file). Is there a way to write spacing commands that tex4ht will preserve? ...
0
votes
0answers
31 views

Long Math equations cause unwanted vertical paragraph spaces in the previous page in Classicthesis LyX version

This issue is identified as the cause for my previous question about unwanted space. In short, since the equation is about 1/3 pages long, it causes stretching in paragraphs and consequently leaves ...
0
votes
0answers
60 views

How to remove unwanted vertical space between paragraphs in Classicthesis LyX Version

I am using the latest Lyx version of classicthesis: classicthesis-LyX-v4.2_biblatex_bibtex8. It seems that whenever there is a section or subsection, subsubsection title as a first line in the next ...
3
votes
2answers
59 views

Strange blockarray vertical spacing

My first question here... Typesetting the code \documentclass{beamer} \usepackage{blkarray} \begin{document} \begin{equation} \begin{blockarray}{[ccc]} 1 & 2 \\ 3 & 4 \\ 5 ...
4
votes
4answers
143 views

How to horizontally align two or more random places of a document?

I would like to find a way to horizontally align any two or more random places of my document (but probably on the same page or not too far from each other). It's a bit like the second column of a ...
3
votes
1answer
70 views

How do I set the word spacing when using a specific font with fontspec?

I have a custom font that I use, but the words are always too close together. Can I fix this so that whenever this font is used, the spacing is the same? Something in em or similar would be great. I'm ...
2
votes
2answers
46 views

Why is \setlength ineffective inside a tabular environment?

Why is \setlength ineffective inside a tabular environment? Here is an MWE: \documentclass{article} \newlength{\globallength} \newlength{\locallength} \begin{document} ...
4
votes
0answers
80 views

Getting negative vspace to behave

My TeX code (including parameters in command definitions) that creates lyrics sheets and chord sheets of songs is generated dynamically by other code accessing database data and processing it line by ...
0
votes
0answers
29 views

Increase ntheorem break style spacing between header and body text

I just noticed that, when using the break style, the spacing between the header and the body of an ntheorem environment does not stretch according to the height of the immediate text, even though the ...
1
vote
2answers
39 views

Overfull and underfull boxes when using twoside documents and fancy headers

I am facing some problems with underfull vbox and overfull hbox while \output is active. When I am using the document class like: \documentclass[a4paper, 12pt]{report}, I got no messages about any ...
3
votes
1answer
33 views

How to remove indentation and vertical spaces in list in a table?

I am trying to make a CV and there is a section where I want to list the projects I have done with bullets, so I use itemize list inside a tabularx environment like this: ...
1
vote
1answer
41 views

Make column widths of multiple matrix columns equal

I have some gauss matrices in an align* environment, like this: \documentclass{article} \usepackage{amsmath} \usepackage{gauss} \newcommand{\BAR}{% \hspace{-\arraycolsep}% \strut\vrule % the ...
0
votes
1answer
37 views

Incorrect vertical white space between paragraphs due to figure

When inserting a figure in my latex document at a position where the figure cannot be placed precisely (e.g. at the bottom of a page in the pdf document), Latex nevertheless inserts white space ...
1
vote
1answer
101 views

How to remove unwanted spaces above and below equations in classicthesis in LyX

I am using latest LyX version of classicthesis template. When I import the latex code converted by word-to-latex into LyX, there are unwanted space above and below each equation (usually two extra ...
2
votes
1answer
37 views

Modifying the enumerate spacing

I often type \itemsep1pt \parskip0pt \parsep0pt after every instance of \begin{enumerate} to adhere to the spacing of the rest of the document. How can I define a new environment that keeps all ...
4
votes
2answers
145 views

\topsep, \itemsep, \partopsep and \parsep - what does each of them mean (and what about the bottom)?

The enumitem package documentation says: \topsep, \itemsep, \partopsep, \parsep? Look it up, n00bz. L0L Ok, it doesn't quite say that, but - can I get a diagram with what each of these means? ...
0
votes
1answer
43 views

word spacing in fraction [duplicate]

I want to have 2 separate words in a fraction (numerator & denominator), however, LaTeX would keep them together with no space. I'm using the amsmath package. And this is the line of the code: ...
1
vote
0answers
22 views

Latex, moving specific parts of texts to column / forcing not to skip to new page

probably a stupid question, but something I haven't really been able to find a solution to. I've been working on a project and I can't seem to be able to get it to display how I want. Is there any way ...
2
votes
1answer
53 views

Spacing: Align vs. Equation

Can anybody explain where the extra spacing comes from when using an align instead of a equation? And does anybody know how to remove it? \documentclass{article} \usepackage{amsmath} ...
0
votes
1answer
32 views

Distinguish \columnsep for twocolumn and wrapfigure

As far as I understand, the length \columnsep is used both for the gap between columns in a twocolumn document and for the space around a wrapfigure. How can I change the space between columns, but ...
6
votes
1answer
48 views

Keep babel's automatic spacing in \newcommand

In French, there's a narrow non-breaking space before ":". These are automatically added by the babel package, of course. However, I noticed something strange: the following macro ...
0
votes
1answer
78 views

Modifying spacing in the list of figures

I am having difficulties with some line spacing in my list of figures. I am writing a thesis and the requirements for the list of figures table is to have double spacing between entries. If an entry ...
0
votes
0answers
20 views

Squeezing inter-paragraph space with the ACM proceedings document class

I'm using the ACM proceedings SP document class for a conference submission. I'm noticing that the inter-paragraphs vertical space is quite large (I don't mean \paragraph's, just paragraphs). Now, in ...
2
votes
1answer
54 views

How do I get a space or line break between paragraphs rather than an indent? Parskip is not working [closed]

So when I first started out with my file I had gaps between paragraphs and no indent, as I was using the parskip package as listed below in my pre amble. At some point for a reason unbeknown to me ...
3
votes
1answer
33 views

Tabular row spacing

first my code for creating the table: \documentclass{report} \usepackage{booktabs} \usepackage{multirow} \begin{document} \begin{table}[!ht] \begin{tabular}{lccc} \textbf{Cases} & ...
2
votes
1answer
34 views

Aligning at top- Minipage

I referred the previous questions on aligning at the top when using a minipage. However, still could not solve the problem. I am guessing that there is some other problem in my code. The reduced ...