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

10
votes
1answer
2k views

How to remove space between back address and address in scrlttr2?

There is a blank line between the back address and the address? How can I remove it? \documentclass{scrlttr2} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage{ngerman, ae} ...
3
votes
2answers
175 views

Kind of spurious space

I'm trying to write a \spaced macro: it takes a string as parameter, decompose that string and then recompose it spreading avery token from the others according to a given \spreadratio. Here are the ...
1
vote
1answer
189 views

How to properly space multirow subfloats

I have 3 subfloats, but they will not all fit on one line, so I have two in the top row and one on the bottom row. My first problem is the floats are all different sizes and they are not being spaced ...
7
votes
2answers
2k views

Is there something between singlespace and onehalfspace?

Perhaps there is a trivial solution for this, but I wonder if there is anything between singlespace and onehalfspace. The reason is that, when I use singlespace it seems to be very compact while ...
3
votes
1answer
255 views

Globally setting the separation length for _subitems_ in Beamer

How can I globally change the item separation length for subitems in Beamer? I need a command such as the below, only working. \setbeamertemplate{itemize/enumerate subbody begin}{\normalsize ...
5
votes
1answer
151 views

Using \@-ified punctuation while using \frenchspacing

After reading this very informative TeX.SE thread about spacing and punctuation, I was left wondering about an issue that didn't seem to be addressed: using \frenchspacing together with the modified ...
2
votes
2answers
1k views

barchart in pgfplots looks really bad

Problems: The bar value "90" is written over a black line, almost impossible to read The value "58" is written over an x tick, hard to ready Bar spacing is bad. There is too much space between the ...
17
votes
1answer
305 views

Is there a method just write `---` to get an em-dash, putting thinspace both before and after it?

Is there a method just write --- to get an em-dash, putting a thinspace both before and after it? The situation about break is similar with the original ---.
2
votes
1answer
468 views

Moving the table caption

I want to move a wrapped table and caption, I'm trying to use vspace but it doesn't move the caption. Any ideas? \documentclass[12pt]{article} \usepackage{wrapfig} \usepackage{floatrow} ...
7
votes
3answers
267 views

Can \left( … \right) be instructed to ignore nonexistent upper or lower limits of summation? [duplicate]

In a formula such as \[ \left( \sum_{n\in\mathbf{N}} \right) \] the left and right delimiters extend not only downwards to cover the lower limit of the sum, but upwards an equal amount as if to ...
2
votes
1answer
514 views

Variable white space between paragraphs

I am having trouble finding out why the white space between my paragraphs is variable. Sorry, I am not allowed to post images but sometimes there is no white space (like it should be), just an indent ...
0
votes
0answers
22 views

How do I change the margin under chapter? [duplicate]

I am using the scrreprt class and the margin between \chapter and the text is too big. I tried to change it with \titlespace but later found out that titlespace does not work for chapters. Is there an ...
2
votes
3answers
344 views

How to define the proper space between elements of a matrix?

I need to draw a simple matrix, with column corresponding to some sets. I tried the following: \[D^{4}_{2}= \left[\begin{array}{cc} \diagdown & {\begin{array}{cccccc} \{1,2\} & ...
1
vote
1answer
988 views

Layout for seminar paper; justified, font, size, spacing

I just started university and decided to graduate from Word for writing my papers, thesises and so on. But I have some problems with probably the most simple things... I got this template: here the ...
3
votes
1answer
108 views

Rubber margins in chapters

I couldn't find a Google hit with what I need (try: LaTeX rubber margins). So, is it possible to stretch left/right margins, within defined acceptable limits, so that pages are filled optimally? I'm ...
7
votes
1answer
210 views

How to automatically add \! in subscripts?

This code \documentclass{article} \usepackage{fouriernc} \begin{document} $a_1$ $a_{\!1}$ \end{document} produces this output: I like the spacing on the lower one much more. Is there a way to ...
10
votes
2answers
29k views

Spacing before and after section titles

I know this subject has been mentioned before, but I'm still having a problem in creating a space under a section title. I used the titlesec package and then tried using the command ...
3
votes
1answer
476 views

Customising list of tables to include “table” word

I am customizing the list of tables and list of figures in a report class document. I am trying to produce lists that start this way: "Table 1: Some info" and so on, instead of the default beginning ...
8
votes
2answers
493 views

Set indentation of choice in exam documentclass

I want to create an multiple choices question with this indenting format 1. ######## A. ### B. ### C. ### 2. ######## ######## A. ### B. ### C. ### The choices have same ...
3
votes
3answers
176 views

Spacing in QM-style integrals (differential first)

I'd like to write integrals with the differential first, the way physicists tend to: $\int dx f(x)$. The problem is that this puts an unsightly (to my eye) gap between the integral sign and the ...
4
votes
1answer
730 views

How to preserve relative spacing when changing paper size in beamerposter. (margins too big)

I recently made a poster in LaTeX using the beamerposter package, it was 48x36 inches, and came out great. I now need to re-print the poster in a smaller size. (36x24 inches) I realize that this ...
3
votes
1answer
157 views

Horizontal spaces to the left and right of theorems

How do I get horizontal spaces to the left and right of theorems? My initial idea was to do the following bad idea: \documentclass{article} \usepackage{lipsum}% http://ctan.org/pkg/lipsum ...
4
votes
1answer
158 views

No space above first \item inside mdframed [closed]

Problem This is what happens: But I want the same vertical spacing before the first list item inside the mdframed environment as outside of it. How can I do this? Code \documentclass{article} ...
4
votes
1answer
1k views

Remove unnecessary horizontal space from amsmath align between two &

How do you remove unnecessary horizontal space in an amsmath align environment between two &? Consider: \documentclass{article} \usepackage{amsmath} \begin{document} Version 1: \begin{align*} ...
1
vote
0answers
33 views

How to reduce space before image? [duplicate]

I m using includegraphics function for image. Some text before image \begin{figure} \includegraphics[width=0.5\linewidth]{ABC.pdf} ...
2
votes
1answer
445 views

Question on top margin in chapter page

In my LaTeX template, there is a page contained the chapter part that is too far from top of the page like the following: My LaTeX file uses amsbook: \documentclass[11pt,a4paper]{amsbook}. This ...
3
votes
1answer
241 views

Overset placement is uneven

I'm using this code to show that one element of the equation is greater than zero and the second element is less than zero. \begin{align} \overset{+}{\pi_{i}} + \overset{-}{w_{g}(S)} > 0 ...
2
votes
2answers
179 views

Changing space between atoms in Chemabove

Consider this example: \documentclass{memoir} \usepackage{fontspec} \usepackage{chemfig} \usepackage{unicode-math} \pdfmapline{+arial arial <8r.enc <sAarial.ttf} \begin{document} ...
6
votes
2answers
1k views

Several lines of formulas to the left of one curly brace pointing to equation number

How to make several lines of equations under one curly brace from the left side, such that it point to a reference number. Now I do something like this: \begin{align} \left. \begin{array}{ll} a = b ...
3
votes
1answer
898 views

Text in moderncv’s left column overlaps with right column

I was trying to compile a Resume and I am not able to figure out why only the second line has superimposed text. The below is the code. \documentclass{moderncv} \moderncvtheme[blue]{casual} ...
3
votes
2answers
781 views

Reduced word spacing when wrapping text in a cell

I'm wrapping text in a table, some of the cells have 4 words in, wrapped to have two in the first line and two in the second. LaTeX introduces a large space between the first two words so that the ...
3
votes
1answer
265 views

how to set the \quad space between the equation and equation number with centered

How to set the \quad space between the equation and equation number with centered output i.e equation will be centered the output should be like below A + b (1) A + b (2)
4
votes
1answer
4k views

Adding tabs between two parts of one equation

I need to add a tab between after the semicolon in the equation shown below: \begin{equation} Thr = 4\sigma_n;\sigma_n = median \left(\frac{|x|}{0.6745}\right) \end{equation} How can I do this?
8
votes
1answer
489 views

Add vertical space before and after framed-theorem environments

I want my theorem-like environments to be framed, as it's an effective way of making them stand out from the main text. According to Gonzalo Medina's answer to the question box around theorem ...
4
votes
2answers
226 views

Inserting automatic vertical space between blocks when \obeylines is active

Sometimes as I write a manuscript in LaTeX for speaking, I want to format parts of it as \obeylines and \obeyspaces permit, so that a single coherent thought is expressed compactly on each line, and ...
6
votes
2answers
266 views

Inline math spacing and varying interword spacing

Say I want to reduce the space between two letters in math mode by 2/18 quad. Going all Die Hard 3, I put together 2 -3/18 quad \! and add 4/18 quad with \:. The problem is, though, that apparently ...
1
vote
1answer
288 views

Global typewriter tab stops every 1/2 inch

What is the best method, please, for setting up the equivalent of global (document-wide) typewriter tab stops every 1/2 inch? I'm reluctant to set up a tabular definition \begin{tabbing} at the ...
7
votes
2answers
1k views

Indent Theorem like \hangindent, but for multiple paragraphs

I would like to create a theorem style which indents the theorem exactly like a \hangindent would do, expect that the indention should continue for all paragraphs of the theorem. For example: ...
1
vote
1answer
578 views

Strict \titlespacing without glue

Problem Description TeX seems to adjust the vertical space in a 2-column document, even though I have specified that no stretching or shrinking is to occur using \titlespacing. A short visualization ...
3
votes
1answer
2k views

\titlespacing* defaults using the compact option

Using the titlesec package with the compact option, what are the \titlespacing* defaults (for \section, \subsection, etc.) for the article document class? (I have the standard defaults from the ...
2
votes
2answers
168 views

Changing the vertical spacing before and after the quoting environment when using parskip

I'm working with the quoting environment but I can't figure out how to adjust the vertical space before and after it. I would like the environment to be indented on either side like it is but not have ...
4
votes
2answers
500 views

Table too tall for page

I have a table that is slightly too tall to fit on the same page as the section header. I would like to know the best way to make the table fit, without affecting margin spacing elsewhere in the ...
2
votes
2answers
158 views

The multi-line equation with explanation is too wide

The original question provides a good answer for how to add explanations to the multi-line equations. However, my problem is that the explanations have too long space to the corresponding equations, ...
2
votes
1answer
738 views

Currivita - horizontal distance between bullet and content in cvlist

I am using cvlist to itemize my content as follows: \begin{cvlist}{HEADING} \item[1] blah \item[2] blah blah . . . \end{cvlist} However, the gap between the numbers (such as 1,2 etc) and the ...
3
votes
1answer
108 views

Inter-word spacing issue with long code tags

I'm having an issue with the Sphinx Documentation Generator, you may be asking what this has to do with LaTeX. Well, we were hoping to use it for our specification documentation which needs to be ...
7
votes
1answer
4k views

Adjusting left/right margins of a wrapfig

Is there a (simple) way to adjust the white space to the left or right of a wrapfigure? I'd like to reduce the whitespace on the left side of a right-floated figure. Adding \hspace moves the figure ...
2
votes
1answer
561 views

How can one produce spaces of arbitrary (fixed or relative) width that (do or don't) linebreak?

Adobe InDesign lets me insert a wide variety of spaces: over half a dozen spaces that allow for a line break (let's assume for the purpose of this question that they disappear in case of a line ...
3
votes
1answer
1k views

Spacing between equation and text inconsistent due to large equations

I've read through answers to similar question but I still have the same problem. Essentially, I have some large equations and they are in the form \documentclass{article} \usepackage{amsmath} ...
5
votes
2answers
105 views

How to get autobreaking with sequential tables

So it appears that \hspace is not breakable, but is if it is followed by \allowbreak. Alternatively you can use \hskip1.0em as that is breakable. So, if my understanding is correct, then why do the ...
3
votes
2answers
2k views

Too much vertical space when displaying formulas in LyX

When I display formulas in LyX, it leaves way too much space between the text. The commands I have used are Insert -> Math -> Display Formula and Insert -> Math -> AMS multline Environment. However, ...