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

5
votes
2answers
84 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
197 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
145 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 ...
8
votes
2answers
312 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
213 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 ...
6
votes
1answer
67 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
65 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 ...
11
votes
1answer
164 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}} ...
1
vote
0answers
56 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
87 views

Table overlapping text in conference document class

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 ...
4
votes
1answer
96 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
2answers
87 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
163 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
58 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} ...
9
votes
2answers
124 views

What do empty math character class symbols (“\mathpunct{}”) do, and when are they used?

Every once in a while, one will encounter empty math characters with a specific math character class. For example, amsmath uses \mathpunct{} in its definition of \colon: ...
6
votes
2answers
82 views

table and caption distance

I am quite new to Latex, and I was wondering, if there is way to change the distance between the caption and the table. If you compile this example you can understand what I mean. ...
4
votes
1answer
188 views

How to affect the vertical gap between the glossary's name and its body

I'm using the glossaries package for producing of nomenclature/symbols/acronyms lists, but I don't know how to influence the vertical gap between the glossary title and the first glossary entry. ...
3
votes
3answers
63 views

Unwanted extra gap in longtable

I have finally faced a problem when all googling, this forum and any wittiness could not help me out. I have been working in a \longtable environment when in seemingly the most simple table I have ...
10
votes
3answers
294 views

Empty line (in code) before enumerate environment

I like my code to look like this: \documentclass{article} \begin{document} \begin{enumerate} \item test text \begin{enumerate} \item 1 \item 2 \item 3 \item 4 \item 5 ...
17
votes
4answers
381 views

It doesn't hyphenate words ending with “—”

Note: Every — you see in the code is an em-dash. I'writing a paper, and XeLaTeX doesn't hyphenate words which end with – (traditional LaTeX ---). After reading the comments, I realized this is a ...
9
votes
2answers
231 views

Horizontal rule between lines that vertically takes up only its height and that doesn't close up to surrounding ascenders/descenders

I would like a command \lineseprule that appears as a horizontal line of customizable width. It should neither take up a full line's height (\linesepruleA below) nor close up the lines above and below ...
3
votes
1answer
138 views

How can I customise the table of contents?

I am new to LaTeX, please I need you help. I am writing my thesis and I face problem with table of content, I want to remove the space between the first part of my table of content which is AUTHOR'S ...
4
votes
1answer
84 views

How to take the following paragraph

I'm new to TeX and I'm a bit lost. Could someone tell me how this should be written (marked 'PROBLEM HERE' in the code) Situation: When argument #2 is space (empty paragraph), I want to use next ...
2
votes
0answers
99 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
1answer
255 views

Simple list of abbreviations manually

I have written my whole document without using any packages like nomencl or acronym because it wasn't necessary in my case, that means I only have a few abbreviations which should fit on one page ...
6
votes
1answer
78 views

Spacing around inline equations

What is the parameter determining spacing and stretchability around inline equations? I want to tweak spacing exactly but cannot find where the parameters are.
7
votes
2answers
100 views

Uneven vertical alignment with $\in$

Here's a simple example: \documentclass{article} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{commath} \newcommand{\st}{\text{ s.t. }} \begin{document} \[ (x_n) ...
2
votes
1answer
123 views

Linebreak at itemize

My MWE is the following: \documentclass{article} \begin{document} \begin{itemize} \item[about] Foo\\ Lorem ipsum dolor sit amet, consectetur, adipisci velit \item[about] sort rules(...) ...
7
votes
3answers
221 views

How to get more space in piecewise function on LaTeX?

I'm writing a paper and I have inserted a piecewise function into my tex-code. My problem is that the piecewise function is very tightly packed. How could I stretch the bracket and get more space ...
10
votes
2answers
98 views

Use 'space' glyph from a font

Is there a way to globally (or in an environment) set the 'space' glyph as the interword space? I'm importing the OpenType font via fontspec which has a specially designed 'space' glyph that I want to ...
6
votes
1answer
125 views

\LaTeX logo too compressed with microtype and defined \SetExtraKerning

