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

1
vote
0answers
46 views

What is the space around a parbox? [duplicate]

I write a short macro which put a picture on the left and a text on the right: \newlength\largeur \newcommand{\uneQuestion}[1]{ \setlength{\largeur}{\columnwidth} ...
0
votes
1answer
129 views

Why my first text line is indented? [duplicate]

Here is my LaTex code: \documentclass{article} \usepackage{amsmath} \usepackage{color} \pagestyle{empty} \begin{document} \definecolor{blu}{RGB}{31,111,130} \definecolor{gren}{RGB}{39,110,13} ...
4
votes
1answer
69 views

Broken footnotes in psp.cls

When I write an article using the psp class for the journal Mathematical Proceedings of the Cambridge Mathematical Society, there's something broken with the footnote markers in the text. The footnote ...
4
votes
2answers
77 views

Section headings overflow gutter

How can I prevent the title from overflowing the gutter? It seems to only overflow by the amount of space introduced by the numbered part of the title. We are using this style: ...
3
votes
2answers
262 views

Align math explanation [duplicate]

Any possibility to align the fractions (units in general) too? Wobei: \begin{flalign*} \noindent \tab \rho _{KOH} & = 2.04 \frac{g}{cm^3} &\\ M_{KOH} & = 56.10 \frac{g}{mol} &\\ ...
4
votes
1answer
105 views

How do I Make a Three-Column Title?

I'm trying to format a title for my document. Normally, I write <Title> \hfill \today, to have a title nicely split into two columns, each aligned at the left and right margin, respectively. ...
7
votes
3answers
540 views

Maintaining alignment between irregularly vertically spaced TikZ matrix nodes

I'm trying to create a diagram with pairs of rectangles of different sizes, each separated by a fixed interval. Additionally, I want each pair to be left-aligned at the same point. Here's an example ...
2
votes
1answer
135 views

Setting the line length for caption

I am trying to use subfigure to put two figures beside each other and unfortunately LaTeX puts them to the right. I used hspace to reduce the space between them and that results in messing up the ...
1
vote
1answer
170 views

Text spacing altered when using minipage

Why does the spacing between words alter when using minipage function ? \documentclass[a4paper, 14pt, oneside]{article} \usepackage{soul} % Used for the title name (eg. title) \usepackage{titlesec} ...
3
votes
1answer
951 views

Local scoping of textfloatsep

I was wondering if you can set the scope of \textfloatsep locally. I have found an old thread on Google groups, which points out that you couldn't. Has that changed by now? So what I want to do is ...
4
votes
1answer
166 views

Bad horizontal spacing when using the fourier/utopia font

Consider the following MWE: \documentclass{article} \usepackage{fourier} \begin{document} If \(0<b<1\). \emph{If \(0<b<1\)}. \emph{If 0<b<1} \end{document} that yields the ...
6
votes
2answers
279 views

too much space with tabto and enumitem

The MWE below indicates the problem. The final item, number 6, isn't aligned correctly (it is pushed some extra space to the right!). This is also the case when I change the number of tabs to 2. ...
3
votes
0answers
117 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 ...
8
votes
1answer
645 views

Using vspace, with spacing?

When I use the vspace command it won't work unless I put a new, empty line before and after the command. Is this normal? If it is, why is that? Why does it require spacing around the command?
2
votes
0answers
50 views

compute position of each symbol [closed]

I've created a program that generates clickable areas on images with HTML5, taking as input a series of coordinates. Now what I'd like to do is send to that program a .png of a LaTeX expression ...
4
votes
1answer
582 views

Vertical space between two paragraph (only)

I would like to increase the vertical space between two specific paragraphs. These paragraphs are already in a deep section (\subsubsection{}) so I do not want to put each paragraph inside a ...
4
votes
2answers
622 views

Reduce spacing between two (custom) paragraphs in scrreprt

I have defined a custom paragraph named myparagraph to use it as a small, unnumbered headline within my document. The reason is that I like the font of the paragraph heading, which is not as bold as ...
4
votes
1answer
258 views

aboveglftskip in expex linguistic glosses

First of all I am not an expert in using LaTeX, I just started a few months back. I am using MiKTeX with the expex package for glossed linguistic examples. If we take a look at a glossed example, we ...
3
votes
2answers
115 views

Pagebreak at the end of a page

I have reproduced a simple example, which shows my spacing problem. Description: The page is completely filled with text, only 1-2 words go over to the next page, despite it looks as if there was ...
3
votes
1answer
286 views

Beamer listings fragile — Too much space

I am using listings package in Beamer. If I use inline listing, there is no problem and the listings look good. However, if I use \begin{lstlisting}, it is required to use fragile frame and the ...
2
votes
2answers
218 views

Why is there only one question on the second page? Using Exam Class

I am trying to format this exam; however, the number of question per page is horrible. There is no logical reason why there is only one question on the second page and several on the next page and ...
1
vote
0answers
185 views

Overall formatting in LyX

I could not find a previous question that dealt with this topic, and much of the guidance is one-off. I am creating a paper and I want the text to be double spaced but not section headings, the ...
4
votes
1answer
974 views

Bullets without itemize ignoring spacing

Easy question for those in the know :) I can produce a itemised list like this \documentclass{article} \usepackage{enumitem}% http://ctan.org/pkg/enumitem \begin{document} \begin{itemize} \item ...
6
votes
1answer
3k views

moderncv: Increase space between cventry

