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

2
votes
1answer
22 views

How to fully justify tabular columns

I would like a tabular environment with fully justified columns. I my best guess of how to make this happen is to use a tabularx environment (so the tabular knows how wide to be) and then put \hilll ...
2
votes
2answers
43 views

How to prevent the orphan word of paragraphs

Currently, I have a paragraph in my article shown as following picture: the orphan word MAS. at the end of the paragraph takes a single line. But somehow, there was one typeset which successfully ...
3
votes
3answers
92 views

Automatic spacing of symbols

I'm curious how to automatically get a bit of spacing around symbols that are written together. Let us assume we have symbols A and B that represent some abstract objects. We define commands \A and ...
4
votes
2answers
67 views

How to achieve multicolumn item lists with independent content?

I need three item lists next to each other, with a centered heading for each list. Using the multicol-package doesn't seem to fit my needs as it doesn't allow me to fill my columns independently, does ...
2
votes
1answer
23 views

How to define the indentation for the second line of a multiline item with custom label?

I have a multicolumn list and I am a little limited in vertical space, for that reason I used the property leftmargin=* of itemize to get rid of some of the white space between the custom label and ...
17
votes
1answer
691 views

What does the tilde character (~) do in math mode?

What effect does the tilde character ~ have in math mode? Is it the same non-breaking space that it is in text mode? Is it bad style to use ~ in math mode? I've seen it used in some examples but ...
0
votes
0answers
71 views

Allow space before heading at top of page in book class

Another question asks about the possibility of leaving space before a section heading at the top of a page in the memoir class. Is there a similar solution for the book class? One workaround I've ...
5
votes
1answer
66 views

Spurious leading horizontal space with \multicolumn in tabular

When I use a \multicolumn within a tabular (or tabularx) there seems to be additional horizontal spacing added at the beginning of the column even though the left alignment was specified for ...
2
votes
1answer
35 views

multicol list spacing before and after section titles

How can I get consistent spacing before and after an itemize environment inside a multicols environment when the list is immediately after or immediately before the start of a section? The list in ...
5
votes
2answers
71 views

Math operator always in textstyle

I would like to define a macro that expands to the same symbol as \sum but using the inline style (\textstyle) even when used in a displayed environment. Here's what I got: ...
8
votes
2answers
349 views

Spurious [?] vertical space introduced by multicols

In the example below, you'll notice, in the first box, a slight spurious vertical space before the text actually starts, and probably introduced by multicols. Do you know how to get rid of it? ...
0
votes
3answers
46 views

header rule margin with boxes

I'm creating a document with a box in the header and an other one in the footer. But I would like to have the same space between the bottom of the top box and header rule and between the top of the ...
4
votes
1answer
35 views

Weird spacing with mdframed

I'm using mdframed to make a framed theorem environment but I'm having some trouble with the spacing below the theorem. This is my MWE: \documentclass{article} \usepackage{amsmath} ...
2
votes
1answer
172 views

How to make a new line without indenting?

How can I make a new line without it being indented? Here is what I have so far: \documentclass[11pt, oneside, reqno]{article} \usepackage{amssymb, amsthm, amsmath, amsfonts} \usepackage{bardmacros} ...
3
votes
1answer
118 views

Are most TeX fonts other than Computer Modern optimized for \frenchspacing?

I assume that when Don Knuth created his Computer Modern fonts, he optimized them, at least in his opinion, for \nonfrenchspacing. But since almost all books that aren't created with TeX have no extra ...
3
votes
2answers
39 views

Wider vertical space with some tables (those causing overfull \hboxes?)

With the following code: \documentclass[a4paper]{report} \usepackage{lipsum} \begin{document} a \begin{center} \begin{tabular}{|c|c|c|} \hline Ord & Esplicito (Adam-Bashforth) & Implicito ...
16
votes
4answers
2k views

No space present after ensuremath

