{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
1answer
62 views

\hphantom behaving like \mbox, not like the counterpart of \vphantom

I have the following figure as part of a slideshow I'm writing with beamer. If it is relevant, I've used pst-jtree (which is essentially a bunch of macros over pstricks) to produce the tree branches. ...
1
vote
0answers
29 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 ...
1
vote
2answers
45 views

Excessive spacing between lines in definition

I have a definition in which there is some mathematical text being used. The spacing between the lines is proving to be too much for my liking and my editor also lists this as a badbox. The LaTeX code ...
5
votes
1answer
36 views

Odd (?) spacing for mapping notation

I recently wrote up an answer on MSE that involved the mapping f\colon\mathbb{R^+}\to\mathbb{R^+}; the output looked a little different to me, and thus I thought it could have something to do with ...
0
votes
1answer
24 views

\hbox overflow, Friggeri fancy CV

I'm VERY new to latex so the searches I have done have lead to zero progress in solving my problem. I've been playing around with the entrylist parameters on the .cls file to no avail. My essential ...
2
votes
2answers
41 views

Abbreviation list align left with space between

Hi, Here is a sample code of my problem: \documentclass[12pt,a4paper]{report} \usepackage[labelfont=bf]{caption} \usepackage{listings} \usepackage{acro} \DeclareAcronym{loT}{ short = IoT , long = ...
4
votes
2answers
46 views

Is there a way to decrease the row separation in arrays?

I would like all the arrays I generate in a document, using the normal array environment, to have slightly smaller distance between rows, but the same column separation. Is there a simple way to do ...
1
vote
1answer
150 views

Spaces between sections and subsections on moderncv

I have been trying to get spaces included between sections and subsection as it looks so narrowed down (moderncv). Any help would be appreciated. Here is my code: ...
2
votes
0answers
17 views

Spacing issue with defined character [duplicate]

I needed a character that looks like a d with a bar through it, so I found this snippet of code. \newcommand{\dbar}{{\mathchar'26\mkern-12mu d}} This creates the right character, but it doesn't ...
1
vote
1answer
358 views

Wrong vertical spaces using bibentry within beamer

I would like to give some references using the bibentry package in a beamer presentation. But sometimes, e.g. if the list of authors spans over multiple lines, there is a wrong vertical space in the ...
1
vote
1answer
37 views

Longtable spacing

I am using longtable and I cannot find a way to adjust its column spacing. I want a table like this: But I am getting this: This is what I am doing for defining table size: ...
0
votes
0answers
34 views

Moving figures above each other

How is it possible to move figures above/below each other without being hidden? It seems not to be possile to make two consecutive figure environments and place a \vspace{} inbetween to get them ...
2
votes
4answers
45 views

How to give vertical space for a multiline title? [duplicate]

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{titling} \usepackage[T1]{fontenc} \title{Validation of Numerical Simulation of Fender Tests\par} \begin{document} \begin{titlepage} ...
5
votes
1answer
10k views

Reduce vertical space between text and table and remove table indentation

I want to reduce the vertical space between the first line text and the start of the table. I also want to remove the indent on the table, so that all three lines start at exactly the same vertical ...
0
votes
1answer
83 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...
5
votes
1answer
151 views

Vertical spacing between parboxes

I'm using \parbox for creating a flexible table-like structure of paragraphs as in the following minimal working example: \documentclass[a4paper]{scrartcl} \usepackage{polyglossia} % ...
1
vote
1answer
41 views

First word hyphenation in parbox with strut

I've a problem with parbox spacing in combination with hyphenation. What I like to achieve is setting parboxes in a tabular-like way as key value pairs. So I have two parboxes with a given width per ...
105
votes
2answers
59k views

How do I create an invisible character?

I cannot remember how to create an invisible character in LaTeX, i.e. I want to put a space the that has the width of a particular character, say `M'. I know there is a command for this, and this is ...
4
votes
3answers
92 views

Tweaking theorem style last parameter traps?

When I modified the \newtheoremstyle last parameter to get a list for a listoftheorems new command I want to define later, I got some unpleasant side effects I want to get rid of. First unwanted side ...
0
votes
0answers
31 views

Default font letter spacing

I have a slight issue while writing my thesis. The examination office of my university allows no more than 20 pages of text (and they are very strict about that). They normally also require you to ...
4
votes
2answers
568 views

Reduce the space between a quotation and a title

When I use the quotation environment at the start of a section I get too much space between the title and the start of the quotation. How to modify spacing around quotation environment? has ways to ...
0
votes
0answers
34 views

How to fix the space between “Figure” and “5” in “Figure 5:” in figure caption?

I use this solution to get captions for my figures at the side, which works really fine. But sometimes, if the word behind "Figure xyz:" is too long for the line, I get something like this: How can ...
2
votes
0answers
29 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 ...
0
votes
0answers
32 views

Very much gap between two sections in some chapters

I am writing my thesis of \documentclass[12pt,a4paper,twoside]{report} In some of the sections of the chapters I find too much of space between the end of one section and the beginning of another . ...
3
votes
2answers
152 views

Beamer-Warsaw: Reduced No. of subsections in title

I give a lecture with 10 section and maybe 5-10 subsections. Using Warsaw-Theme would make the available space to small. Ist there a way to make it show: only the last section, momentary section ...
2
votes
1answer
35 views

Forcing minimum height for tabularx row

I have a tabularx table using multirow and with all columns vertically centered. Here's the table: \usepackage{multirow,tabularx} \newcolumntype{C}[1]{>{\centering\arraybackslash}m{#1}} ...
0
votes
1answer
25 views

spacing between list and equation

my code is \item Discuss to what extent the cable length affects the peak voltage at node C. \end{enumerate} \begin{center} \begin{align*} H(t) = 0 \ for\ t < 0 \\ H(t) = 1 \ for\ t \geq 0 ...
0
votes
0answers
40 views

How to set the 1.5 spacing on puthesis documentclass?

can someone tell me please how to set the 1.5 spacing on puthesis documentclass?
1
vote
0answers
18 views

Consistent formatting for \glft in expex

In the ExPeX documentation, all of the examples with \glft wrap the glos with single quotes; the examples in my document look the same: \pex \begingl \gla bu nɛmə // \glb this what // \glft `What's ...
3
votes
1answer
27 views

How can I use \noexpand and \unexpanded without appending a space to the unexpanded tokens?

One of my current tasks involves composing an auxiliary file with extra commands to be loaded at a separate compilation. Here's an MWE: \documentclass{memoir} \newwrite\testaux ...
6
votes
1answer
363 views

Math spacing in TeX Gyre Pagella

The spacing in the following output looks off to me. In particular, the integral symbol has not grown to accommodate the height of the integrand, the spacing in the fraction seems large, and the ...
1
vote
0answers
70 views

Why is there so much space under and over my itemize? [closed]

I am using a template from somebody else for my master thesis. I have changed the template to fit my needs and everything works, except for the itemize-area. Most of the time there is way too much ...
0
votes
0answers
21 views

How can I produce better spacing between header and content when using fancyhdr package?

I am currently using the fancyhdr package with the following setup: %BOOK FORMATTING \usepackage{fancyhdr} % nice header format \fancyhead[RO, LE]{\textbsf{\thepage}} % ...
3
votes
2answers
78 views

Turn * into thin space for clearer math spacing

In a formula, the space between variables often corresponds implicitly to a multiplication operator. I find LaTeX's default spacing not so readable: symbols are too close to each other, and I would ...
2
votes
1answer
28 views

Extend space for many authors in conference paper

Prologue For a conference paper, I am asked to use an existing style file. The typesetting code apparently has a history of re-use and adaptations of more than 20 years, and it looks pretty crumbled ...
2
votes
2answers
63 views

Listings: add vertical padding without abusing frame

I have the following setup for my displayed listings: \documentclass[a4paper]{article} \pagestyle{empty} \usepackage{listings,xcolor,lipsum} \lstset{ backgroundcolor = \color{yellow}, ...
2
votes
2answers
34 views

Asymmetrical Composition of images

I am desperately trying to arrange my images as in this sample figure for my paper and I am stuck. Has anyone been able to do this successfully and could give me some pointers? It should be noted ...
6
votes
1answer
62 views

Is there a way to get rid of my \vspace{} hack?

I am creating my CV in TeX from scratch and I have come across multiple invisible lines that make my formatting inconsistent. I have this command to make a bulleted list from delimited elements: ...
26
votes
2answers
36k views

Vertical spacing of a table cell

I want to tabulate formulas, but I find that the lines of the table cells are too close together, and this is aesthetically unsatisfactory. Example (formulae copied from wikipedia): ...
1
vote
0answers
33 views

Unwanted space around punctuation in copied & pasted listing

When I compile the .tex file below into .pdf using rubber -d mwe.tex and try to copy & paste the contents of the listing, I get spaces around . characters that were not present in the original ...
2
votes
3answers
82 views

Table row & column spacing (not padding!)?

I need space between rows and remove white lines between the columns. All the answers I found only referenced array stretch and \tabcolsep, which I use and like, however, these only change the ...
16
votes
4answers
9k views

How to change the line spacing in my list of figures?

I am using the book documentclass and have a list of figures. After much trouble I noticed that there is a blank line to separate figures that are in different chapters, but not if they are within the ...
1
vote
1answer
14 views

Bind vertical spacing change in ToC to \*matter commands

This is a spin-off question to Change vertical space of chapters temporarly in Table of Contents. Like in the question's answer, I managed to achieve custom vertical spacing of chapters before, during ...
4
votes
2answers
72 views

spacing in description with items wrapped in minipage

I'm trying to prevent items in description environment from breaking by wrapping each one in a minipage. (Perhaps that's not a good approach, but let's put that aside if we can for my question.) When ...
3
votes
2answers
29 views

How to reduce the vertical distance before a \begin{addmargin}

I have the following texts. My problem is that between my text and myothertext a distance is inserted that is about the equal of a full line. As I want to avoid this but not sure as to how I can do ...
1
vote
2answers
27 views

Reduce space between two tabu environments

I have a document with two longtabu tables. The problem is that there's too much vertical space between them (as marked by the red line): I'd like to reduce this space whilst otherwise preserving ...
1
vote
1answer
26 views

how remove space before algorithm (caused by layout)

i'm not an expert of latex and i can't solve the following problem. I have a long algorithm and this occupies an entire column, the problem is that compiler add a blank space before it, and i need ...
0
votes
1answer
41 views

Page setup in memoir class

I have been using the memoir class based template for sometime. All this while I have been having a problem with the top margin of the document. Following is the pagestyle code ...
1
vote
1answer
44 views

How do I fix vertical spacing between tables?

I have a document with about 50 tables in it. If one of the tables goes over the page, LaTeX automatically sends that table to the next page. The issue is that LaTeX increases the spacing between ...
0
votes
1answer
27 views

Spacing issue in equation reference [duplicate]

When I type (Eq.\ref{eq.15}) The output is Obviously the spacing between "Eq." and "1.15" is too closed. But when I type (adding a space) (Eq. \ref{eq.15}) The output is: Obviously the spacing ...