{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
0answers
618 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
96 views

Hightlight specfic digits within siunix's \num

I would like to highlight specific digits in a number. Since the number is large I would like to use \num{} from the siunitx package. Of course I can do it manually as in the MWE below, but was ...
4
votes
0answers
45 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
168 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
85 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
65 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
42 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
188 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
186 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 ...
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
116 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
168 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
330 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
442 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
16 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
25 views

How do I increase the white space between a section's title and the page header?

I would like something like this: I'm using {geometry} and {article} class, but I think I'm missing some definitions for the sections. I'm new at this and would like to write my masters thesis on ...
2
votes
0answers
43 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
28 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
32 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
30 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
36 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
36 views

exsheets: how to use skip-below with custom heading

I am using exsheets for making problem sets and worksheets. I made a custom heading, but now skip-below key does not work: \documentclass{article} \usepackage{exsheets} ...
2
votes
0answers
67 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
45 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 ...
2
votes
0answers
100 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
69 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
40 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
114 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
205 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
50 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
287 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
76 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
150 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
91 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
198 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
113 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
117 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 ...
2
votes
0answers
137 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
162 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
91 views

Identical space around \[ \] and the amsmath environments set to a personnal value

I wish to have the same spaces around the brackets \[ ... \] as the space around the environments align and equation (above and below, short or not) from amsmath, ideally (I set \parskip=1ex), ...
2
votes
0answers
84 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
152 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 ...
2
votes
0answers
205 views

How can I customise the table of contents like so?

I face a problem of spacing between items in my table of contents. This is what I have at the moment: I would like to change a few things: I want to put table of content in center I want to put ...
2
votes
0answers
111 views

How to have a wrapfigure not always be below section heading

I have noticed that wrapfigs always place themselves under a section heading, with quite a bit of white space. This often leads to my wrapfig captions being below the bottom margin and the white space ...
2
votes
0answers
167 views

Unwanted extra vertical spacing with tikz: is it a bug?

I am writing an environment to format its content in a box with a background and that can be split across pages. I am using a splitting algorithm similar to the one used in the boites package. I want ...
2
votes
0answers
348 views

Reduce gap between a figure and a paragraph

I put 2 figures side by side as follows: \begin{figure} \centering \subfigure[a long sentence a]{% \includegraphics[width=0.23\textwidth]{figures/cells_time_23h29.eps}} \subfigure[a long ...
2
votes
0answers
111 views

Change spacing for lists in LyX through template

I want to change the vertical spacing of a list in my resume. I am using the moderncv style file through LyX in Ubuntu 12.04. One of the list environments defined in the moderncv is Computer ...
1
vote
0answers
21 views

How to change spacing between the section heading and the first line of the body of the setion

I need increase the spacing between the section heading and the first line of the section to 2 double spaces. Please see the picture attached.The marked spacing is what i need to increase. Please ...
1
vote
0answers
56 views

Excessive vertical space after lstlisting

I have created a macro \piece to structure longer sections into smaller, numbered pieces. (I am using the macro in a set of lecture notes where I try to introduce one concept per piece.) The code, ...
1
vote
0answers
28 views

problems to remove whitespace between itemize env and plain text | a difference of 1cm in \vspace{-n} results in ~ 2 sites difference

after the itemize env, i have about a half page whitespace, until the text appears. When i insert \vspace{-6cm} about 1,5 pages jumps up and covers part of the itemize env. When i do \vspace{-5cm} i ...