{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
0answers
27 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 ...
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} ...
3
votes
1answer
26 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 ...
2
votes
1answer
15 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} ...
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
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 ...
6
votes
4answers
76 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 ...
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 ...
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. ...
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$, ...
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
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?
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 ...
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
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) ...
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 ...
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 ...
7
votes
4answers
232 views

Typesetting an integer interval

I am trying to typeset a integer interval like this: [0..m-1] However, the space between 0,., and m - 1 are too small. Is there a package to improve this?
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"?
0
votes
0answers
18 views

Remove vertical spacing above References Label

I am using biblatex to format my bibliography. I would like to remove the vertical space that is inserted above the "References" in the references section. I wish to have the label as the top of ...
1
vote
1answer
18 views

Remove top space from lstlisting inside tabular

I have the following problem. lstlisting seems to add an extra space before and after the code. Is there a way to remove it ? I would like to remove the blank spaces before and after the code : ...
2
votes
1answer
28 views

Turn off the effect that the space between words are expanded to fit the columns

Currently I have the my draft of poster as below: \documentclass[a2]{sciposter} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{enumitem} \usepackage{amssymb} \usepackage{graphicx} ...
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 ...
1
vote
1answer
33 views

Have new lines after paragraphs but not after headings in LaTex?

I wish to follow the convention of marking paragraph breaks with a line break as opposed to the LaTex default of an indent. However I do not wish to have a new line after section headings. Previous ...
1
vote
0answers
43 views

Distance between header and text

I'm having a big problem with my Latex document. I've never used Latex before but till now it's going fine. So here is my problem: the distance between the text and the headline is too large, but ...
3
votes
0answers
38 views

Remove spaces between various elements

I am trying to remove the space between the elements that I show in the following image. The space I talk about is denoted by the gray line (that line is not produced by LaTeX, it is merely a way to ...
1
vote
1answer
26 views

Vertical space between chapter number and chapter title using sectsty

I am using sectsty to format my chapter titles, but I want the vertical space between Chapter # and Chapter Title gone, and I can't find a way to do it without losing the styles applied by sectsty. ...
2
votes
2answers
35 views

Vertical space before new section on new page begins

How can you create vertical space before a new section on a new page begins? Using vspace or bigskip does not work. Example: \vspace{5mm} \section{Section 1} Some text \subsection{Section 1.1}
2
votes
1answer
26 views

Spacing around CJK text with ucharclasses package

I'm modifying a .sty file that's used with documents that includes Latin, Arabic and Japanese text intermingled without specific markup. I am using xeCJK to identify the Japanese text and ...
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 ...
3
votes
0answers
33 views

Defining an 'optional' description list environment

I'm trying to create a variant of the description environment that coerces any present description to be on the next line. I can't seem to get the vertical spacing right when there's no description ...
4
votes
2answers
188 views

What's the space between paragraphs?

\documentclass{article} \usepackage{lipsum} \begin{document} \paragraph{First paragraph} \lipsum[4] \paragraph{Second paragraph} \lipsum[4] \end{document} What is, and what sets, the space between ...
1
vote
1answer
39 views

Different margins for odd and even number pages

According to my institute guidelines Ii have to do the following in my thesis: Left margin: 1.25" (to ensure sufficient space for binding), Right mar- gin: 1" Caution: For front and back ...
4
votes
2answers
44 views

avoid space after thousands separator in math mode

In math mode, LaTeX inserts a small space after a comma. This looks nice in $a,b,c$, for example. But I don't like the way it looks when using a comma as a thousands separator, e.g., $x = 100,000$. ...
1
vote
1answer
19 views

Spacing of \tilde{\otimes} [duplicate]

How can I make the spacing of the two symbols, \otimes and \tildeotimes, identical? \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\tildeotimes}{\tilde{\otimes}} \begin{document} ...
3
votes
2answers
45 views

Spacing is off with convenience command

I want to define a command called \ksp{} that looks like this: \newcommand*{\ksp}{K_{sp}} However, this function gives an error if it's not invoked in math mode. See example here. ...
1
vote
2answers
38 views

minipage 6 figures avoid mixing figures horizontally

I looked deeply in here and I couldn't solve my problem. I have 6 figures which I want to separate each other with enough space for avoiding mix it. I have 2 figures, below another two and below ...
2
votes
1answer
71 views

Modify arraystretch for a single row in table

I need to display fractions within a table and it requires to set \renewcommand{\arraystretch}{2.3} The problem is that not all rows contain fractions, and in this cases the white space below and ...
2
votes
2answers
44 views

How to add a space between a title and the dotted leader?

I need to put some horizontal space between a title (of chapter, section, subsection, etc.) and the dotted leader, as it is marked in the given figure by red rectangles. The space should be ...
2
votes
2answers
26 views

Indentation and lacking space when using gb4e with minipages

The normal behavior of a gb4e example environment is seen in (1) in the MWE below. But when I want two examples side by side, using minipage, the example is indented, and there is no space before or ...
4
votes
4answers
42 views

Vertical spacing of \underset and other tweaks

please consider following code: \documentclass[a4paper]{article} \usepackage{ngerman} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amssymb} ...
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} ...
0
votes
1answer
52 views

Sub caption of table produces large white gap

For tables I need a caption above, and sub captions beneath the table, to define all abbreviations used in the tables. The solution I'm using so far results in a large white space after the table/ ...
3
votes
1answer
163 views

Why does declaring a command in-document produce horizontal space?

I'm really confused about why there is some extra horizontal space that appears before the second "Test" on my second line: \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} ...
3
votes
1answer
28 views

Left-right spacing of parentheses with DeclarePairedDelimiter

I know that \big and similar commands cause an incorrect spacing between the delimiter and their contents, and they should be replaced with \bigl and so on. I've defined some commands with ...