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

27
votes
3answers
78k views

How to add an empty line between paragraphs?

I have two sections which I'd like to separate by an empty line. Every time I press Enter, LyX removes that empty line between paragraphs. How do I prevent this?
7
votes
1answer
36 views

Irregular spacing around a user-defined environment

I have defined an environment for consistently typesetting a pair of alternative assumptions being made. The idea is that wherever I make an assumption, the assumptions are indented and on the left ...
4
votes
1answer
1k views

Reduce space before and after an environment

A simple(?) question, how do I reduce the space before and after a environment? I suppose I'm after a redefine environment command that I can put at the top of my document. Example I'm using ...
1
vote
1answer
287 views

Vertical Spacing inside theorem environment

I am using theorem environment to separate different exercises assigned as homework. So my plan is to write exe's description, move a few lines below and then give my solution. I am using \vspace{3cm} ...
6
votes
4answers
78 views

Uneven spacing around blockquote

For my dissertation, which I am in the final stages of formatting, I am required to use double-spacing for the main text and single-spacing for blockquotes. But this has somehow produced the annoying ...
0
votes
1answer
130 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 ...
7
votes
1answer
905 views

Vertical line in longtable

I would like my vertical line to be slightly detached from the horizontal lines. I am using \usepackage{longtable}. \footnotesize \begin{longtable}{r | p{10cm}} \caption{My caption 1\label{1}}\\ ...
2
votes
1answer
16 views

Missing spacing above theorem name

The following MWE \documentclass[10pt,a4paper]{amsbook} \usepackage{amsthm} \usepackage{parskip} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \newtheoremstyle{pcap} % name {\topsep} ...
3
votes
1answer
27 views

breaking line in gb4e [duplicate]

I use gb4e for my linguistic examples. When the example is long, gb4e breaks it into two lines (of the first and second, glossing, lines). However, I sometimes want to break it at a certain point. How ...
1
vote
0answers
9 views

Using frame within textblock in beamerposter

\documentclass{beamer} \usepackage[orientation=portrait, size=custom, width=60, height=90, scale=1.4]{beamerposter} \usepackage[absolute,overlay]{textpos} \usetheme{Madrid} \begin{document} ...
2
votes
0answers
49 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 .
0
votes
0answers
14 views

Vertical box spacing [duplicate]

I'm having some issues with the vertical spacing around \parboxes. It seems to depend on whether or not the \parbox in question contains one line or more. Here is some example code: ...
1
vote
1answer
17 views

Abstract title space

How to diminish the space between text and abstract title? I'm using \usepackage{abstract} \usepackage{titlesec} packages and have such styles for header spacing and abstract font size: ...
0
votes
0answers
24 views

Header / Footer space on indexes

I really tried to find the answer by using google. The problem is that I don't know how to properly express my question. On the first Page of my Index I have way more space in the header and way to ...
7
votes
1answer
4k views

Problem copying text from pdf - spaces being stripped

I have the following minimal working example: \documentclass{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} é canção \end{document} I need to use the utf8 argument ...
0
votes
0answers
27 views

Create blank space after automatical new line

I do not know how to create blank space (something like \hspace{10mm}) after automatical new line if the paragraph inserted is longer than one line. Here is an example how it should look: The ...
0
votes
2answers
42 views

Add spaces to the start of lines in a blockquote

I'm trying to typeset a poem in a \blockquote, but the spaces at the start of each line disappear when I make a PDF. How do I allow the spaces to remain at the beginning of each line of the poem? ...
3
votes
1answer
135 views

Adjusting space when using the “lettre” class

I am quite new in writing letters with LaTeX, and I am wondering whether there is a way to adjust the space between the end of the sender's e-mail address and the subject of the letter (see picture ...
7
votes
4answers
123 views

Creating a right aligned signature block

I would like to create a signature block for the title page of my dissertation. A requirement is that the block must be aligned with the right side of the page. Within the block itself, everything ...
2
votes
1answer
58 views

How to delete the contents of the current paragraph and “re-start” from the beginning?

