{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
23 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
25 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 ...
0
votes
1answer
31 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
2answers
25 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 ...
0
votes
0answers
27 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
43 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 ...
3
votes
1answer
24 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
44 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
29 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 ...
0
votes
2answers
28 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. ...
4
votes
2answers
75 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\\ ...
4
votes
1answer
42 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 ...
2
votes
1answer
43 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 ...
0
votes
1answer
67 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 ...
7
votes
2answers
106 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 ...
16
votes
3answers
552 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. ...
5
votes
4answers
174 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? ...
0
votes
0answers
45 views
+50

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 ...
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 ...
1
vote
2answers
63 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 ...
3
votes
1answer
30 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" ...
4
votes
1answer
42 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. ...
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
58 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. ...
0
votes
0answers
32 views

Aligning tabular inside list environment

Referring to my other unanswered because edited question here (see edit at the end), I have to open this new post. What can be done, to adjust the top of the tabular with the exercise-number at the ...
1
vote
1answer
19 views

Solid heading for onecolumn and twocolumn document

I need advice on creating a consistent solid heading style for a document that has both one column and two column pages. In one column mode, the heading should fill the entire page, but in two column ...
0
votes
0answers
8 views

Natbib with numbering: citeauthor, citeyear, horizontal white space [duplicate]

I am quite a new user of Natlib package with some basic knowledge of Latex. I have defined a custom new function \Mycite to obtain an hybrid citation with Authors (Year) [Number]. The rest of my ...
1
vote
0answers
62 views

Mimic fonts and spacing of tufte-book class

I am writing a book using memoir class and I want to mimic fonts and spacing of tufte-book class.
0
votes
0answers
49 views

Aligning minipages inside list environment

I use an own environment to typeset exercises with exercise-numbering at the left and exercise-body at the right. When I want to put two minipages in the exercise-body, they aren't aligned anymore ...
5
votes
2answers
165 views

Beautify whitespace in math environment with aligned with hline

I'm kind of surprised I can't find this issue already addressed somewhere, it seems so basic: I want to typeset basic algebra solutions where you write an equation and then under it you write what ...
5
votes
2answers
56 views

Frameboxes in multicol environment don't align

This code: \documentclass{article} \usepackage{polyglossia} \usepackage{multicol} \usepackage{calc} \setlength{\parindent}{0pt} \begin{document} \begin{multicols}{2} \begin{center} ...
2
votes
1answer
152 views

Zero space between characters, decibel sign

My MWE, \documentclass[a4paper,11pt]{scrbook} \usepackage[T1]{fontenc} \begin{document} dB \end{document} output, But I want zero (maybe negative) space between d and B. That is I didn't find ...
0
votes
1answer
50 views

Add space between two images

Hello I want add space between two images like this: \begin{figure} \includegraphics[width=\textwidth]{test1.png} \vspace{2cm} \includegraphics[width=\textwidth]{test2.png} ...
3
votes
2answers
91 views

Bibliography in LaTeX: Spaces between words

I'm writing the bibliography. LaTeX don't write it well. I don't know why. I have tried the two methods: \begin{the bibliography} and using BiBTeX. The result is the same. The result is longer spaces ...
2
votes
2answers
84 views

Table: white spacing with rowcolor, multicolumn and multirow

I have the following table : It uses \rowcolor, \multicolumn, \multirow but it also has a wide white spacing between the cases. I need the title "Cobertura del transporte en el municipio de ...
3
votes
1answer
36 views

reducing space before and after sub-headings

How can I reduce the space between \subsection and its following text, and also with \subsubsection. Currently it has a 2-line space above, and a 3-line space before and after the two headers. I am ...
3
votes
1answer
63 views

How to increase between hspace

How would I increase the vertical space between the first two projects and the second? Here is a MWE: \documentclass[12pt,letterpaper,sans]{moderncv} % moderncv themes \moderncvstyle{banking} ...
1
vote
1answer
27 views

How to increase vertical spacing between minipage and text?

I was trying to include two equations side-by-side in a document, while retaining the labels following this answer. However the spacing between the minipage and the text is too small. How can I ...
0
votes
1answer
93 views

Spacing of bibliography items affects title space

My main tex file is set for double space, but my bibliography must be different. Each item is single space (line spacing, intra item), separated by a double space (paragraph spacing, inter item). All ...
0
votes
0answers
56 views

Using \vspace in articles

Is using a \vspace{} command a stable/proper way to remove the white space in the figures while using it in an article? If not, then can anyone suggest me a quick fix to this? FYI, I am making .eps ...
2
votes
2answers
111 views

Hyphen separating symbols, without intervening spaces

What's the easiest/least ugly way to avoid the spaces around the hyphen in the following macro? \documentclass{article} \newcommand{\nuSwap}{\nu-\textsf{swap}} \begin{document} I get $\nuSwap$, ...
4
votes
2answers
73 views

How to relax the horizontal spacing rules for one line?

I have a line that happens to end in a non-breakable code-fragment This is a long line that ends in a \pre{std::ostream} long word. When printed the line is too full. The spaces between the words ...
0
votes
0answers
38 views

captionof{} and double-spacing

I am combining Tikz pictures with \includeimage in my thesis, which means I am mixing \captionof{} and \caption for captioning all of my images. I have now noticed that after invoking \doublespacing ...
2
votes
1answer
46 views

Modifying whitespace before and after list separately using enumitem package

I use the enumitem package to modify the amount of space related to lists. One of the options this package can easily modify is topsep. However, this variable controls the vertical space both before ...
5
votes
1answer
59 views

White space problem using multiple \ifnumequal

I am trying to produce slightly different documents based on a single numerical input. But when I use multiple \ifnumequal commands to get the correct bit of text it produces really strange white ...
2
votes
2answers
93 views

Color overshoots when using \cellcolor without intercolumn space

When creating highly regular tables, I'm quite fond of the custom C column type shown below that accepts a width and centers the content, without having me worry about intercolumn space messing ...
2
votes
1answer
67 views

Increasing vertical space after equation in paragraph with short previous line?

The problem I'm aware that LaTeX the spacing around equations in a paragraph differs depending on how long the line of the paragraph immediately preceding the equation is. When the preceding line is ...
2
votes
1answer
181 views

Is \\[<len>] as bad as \\ for new lines?

I have heard on multiple occasions that one should rather not use \\ to force new lines, unless one uses it in environments like tabular or align, and it is advised to use \par instead. How about ...
2
votes
4answers
102 views

Indentation in footnote

I have a small Problem with indentation in LaTeX footnotes: \documentclass[draft,12pt,a4paper]{article} \usepackage[footnote,printonlyused]{acronym} \begin{document} foo\footnote{foo: ...
0
votes
0answers
102 views

Shorthand Adjustment

How to combine the two lists below into one list, sorted, with the elements of the first in italics. Also, what is the code to modify the blank space separating abbreviations and definitions? I am ...