I wrote my CV using moderncv but the entries (in particular \cventry) are too compact for me. I tried to change the parskip but it does not change anything. Could you tell me how could I increase the ...
15
votes
1answer
228 views

How do I insert a tie (~, non-breaking space, tilde) under expl3 syntax?

I need to define a token list of the form \tl_new:N \g_silly_tl \tl_set:Nn \g_silly_tl { Text ~ and ~ a ~ tie:?? } How do I do this? More generally, is there a reference where one can see how ...
5
votes
1answer
484 views

Vertical spacing in multi-line title

Using LyX I have set the document to 1.5 spacing and it is applying to my title causing a weird space since my title goes into a second line. Other places in the document changing the paragraph ...
4
votes
1answer
134 views

Spacing problem with xpinyin

The xpinyin package provides a way to annotate Chinese characters with their Latin phonetic transcriptions. For characters with multiple pronunciations, one would use ...
5
votes
2answers
293 views

Balanced vertical padding in table & Why does \vphantom has width?

I think I have a simpler & better solution to these questions on how to add vertical padding to tabular cells so they looks less crammed. However, my solution which make use of \vphantom somehow ...
3
votes
0answers
175 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 ...
15
votes
5answers
283 views

Behavior of \\ inside center environment

While trying to compile a title page for my dissertation I realized that I do not understand the behavior of \\. Consider the following MWE \documentclass{memoir} \begin{document} \begin{center} ...
6
votes
1answer
196 views

Big Space Before and After Enumerate

I am typing an enumerated list, and when I compile there is about half a page of space between the list and the text surrounding it. The code: and $a,b\in\R$. Then \begin{enumerate} \item ...
3
votes
1answer
166 views

dcolumn with brackets

I am using dcolumn to align cells to the decimal point. But in case of brackets, I always got overfull errors in my main document. If I replicate a MWE with the full preamble, there are no more ...
5
votes
1answer
333 views

how to remove space before List of Figures

How can I remove the space before the List Of Figures in List of Figures page. I am using report class. Thank you
10
votes
1answer
136 views

Extra space due to \patchcmd

It seems that \patchcmd from etoolbox adds three unwanted spaces, as shown below: \documentclass{minimal} \usepackage{etoolbox} \begin{document} \tracingall% 3 spaces in ...
8
votes
1answer
65 views

Superflous vertical spacing after tagging environment

I would like to use the tagging package to tag parts of a document, which not only contain text, but also other environments like enumerate. If I use the taggedblock-environment for this, this creates ...
1
vote
3answers
267 views

Putting spaces between two \arrowvert to indicate cardinality of a group

How to put spaces between two vertical lines in Latex for e.g typing the usual notation of cardinality of a group ?
5
votes
2answers
396 views

Unwanted vertical space before tabular on title page

I worked on my title page, and there is some undesired vertical space before a tabular environment. I made two fboxes to illustrate the vertical distance I wanted to be the same 116 pt. But after the ...
3
votes
1answer
1k views

Control space between paragraph and table in LaTeX

I have large white space between paragraph and table in a LaTeX file, see the following figure. how to control this space? MWE is uploaded in this link MWE the paper should not exceed 1 page
3
votes
2answers
527 views

Vertical space between chapter heading and table

In my appendix I have only chapters followed by one or more tables each. These tables are captioned. But I'd like the tables to begin after the usual vertical space which is put if you simply write ...
9
votes
2answers
2k views

How can I remove extra space after `itemize` in moderncv?

In a moderncv document, using an itemize in a cvitem produces extra spacing after the itemized list. Here's a minimum working example: \documentclass{moderncv} \moderncvstyle{casual} ...
2
votes
2answers
2k views

Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
7
votes
1answer
121 views

Aligning text centered on left margin; mystery horizontal space

I have the following: \documentclass{article} \usepackage{calc, expl3, xparse} \makeatletter\ExplSyntaxOn \def\globalsettoheight{\@gsettodim\ht} \def\globalsettodepth {\@gsettodim\dp} ...
5
votes
1answer
104 views

How to Generally Increase the Size and Line Spacing of the Footnotes?

I think that the footnotes are generally a little too small, and I would like to increase their size globally (for the entire document). How do I go about doing this? Moreover, I think that the ...
12
votes
1answer
317 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
2
votes
0answers
166 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 ...
0
votes
0answers
345 views

Table overlapping text in conference document class [duplicate]

I have a problem with my table overlapping my text. I give the MWE and a picture of the result: \documentclass[conference]{IEEEtran} \usepackage[table]{xcolor}% http://ctan.org/pkg/xcolor ...
6
votes
2answers
718 views

Missing space after “guillemets”

I have a problem with the \og and \fg characters for opening and closing "guillemet". The closing guillemet is always too close to whatever follows, in other words, there is missing space between \fg ...
2
votes
3answers
329 views

How to force a text to appear after a table

I have to show a set of four tables: one after another. Each table has almost middle page of information, and I really need them to appear before the next block of text. An example of LaTeX code is ...
3
votes
1answer
839 views

Message Sequence chart

I'm drawing a sequencediagram with LaTeX. By now it looks like this: Is it possible to remove the grey boxes? Is it possible to put a space between handshake and ws.connect? This is my Code: ...
2
votes
0answers
99 views

Number wrong in the Table of content [closed]

I have a problem with the ToC numbering in the following example: \documentclass[12pt,english]{report} \usepackage{setspace}\onehalfspacing \usepackage{titlesec, blindtext, color} ...