Tagged Questions

{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
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 ...
3
votes
1answer
48 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
51 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
71 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
35 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
24 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
77 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
57 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
173 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
59 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
167 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 ...
1
vote
1answer
71 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
125 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
119 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
43 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
84 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
39 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
109 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
58 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
114 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
81 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
46 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
68 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
64 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
103 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
81 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
185 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
122 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
104 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 ...
6
votes
1answer
35 views

Set initial line after chapter title relative to top margin, not relative to end of chapter title

I want to set the initial line of text in every chapter to start at the same position on the page relative to the top margin of the page, and not relative to the last line of the chapter title. I ...
23
votes
2answers
420 views

Is there such thing as “visual-only whitespace”?

I want to write IBANs and noticed that if I write DE12\,1234\,5678\,9123\,4567\,89 I am getting the half space I would expect but when copy-pasting it, the white space vanishes (as mentioned in ...
2
votes
1answer
92 views

Adjusting the width of a displaymath environment

I want to adjust the width of an displaymath environment whose contents (a tikzcd diagram rather than an actual equation) are too wide to fit in the margins. The obvious thing to do is to use the ...
3
votes
2answers
88 views

Using the \tab Command

I have seen several cases of people using the \tab command to insert a specific amount of space between objects (as opposed to the \hfill command which uses any remaining space). However, I have ...
6
votes
2answers
295 views

What are the differences between \par\vspace{2cm}\noindent and \\[2cm]?

I am designing a titlepage for my report and I am a bit confused in deciding to use either \par\vspace{2cm}\noindent or \\[2cm] (for example). Shortly speaking, what are the differences between ...
3
votes
1answer
52 views

Line with a \hbox is overflowing right margin, why?

Let's say I have a hbox inside a paragraph like this: Do you like me? \hfill\hbox{\quad$\bigcirc$ Yes\quad$\bigcirc$ No}. If the text of the question is longer than this "Do you like me?", the line ...
3
votes
2answers
61 views

spacing between symbols in math mode

The following code will \begingroup \everymath{\displaystyle} \scriptsize $XXXXXXX(XXXX(A,B,C),XXXX(D,E,F)) \leftarrow XXXXXX(A,B,C) \wedge XXXXXX(D,E,F) \wedge XXXXX(XX(A,B),XX(D,E)) \wedge ...
8
votes
2answers
268 views

Typography: floating vs inline illustrations

I understand the use and purpose of floats containing figures and tables. It makes a lot of sense if you think about the overall aesthetics of the page. However I find the graphical distance between ...
2
votes
2answers
84 views

How to reset the space between the label and the content of the item

As described above, I need to enlarge the space between the label and the content of the item of the section of Table of content (\l@part to be exact). and I typed the command ...
6
votes
2answers
113 views

Standalone: unique page per equation without white space

I'd like to create a document with several formulas and each formula is supposed to stand alone on a page. Here is an example: \documentclass[preview,varwidth ,multi,border=1pt]{standalone} ...
2
votes
1answer
94 views

Is there any possibility of decreasing extra space before the equation when line nearly breaks in the following?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{amsmath} \begin{document} Preliminary Theorem 1.1.2. If $(\lambda_1,...,\lambda_n)$, $(\mu_1,...,\mu_n)$, and $(k_1,...,k_n)$ ...
1
vote
0answers
65 views

Conditional spacing based on length of chapter title

In LaTeX, (or possibly XeLaTeX), how can one achieve the following: A double spacing a 1- or 2-line chapter title, and single spacing under a 3- or more-line chapter title. A triple space ...
3
votes
2answers
53 views

How to avoid a spurious space when combining frame, centering and another environment?

I want to create a special environment in beamer, which combines several environments, one of which is center. However, when using my newly created environment, I get an additional space in comparison ...
2
votes
1answer
78 views

How to insert two white spaces at the beginning of a line

I want to insert two white space at the beginning of a line. How can I do that? I want something like this This is first line This is second line This is third line This is fourth line
2
votes
2answers
414 views

Overfull \hbox (15.0pt too wide)

I have multiple tables which look like this: \begin{tabularx}{\textwidth}{|l|X|l|} \hline \textbf{ID} & \textbf{Description} \\ \hline 336858 & The description \\ \hline \end{tabularx} and ...
1
vote
0answers
26 views

Space between two column minipages [duplicate]

I'm using the OpenFonts version in this repository, which is a resume template for CS majors: https://github.com/deedydas/Deedy-Resume In the resume template, there are two column minipages created, ...
17
votes
1answer
207 views

Spurious Vertical Space Introduced by multicols (Additional Case)

This seems to be a duplicate of Spurious [?] vertical space introduced by multicols, but the solution from there does not seen to work for me. Basically I want the case of using multicols to not ...
0
votes
0answers
16 views

Multiline equations within parentheses [duplicate]

I have two equations which need to be broken into multiple lines. One of the equations has a coeficiente factored out, so that it is of the form X = A(...very long...). The other does not. The ...
1
vote
1answer
63 views

How to reduce spacing between figure and text

I want to reduce spacing between figure and text (not caption) and between paragraphs. I'm using revtex4 package (two column style).