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

9
votes
0answers
653 views

proper alignment of pdfpages import in memoir typeblock

Finding the solution to Setting up pdfpages with memoir? turned out not to be as simple as adding the right layout parameter as an offset. The first finding was that if a twoside documentclass is ...
7
votes
0answers
78 views

Why equation Recognizes section Above While aligned Does Not

I am placing equations either right after section headings, right before them or both. I know that this is not advised, but I do believe in my context it looks better. One interesting thing I noticed ...
4
votes
0answers
50 views

Spacing around gather when math color is given

I am trying to get rid of the spacing around gather/align environments in a Beamer presentation. As usual, I set the abovedisplayskip & friends registers to zero with \g@addto@macro\normalsize. ...
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 ...
4
votes
0answers
53 views

XeTeX: special \XeTeXcharclass needed for null glues

\XeTeXcharclass for glues (including null ones) is 255. High punctuation spacing in French with XeTeX is based on \XeTeXcharclass and \XeTeXinterchartoks both in polyglossia and babel/frenchb. As a ...
4
votes
0answers
221 views

Beamer: Extra vertical space with \visible

This is related to How to get rid of height differences in two beamer blocks? I'm curious why overlay commands \visible (and \invisible, \uncover, \onslide) would add an extra vertical space ...
4
votes
0answers
184 views

Wrong vertical alignment using mdframed with tight margins

When using the mdframed environment with absolutely tight margins (all set 0pt), there is too much negative vertical space of split md-frames that are placed at the top of a page. To illustrate this, ...
3
votes
0answers
41 views

Remove spaces between various elements