I have, perhaps, a slightly odd problem. I have used microtype to define some special spacing rules. This is the relevant bit of the preamble (and I will have hopefully not forgotten anything --- if I ...
3
votes
1answer
80 views

how to xshift tikzmark and preserve interrow spacing in matrix

I am trying to use the \tikzmark command to overlay a right brace with a label next to a pmatrix. Unfortunately, there are two problems with the current output: My code has introduced extra vertical ...
7
votes
2answers
125 views

Why does the non-breaking space produce a double space with babel and \og and how to use both \og and non-breaking space?

I am wondering if this is a normal situation or a bug! \documentclass{article} \usepackage[french]{babel} \begin{document} Ceci est \og entre guillemets \fg. Ceci est aussi \og~entre ...
1
vote
0answers
52 views

Increase the gap before and after the dots in inline list [duplicate]

How to increase the gap before and after the dot? Here's a MWE: \documentclass[a4paper]{article} \usepackage[inline]{enumitem} \begin{document} \begin{itemize*} \item[] First point \item ...
8
votes
0answers
142 views

Microtype and word spacing

I'm trying to change the default word spacing for some font. I know 2 ways to do it: setting \fontdimens or \spaceskip. With these approaches and microtype's \textls I get two different results, ...
2
votes
0answers
104 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 ...
1
vote
2answers
185 views

Fill a table cell with empty lines

This is a follow-up question of Set table background hatched and shaded using tikz. I want to specify the height of the orange cell as "number of lines" like it is done for the \ShadeCell[5] command ...
1
vote
1answer
148 views

how to change spacing between align environments and equation environments?

I am using align and environment for various equations. There is some space that comes before and after the equations that I would like to minimize. Is there a single command that could be used to ...
3
votes
1answer
64 views

Vertical space only after every second row in a table

I have several tables in the following custom format, to which I would like to add vertical space (e.g. 6 pt) after every second row. I know this can be done manually. I am only wondering, if there is ...
2
votes
1answer
74 views

multi-line proof using proof package

I have been using the infer from the proof package. I am wondering if there is a way to add line breaks in the proofs? For instance I would like to set: A B C ----- D But I couldn't find a ...
3
votes
1answer
46 views

Using multiple newlines (\\) within LARGE block

I am trying to typeset a long title using a {\LARGE ...}-Block. Here is a minimal example: \documentclass{scrbook} \begin{document} {\LARGE Very \\ Long \\ Title} \end{document} And the ...
0
votes
0answers
52 views

Mysterious white space between abstract and section

When I use the following code, it generates a huge white space between 1.1 Dataset and my abstract. \documentclass[12pt,twoside,a4paper,openright]{report} \usepackage{amsthm} \usepackage{qutthesis} ...
5
votes
2answers
54 views

Array spacing in multiple line environment

Consider the following MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{gather*} \renewcommand{\arraystretch}{1.2} \begin{pmatrix} \frac{1}{2} \\ \frac{1}{2} \end{pmatrix} ...
1
vote
0answers
57 views

Too much space in the section

My problem is the next, I have too much space to finish a \section and start the other section the code is: ...ropagaci\'on, as\'i solamente la luz que sea paralela al eje de polarizaci\'on ...
3
votes
1answer
175 views

Titlesec problem, defining space before section with \titlespacing

I am using the article document class and have trouble with the \titlespacing command of the titlesec package (explicit). I want to have more space before the \section. MWE: ...
2
votes
1answer
299 views

How to automatically remove space before punctuation and adding after sign?

Sometimes when I write some text, I mistakingly put space before dot/comma or I forget to put space after dot/comma. I would like LaTeX to remove all space before dots and add space after punctuation. ...
3
votes
2answers
285 views

How to remove space before enumerate?

How can i remove space before enumerate? % before \begin{document} \usepackage{enumerate} This is first line and i need to remove space between this line and item list below it. % after ...
2
votes
2answers
158 views

Reduce space below a figure?

Due to the page limit, I now wish to reduce the blank space right after a figure (a TikZ drawing). I personally find it too big. Below is my MWE. How may I fix it? \documentclass[a4paper]{article} ...
9
votes
2answers
152 views

Simplest way to typeset a double space

I have a very simple question. Sometimes I need to put two spaces between letters or words, like this: a a %this is a single space a a %this is a double space I want the double space to be ...
5
votes
2answers
78 views

How to get more space underneath a block in beamer?

I'm creating a beamer presentation. This is my code: \documentclass{beamer} \usetheme{Berlin} \useoutertheme{miniframes} %Titelbalken \setbeamertemplate{blocks}[rounded][shadow=true] %Packages ...