I want to use an environment defined in a 3rd-party package which I cannot modify. Stripped down, the definition looks like this: \newenvironment{myenv}[1]{ % some stuff here \textbf{#1} }{% some ...
3
votes
1answer
568 views

Endfloat: Spacing of multiple tables per page at end of chapter

As an alternative to having each table or figure on a separate page at the end of each chapter, I'm using a command to put an \mbox around each figure/table. How can I control the spacing, as some ...
5
votes
1answer
6k views

How to modify line spacing per entry of bibliography?

I am using Easy-Thesis template to write my thesis. I downloaded this template from writelatex website. I am using natbib to format my bibliography style. This generate nice layout for the ...
3
votes
1answer
136 views

How to change the spacing between the headline of bibliography and the first bib entry?

I use the \printbibliography command to generate the section of bibliography for my thesis. The spacing between the headline (e.g. Bibliography) and the first reference (e.g. [1] P. Alfeld, "XXX") ...
3
votes
2answers
100 views

Table spacing and alignment

I'm having some problems with tables: 1) Right now cells are centrally aligned (horizontal & vertical). I would like to centre the cells horizontally only so that the text remains at the top of ...
4
votes
2answers
118 views

How can I use the unit mu in an hspace?

I tried combining hspace with the "math unit" mu inside a math environment, like this: \documentclass{article} \begin{document} $\delta \hspace{1mu} f$ \end{document} But this leads to the ...
3
votes
1answer
36 views

Why does the limit of my sum sometimes go underneath and others to the right?

I have the same summation but sometimes the bottom limit appears underneath as I want, and others it jumps to the right? Is there any way to ensure the limit sit underneath? These sit to the right. ...
4
votes
0answers
109 views

How to reduce the gap at the beginning of chapter 1? [closed]

\documentclass[a4paper,12pt]{mnnit} \usepackage{graphicx,times,epsfig,amsmath} \usepackage[Sonny]{myfancy} \usepackage{fancyhdr} \setcounter{secnumdepth}{5} \usepackage{float} \usepackage{subfig} ...
2
votes
1answer
143 views

How to reduce space in beginning but not in end of itemize

This refers to my question. How to reduce space in begining of itemize? [topsep=0] also reduces space between the itemize and text below to itemlist. I just want to reduce space in the beginning, ...
4
votes
2answers
5k views

How to reduce space in begining of itemize?

I am writing one list after one text. Following is list items: 1. Pen 2. Hen 3. Ten I need to reduce spacing between text (Following is list items:) and beginning of list (Pen). How can ...
2
votes
0answers
34 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 ...
6
votes
1answer
121 views

“$a, b$” vs. “$a$, $b$”

I have two questions. Would you use Let $x, y$ and $z$ be real numbers. or Let $x$, $y$ and $z$ be real numbers. ? Which one is better? Would you use For $x, y\in\mathbb R$ we have ... or For $x$, ...
4
votes
2answers
570 views

Strange spacing in inline listings (listings package)

I am using the listings package to typeset some code. I've defined a lstlisting environment, based upon the standard Haskell environment, and added a number of literate replacements, including: ...
1
vote
0answers
27 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 ...
1
vote
2answers
57 views

\vfill does't work after upgrading texmaker

I recently upgrade MikTex and TexMaker to the latest version (2.9.5840 and 4.5 respectively) for another reason. the problem is that the command \null \vfill before and after column content won't ...
0
votes
2answers
7 views

interword spacing latex in a table

I have a table with words separated by commas. Latex puts additional spaces in between these words which look a bit odd. \begin{table*}[!tb] \begin{center} \begin{scriptsize} \begin{tabular} ...
3
votes
1answer
995 views

Adding floating space between main text and footnotes

I have to typeset a text with several widows and lots of footnotes. The editor told me to leave an additional blank line between the main text and the footnotes and to use this space to print the ...
1
vote
0answers
29 views

how to reduce the space in a equation in latex?

general, the equation in latex looks like: But in some paper, the equation looks more compact, like There is less space among the equation. How to make such a configuration?
5
votes
2answers
82 views

Suppressing whitespace at end of environment

This must have been answered before, but I'm afraid I can't find it. I'm defining an environment and I want the end block to be formatted immediately after the end of the contents, without ...
2
votes
0answers
17 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
1answer
58 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
1answer
31 views

Template - Arbitrary Spacing in Lyx Formal Lab Report

I've been using Lyx and an MIT Template that is available from the link below (also including a minimal example) to write my Formal Lab reports for my undergraduate Physics labs. I (and my tutors) ...
4
votes
2answers
106 views

\topsep, \itemsep, \partopsep and \parsep - what does each of them mean (and what about the bottom)?

The enumitem package documentation says: \topsep, \itemsep, \partopsep, \parsep? Look it up, n00bz. L0L Ok, it doesn't quite say that, but - can I get a diagram with what each of these means? ...
0
votes
1answer
51 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} ...
38
votes
7answers
55k views

Inserting a small vertical space in a table

Is there a way that I can insert a small space in a table? When I use a superscript, the number touches the \hline. \documentclass[9pt,letterpaper]{article} \usepackage{helvet} ...
2
votes
1answer
45 views

How do I get a space or line break between paragraphs rather than an indent? Parskip is not working

So when I first started out with my file I had gaps between paragraphs and no indent, as I was using the parskip package as listed below in my pre amble. At some point for a reason unbeknown to me ...
3
votes
2answers
42 views

\ref is adding blank spaces to the label name depending on position in the paragraph

Ok, this is a pretty strange problem based on a workaround suggested here: Reference name of description list item in LaTeX I am trying to hyperlink/refer back to descriptions by their name in this ...
1
vote
1answer
20 views

\multirow cell is not vertically centered when \cellspacetoplimit and \cellspacebottomlimit are used

Common cell is not centered vertically. Without \setlength\cellspacetoplimit{5pt} and \setlength\cellspacebottomlimit{5pt}, it is centered. But I do want additional spacing between rows. I can ...
1
vote
0answers
38 views

spaces in references in pdf view

I am using book document when I view my work on pdf, some of references looks like this with spaces. how to avoid them? Can I change "bibliography" to "references"?
3
votes
1answer
243 views

Wrong spacing with empheq

Consider the following example: \documentclass{article} \usepackage{mathtools} \usepackage[amsmath]{empheq} \usepackage{xcolor} \definecolor{shadecolor}{cmyk}{0,0,0.45,0} ...
2
votes
1answer
126 views

Change spacing before chapter title within frontmatter

I am using the report class for my dissertation, which requires 2 inch margin beginning at each chapter. I am using the following command: \titlespacing*{\chapter}{0pt}{2in}{1in} This works fine ...