When I insert a short maths section in a sentence, it renders fine with a space each side as expected: ...returned $\mathcal{P}$ from... If I define a command to do the same thing, it also renders ...
2
votes
0answers
25 views

Extra vertical space when using align and no numbering

I think I've found a small bug in the way the showonlyrefs=true option in mathtools works. Consider this semi-minimal example: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} % UFT8 - ...
0
votes
1answer
25 views

Making ToC page numbers flushleft, and not flush right

My ToC has all page numbers appear just next to the entry heading. This works fine when the page numbers are small; however, with four small roman numerals the page number meets the entry heading. It ...
3
votes
1answer
43 views

Avoid space preceding a reference

I use \vref{something} to reference to figures. As long as this is in regular text everything is fine. But When I surround this with brackets like this (\vref{something}) then is the result is a ...
2
votes
1answer
97 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 ...
0
votes
1answer
35 views

Suppress vertical space after `\printindex`

In \documentclass{book}, \printindex shunts the first two columns of my index down the page leaving white space that I don't need. What is the name of this space so that I can reset it to zero? In ...
2
votes
1answer
32 views

Align environment creates extra vertical space

I'm typing a very large document (a thesis) and at some point align environment produces abnormally large vertical space before and after equation. I double-checked that it is neither in the beginning ...
3
votes
1answer
147 views

Line spacing in ToC, LoF, and LoT

I am currently writing my thesis in Latex and the thesis is supposed to be double spaced, so I have used the \doublespacing command in my latex file. The problem: Chapter or Section Titles, Figure ...
2
votes
2answers
29 views

Add space between \hline and superscript without affecting any other spacing

I want to add space between \hline and A^T without affecting any other spacing. Here is MWE: \documentclass{article} \begin{document} \begin{tabular}{l} \hline $\begin{array}{c}a\leftarrow A^Tb ...
16
votes
2answers
1k views

How to change the interword spacing?

I'm trying to enlarge the interword spacing, because with ITC Kabel's default spacing it's sometimes hard to decide where is the space between two words. I read the manual of the microtype package, ...
77
votes
4answers
21k views

Vertical space in lists

What is the best way to globally change the amount of vertical space between items in list environments?
0
votes
0answers
29 views

How to increase vertical spacing when plotting multiple figures?

I have three .tikz files converted from matlab. And I want to plot them together. Here is a MWE: \documentclass[11pt]{article} \usepackage{pgfplots, pgfplotstable} \pgfplotsset{scaled y ticks=false} ...
3
votes
2answers
46 views

How to remove space after the description label and add after the whole description?

I have the following tex source: Lorem ipsum dolor Lorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ipsum dolorLorem ...
0
votes
1answer
127 views

Formatting figures on a single page without leaving space at the bottom

When Using 6 figures in a single page, I am forced to make figures small. But, this arrangement leaves a lot of empty space at the bottom. How to enlarge image without having to move them to different ...
3
votes
1answer
27 views

Problems with centering a figure

I have a problem with centering a figure. At first I have set for 12 pt and the figures were centered. Then I put 10 pt and all the figures shifted to right. How can I solve this problem? Here is ...
5
votes
2answers
46 views

How can I decrease the vertical space under an environment in a custom command?

I'd like to manipulate the vertical space under a custom command I defined. How can I do that? (all these years and I actually have never looked into this before...) Picture MWE ...
2
votes
1answer
31 views

Table Environment with Surrounding Spaces like Normal Paragraph

Around a tabular environment, LaTeX produces different vertical spaces than a normal paragraph. There are some answers here in LaTeX Stack Exchange that advise setting \intextsep, but I see no ...
4
votes
1answer
44 views

Why does beamer change the item spacing when there are sub-items?

When an \item has another itemize environment inside it, the interline space to the preceding \item is slightly less than if threre is no sub-itemize (right image). This has the effect of bullet ...
21
votes
3answers
591 views