I am trying to remove the space between the elements that I show in the following image. The space I talk about is denoted by the gray line (that line is not produced by LaTeX, it is merely a way to ...
3
votes
0answers
36 views

Defining an 'optional' description list environment

I'm trying to create a variant of the description environment that coerces any present description to be on the next line. I can't seem to get the vertical spacing right when there's no description ...
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 ...
3
votes
0answers
116 views

spacing within block and between blocks with list in beamer

I am using beamer blocks in the default theme to delimit "paragraphs" in a frame. When I use a list within a block, the vertical spacing is different compared to the spacing for a block with no list, ...
3
votes
0answers
70 views

LaTeX seems to insert an extra inter word space before a capital letter in the middle of a word

But I guess it doesn't and it's just a font issue that makes the combination look like there was a space: \documentclass{article} \usepackage{fontspec} \begin{document} ...
3
votes
0answers
56 views

\printacronyms gives an extra line at end

I used acro package with tabular style to print acronyms. When I did that, it added an extra line to the end of acronyms list, therefore \vspace{-\baselineskip} corrects the problem. However that ...
3
votes
0answers
47 views

Spacing around figures and tables

At the moment I have the following code in the preamble: \usepackage{float} \floatstyle{plaintop} \restylefloat{table} This puts figure captions below the figure, and table captions above the ...
3
votes
0answers
220 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
3
votes
0answers
127 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
3
votes
0answers
63 views

Controlling the space in section numbers

I want to control the space around the dots of the section numbers (and subsection and so on). I think the space sometimes is too small like the one with IV . sometimes to wide, eg when it involves a ...
3
votes
0answers
118 views

floatrow - remove whitespace beneath figure

I have a page layout with exactly 40 text lines and some small pictures to distribute throughout the text. When I arrange 2 pictures at the page bottom in a row via floatrow and specify their height ...
3
votes
0answers
179 views

Frenchspacing not working in footnote

I have \footnote{\textit{Difesa della povera gente}, in: \textit{L’attesa}, p. 81; cfr. \textit{Ero disoccupato e mi hai trovato lavoro}, in: Giovagnoli, \textit{op. cit.}, pp. 232--233.}. which ...
3
votes
0answers
368 views

Using the correct amount of space around unit symbols

This is from an old package I developed back in 2003. The idea was to cover international system units (SI) and other type of units, roughly following guidelines from that document. Units should ...
3
votes
0answers
483 views

Free space in bar-chart with empty entries

I would like to plot some data set with the ybar option of pgfplot. But not all entries are nonzero. The zero entries waste space between the bars and when the plot gets crowed it is not clear anymore ...
2
votes
0answers
37 views

Propagating fill values to Beamer columns

I would like to be able to use lengths with fill glue inside a Beamer column (or, for that matter, inside a minipage) in such a way that the finally assigned length is consistent inside and outside ...
2
votes
0answers
51 views

uneven space between words

when I use itemise or enumerate the spacing between the words reduces when compared to the remaining content outside the itemise or enumerate loop .i want same spacing as outside content .
2
votes
0answers
39 views

Is there a way to control vertical spacing between minipage elements?

I have a large (7-chapter) document on linear algebra. In a part of the document where I do row/column operations, I have put the matrices in a figure within a minipage. I am getting a lot of vertical ...
2
votes
0answers
31 views

How can I remove the extra vertical space above the first equation in a cases environment?

This problem seems to be related to the AIAA class that I have to use to submit the paper that I am writing, as I cannot reproduce it with other classes. The latest Aiaa.cls class file can be ...
2
votes
0answers
24 views

Two chapters on same page in memoir, with twocolumn

This is a follow-up to the question two chapters on same page in memoir \documentclass[oneside,landscape,twocolumn]{memoir} \usepackage{lipsum} \begin{document} \chapter*{Test 1} This is a test ...
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 ...
2
votes
0answers
39 views

Big space between longtable/longtabu and the preceeding section header

If I add a longtable or longtabu environment directly after a \section command a very big space is set between the header and the table. In case of the second example where some text is in between ...
2
votes
0answers
51 views

How can I customize headings in book-class?

I am writing my master thesis in the book-class in Latex and need some help to format the headings in the document. I have a Word-template from the University which have specific formats of the ...
2
votes
0answers
31 views

Blank rule after end of paragraph while using the \input{}

At this moment I am writing my first .tex file using the \input{} command. My 'master' file will look like this. %preamble \begin{document} \input{introduction.tex} %et cetera \end{document} ...
2
votes
0answers
49 views

How can I set the space between footnotes and page number equal to the space I have between text and page number?

The page numbers are at the bottom center of my document. From time to time, I add footnotes but realised that the space between the footnotes and the page number is not the same for the case I do not ...
2
votes
0answers
36 views

Spacing in displayed equations with a piece of text in the middle

In order to avoid an excess of symbolism, I like to typeset displayed equations with some text replacing some connective, as in (\forall x\in \mathbb{N}: \{1,\dots,x-1\} \subseteq B) ...
2
votes
0answers
41 views

Editing Distance between Abstract and Intro in LyX

Here's an example of how I'd like my abstract to appear. Note that the amount of vertical space between the abstract and intro is minor. In my document the vertical space between the abstract and ...
2
votes
0answers
76 views

Unwanted vertical space at top of page before subsection heading

I have been using LaTeX for a while now, but I am very new to defining my own commands in the preamble. I am working on my thesis, and I'm using a custom .cls file which has been passed down by other ...
2
votes
0answers
200 views

Spacing after minipage

I have been playing with the code given by egreg here: How to keep a constant baselineskip when using minipages (or \parboxes)?, and I have almost succeeded in creating a two-column environment with ...
2
votes
0answers
76 views

Ragged2e preventing proper hyphenation of long chemical names

In my thesis I use chemical names containing dashes and numbers in section titles. Additionally, each compound is numbered by using the \cmpd{} command from chemnum-package. To prevent the label from ...
2
votes
0answers
41 views

Spacing in complicated equations

I have some longer term where some of the factors have a functional dependence in parentheses. When I just write this out, the parentheses are closer to the next symbol than to the symbol that they ...
2
votes
0answers
130 views

How to remove extra space above the figure

This is tex file Thus, speculatively, higher-order antibunching might play a role superior to usual antibunching. Note that such a prominence of higher-order antibunching was discovered for the first ...
2
votes
0answers
232 views

Zero space between bars of the same interval in pgfplots ybar interval plots

I need a bar plot (containing multiple \addplot) with following requirements: ticks between x labels (and, in this respect, my question differs from Adjusting width of ybar interval separator to ...
2
votes
0answers
52 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 ...
2
votes
0answers
328 views

Controlling delimiters in matrices typeset with TiKZ

This question is directly related to Loop Space user's answer to question Broken matrix - gaps in brackets, in which an alternative TiKZ method to amsmath matrix typesetting is provided. The ...
2
votes
0answers
79 views

How to put something on a page without disturbing the main vertical list?

I'd like to put something on an arbitrary place on a page. I'm using \begin{tikzpicture}[remember picture,overlay] ... \end{tikzpicture} inside \nointerlineskip\vbox to 0pt{\vss ...
2
votes
0answers
166 views

text alignment problem in beamer

The text is aligned left even though there is lot of space on right side. Below is my part of tex file. and the output slide is also attached. Please suggest what can I do to correct this. Thanks. ...
2
votes
0answers
101 views

Having the same amount of space with and without multicol when using with titlesec and itemize

I am trying to use multicol and itemize to spread a list over several columns. I am also using titlesec to style my headings. One part of my document uses multicol and the other does not and both have ...
2
votes
0answers
241 views

Multicol and Itemize

I am using the multicol package with itemize. On the left of my two columns, each bullet point is 2 lines long, and on the right side, each bullet point is one line long. Right now, my output is ...
2
votes
0answers
120 views

Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
2
votes
0answers
173 views

First line in beamer block ignores abovedisplayskip?

If I use an an align environment within the a beamer block, the \abovedisplayskip is ignored. How can I force that setting? My MWE is \documentclass[t]{beamer} \usecolortheme{rose} ...
2
votes
0answers
176 views

Emulate tabular vertical spacing with parskip package

I would like to emulate the vertical spacing of tabular without using tabular. When the \parskip package is used, using \par leaves too much vertical space, so I thought I'd emulate it with use of a ...
2
votes
0answers
88 views

Cancel the use of \baselineskip when at the top of page

I've defined a macro \myaddress which prints my address at the end of a document, cf. Simplify how I write my address in documents. That macro includes the use of \vspace{\baselineskip} to separate it ...
2
votes
0answers
168 views

Extra spacing before an equation when line nearly breaks

I am having difficulty with producing an MWE, but let me describe the issue. I have a large document with tons of equations and run into issues with spacing. Most of the time it is fine, everything ...