How to make a command completely empty / invisible / non-existent?

I have a command like \newcommand{\todo}[1]{#1} which I sometimes replace by: \newcommand{\todo}[1]{} In terms of spacing/whitespace, the behavior of the "empty" command is as follows: Test. ...
0
votes
2answers
31 views

set row separation (vertical spacing) of enumerated list in multicol environment

I'd like to be able to control the spacing between rows of an enumerated list within a multicol environment, ideally only requiring a single argument at the beginning of the multicol environment. ...
2
votes
1answer
46 views

How to minimize occurring text gaps when wrapping around Images?

So I've got this problem. I am using XeTex compiler (but I think the rest give the same result too) I am using a \parshape style-method in order to form a space for a large image, in the middle, of a ...
25
votes
1answer
52k views

How to change the space between the itemize “items” in LaTeX? [duplicate]

Possible Duplicate: Vertical space in lists How to change the space between the itemize "items" in LaTeX so that I can continue to use the "itemize" and "item" tag without needing to ...
0
votes
1answer
73 views

ToC content spacing and related formatting

I'm working in memoir class and creating ToC with both short and (sometimes very) long chapter title. I need to: Adjust horizontal spacing between part\chapter number and the title so they won't be ...
4
votes
2answers
80 views

How to control horizontal placement of shortintertext

My example is as following: \documentclass{article} \usepackage{amsmath} \usepackage{mathtools} \begin{document} In our next class, we will test \begin{alignat*}{1} H_{0}: & \beta_{2}>0\\ ...
7
votes
2answers
108 views

\hbox spread in plain TeX

I want to learn Plain TeX to understand the underlying mechanics of TeX and friends. I am trying to reproduce the spacing of this dedication from the Spanish music-theory treatise, El porque de la ...
5
votes
4answers
179 views

How to make a multi-line equation fit in a single column of a two-column document

I am trying to suit a formula to a two-column style document using cases in the flalign. It nearly fits if an unnecessary space would not prevent. Is their any option to remove it? ...
3
votes
1answer
44 views

How could I modify vertical space between inst on titlepage?

I think everything is in the question. My problem is that my graphic is half visible because of the 4 \inst I have on the title page... So my approach to get my graphic 100% visible is to decrease the ...
0
votes
1answer
113 views

Vertical space in TOC (references entry)

The references entry has a vertical space in the TOC page, something like that How could I remove this space and make the references section just like a chapter in the TOC?? I'm using the memoir ...
1
vote
2answers
65 views

I'm looking for a compact style for the whole document

I'm writing a summary of Russian grammar, just for myself. But the sections are short, so a large percent of the space is just headings and stuff. I'm looking for a compact style that will give me a ...
4
votes
1answer
44 views

consistent spacing using tabular/ minipage/ parbox

Even though I've read numerous threads on how to achieve consistent spacing, I still cannot figure out, why it doesn't work when using any of the macros \testD to \testG in the following example. ...
3
votes
1answer
33 views

Vertical space within chapter label using titlesec

I am required to have a chapter heading formatted in the following way to obey thesis formatting rules at our institution: CHAPTER Chapter Title The vertical space between "CHAPTER" ...
21
votes
2answers
23k views

What is the difference between \hspace*{\fill} and \hfill?

In the memoir manual on page 183 ,this example is given: \begin{figure} \centering \hspace*{\fill} {ILLUSTRATION 1} \hfill {ILLUSTRATION 2} \hspace*{\fill} \caption{Example float with two ...
2
votes
0answers
31 views

More space between main text and footnote [duplicate]

I want to add some space between text on the page and footnotes. I need to have "one missing line" above the black line of footnotes. Thank you for any help!
2
votes
0answers
63 views

text alignment problem in beamer

The text is aligned left even though there is lot of space on right side. Below is my part of tex file. and the output slide is also attached. Please suggest what can I do to correct this. Thanks. ...