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

3
votes
1answer
61 views

What spacing/justification change might fix this hbox overfill in an enumerate environment?

I'm planning on cleaning up a large TeX file for viewing on an e-reader (hence, small page size), and as I'm new to TeX I'm practicing on a sample file and following these instructions. However, I'm ...
2
votes
2answers
75 views

Special Table Spacing in Latex

I have a table in which I display a row with say "x" and in the following row below "x" I display the standard error of "x". However, I want those two rows to be close to each other and also to be a ...
7
votes
1answer
291 views

Beamer Block: White Space When Using Math

I want to reduce the white space (above and below) when I insert an equation environment in a beamer block. \documentclass{beamer} \usetheme{Antibes} \usepackage{amsmath} \begin{document} ...
2
votes
1answer
49 views

Strange vertical blank

Typesetting: \documentclass[a4paper]{report} \usepackage{amsmath,mathptmx,hyperref} \usepackage[top=3cm, bottom=3.5cm, outer=4cm, inner=4cm, marginparsep=0.7cm, marginparwidth=1.5cm]{geometry} ...
6
votes
3answers
115 views

How to get spacing in math mode without just repeating fixed spaces (tilde ~)?

I'm looking for a way to move text in my equation, instead of just shoving multiple ~~~~ until it's in the right position. I'm quite new to LaTeX, what exactly would be the command? I'm also looking ...
7
votes
2answers
241 views

How to use special characters like the question mark as a variable in a formula?

If i write $t=a$ in LaTex, I get "t = a". If I write $t=?$ I get "t =?" but I want to get "t = ?". The ? shall have the same distance from the equals sign as any other variable or letter. Is there a ...
1
vote
2answers
170 views

Remove extra vertical space in amsmath's align environment [duplicate]

If I use \begin{align*}...\end{align*} and out of it I write a text then there is a big vertical space between the text and the mentioned environment. Why is there that space? And how can I erase it? ...
1
vote
1answer
119 views

Placement of Chapter Number in Makechapterstyle

In this code, I'm not able to move the chapter number, only the title. The chapter number should be at the same height as the chapter title. What command can I use? The chapter title should not be ...
6
votes
3answers
272 views

\mathop in sums and limits

What is the \mathop command meant to be, officially? I see it used in indexes of sums and limits to improve the spacing, e.g. \sum_{n\mathop = 1}^\infty a_n Why doesn't it just format it like ...
8
votes
4answers
209 views

How to merge two tabulars into a single table the width of the column?

I am asking for advice on achieving two separate effects in the table environment. (1) I have two tables with a different number of columns. I need to merge them into a single table. I have this ...
10
votes
1answer
152 views

mdframed: how to prevent a box from splitting if the remaining content (or the initial content) is too small?

Question I would like to prevent mdframed to split a box too early or too late. By this, I mean that I would like the remaining part of the box to always be greater than a fixed length, given before. ...
5
votes
1answer
148 views

mdframed: splittopskip does not work when the first object after splitting is another mdframed box

Question I would like to add space in an mdframed environment after a splitting (a page break) and in the case where the first object after the splitting (the page break) is another mdframed ...
6
votes
3answers
148 views

Vertical skip between p{…} rows of tabular

I want to increase a bit the vertical spacing in my tabular table. I did something like this: \documentclass{article} \begin{document} \begin{tabular}{p{4cm}p{4cm}} Lorem ipsum dolor sit amet ...
3
votes
1answer
78 views

Streched vertical space between two subfigures

I want to add vertical space between two subfigures so that so that the upper figure is aligned with the top of the page and the last line of this figure caption is aligned with the bottom of the ...
4
votes
1answer
66 views

Label inside mdframed messes up spacing

I have a problem with mdframed in combination with \parskip and \label. Consider the following code, which is a MWE stripped down from a large document. \documentclass{article} ...
5
votes
1answer
824 views

tabu and space between columns

I have aproblem with column widths in tabu environment. I set dimensions of tables and columns. First columns should have the same width = 5cm, First and second table should have the same width = ...
1
vote
2answers
71 views

Changing paragraph spacing within an item using paralist

I am using compactenum in the paralist package. I wish to have spacing between paragraphs within an item, but no additional spacing between items. The option: \plparsep: Space between paragraphs ...
5
votes
1answer
57 views

Insert Spaces in Command Using Math Mode

I borrowed a predefined command (below), which uses math mode. Within the [[ ]], obviously, it doesn't observe spacing. Is there a way to make the command observe spacing within the [[ ]] ...
2
votes
2answers
71 views

How can I remove an empty caption line

I'm generating LaTex automagically from a lengthy document that is written in the multimarkdown language, compiled by a software package called Scrivener. It's a workflow that works well, but this is ...
3
votes
1answer
96 views

Adding vertical space between two \hline

How can I add vertical space between the double line in the example below? I tried to use \vspace, but that results in a Misplaced \noalign error. \documentclass{article} \begin{document} ...
3
votes
1answer
106 views

3 subfigures in a row, different sizes. How to manually adjust the spaces in beween?

I want three subfigures to be shown next to each other so that the subcaptions of all three subfigures are equally 'wide'. I'm experiencing 2 problems. Since my middle subfigure is a lot smaller, ...
4
votes
3answers
226 views

Spacing after \times

When using \times after some wide symbol, the space following \times becomes smaller than wanted. For example \documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} > ...
2
votes
0answers
61 views

Problem with the table of contents

I am writing a work about logarithms and in the table of contents I am confronted with this problem: There is no space between the number of the sub sub-subsection and the title: 2.3.10.1 Função ...
6
votes
2answers
48 views

Spacing Between environment

I want to define an environment to detach text from the document. I would like to have one blank line before and after my quote. I defined the following environment: \newenvironment{myenv}{ ...
0
votes
1answer
59 views

Shifting (sub)figure caption in case of merged figures

I have a small piece of code that merges two figures: \begin{figure} \centering \begin{minipage}{.5\textwidth} \hspace*{-1.5cm} \includegraphics[scale=0.45]{images/Figure1.pdf} ...
6
votes
3answers
231 views

How do I write $\sim$ approximately with the correct spacing using siunitx?

This question is similar to this one, only that I'm using the siunitx package: \documentclass{minimal} \usepackage{siunitx} \begin{document} The temperature is \SI{\sim 200}{\kelvin}. \\ The ...
0
votes
0answers
29 views

Titles directly below a float is causing spacings below the float to increase

I'm using \begin{figure}... \end{figure} with memoir class, and if there is a title (\section, \subsection, \subsubsection) right below the figure, the spacing below the figure is greatly increased. ...
4
votes
3answers
109 views

Increase vertical space in table

Creating a table using tabulary I am confronted with the problem that the lines of my table are too small, resulting in that the formulas touch the borders of the table. The code I used is given ...
3
votes
3answers
295 views

Separation space between tableofcontents items in beamer

In beamer, I guess, the separation space between the items from tableofcontents is stretchable: Can you set it to a fixed value? e.g. to equal the value used in the itemize environment. Partial ...
4
votes
1answer
75 views

Problem with latex box

I defined a new command in order to create an empty box with a title. The code is the following: \newcommand{\mybox}[2]{ \textbf{\emph{#1}} \vspace{2mm} {\centering\fbox{ ...
0
votes
0answers
47 views

Formatting Follow Along Handouts for My Class

I am having issues with the \only<|handout:0> command, specifically with the resizing of blocks on my beamer slides for my students to use as guided notes for my lecture. I want to keep the ...
2
votes
1answer
48 views

Remove half part of Page

How can I remove second half part of the page. For example my conclusion is half of page and I want reference list starts at the same page. My reference list starts one page after conclusion, but ...
12
votes
3answers
254 views

Spread letters to a given length?

I have made a fancy title page using titleformat and tikz, but I now face the following problem. The \chaptertitlename command returns \chaptername or \appendixname. I would like to spread the letters ...
3
votes
1answer
63 views

Vdots are taller than the rest of text [duplicate]

When I use \vdots within the align environment, its size is bigger than of the rest of characters. I want to get rid of the gap (purple colour on the picture below) or somehow move \vdots upward ...
6
votes
1answer
138 views

Controlling Spacing after paragraph

I'm sure this is trivial, but I'm new to LaTeX and having trouble getting some formatting correct. I want two columns with bold headings and non bold text after. One of the headings, "experiments" has ...
2
votes
1answer
62 views

Uneven spacing in IEEE bibliography entries!

I am writing a IEEE journal article, the entire reference file is done in JabTex and all the entries seem pretty alright. I am referring to around 200+ papers. However when I build the file the first ...
3
votes
1answer
123 views

chessboard: how to fit 4 pairs of diagrams in one A4 page?

I'm knew to TeX. Searching on the Internet, I was able to put the following code together, but the last pair of diagrams keeps generating a second page. How can I reduce the padding between minipages ...
0
votes
1answer
20 views

Contents section number and name clashing. Want to increase spacing [duplicate]

I am using Roman Numerals for the contents page however this is clashing with the section title as shown in the image. Is it possible to increase the spacing between these two? Many thanks in ...
4
votes
2answers
91 views

Remove whitespace above section title with image formatted with leftmargin

I am trying to remove the whitespace above a title that is formatted with leftmargin and that also has an image as part of it. The problem is very similar to this question, but the solution there does ...
0
votes
2answers
41 views

How to mix lhs2TeX code and spec lines in a single block?

Suppose I have an incomplete code block like: \documentclass{article} %include polycode.fmt \begin{document} \begin{code} somefunction :: a -> a \end{code} \begin{spec} somefunction x = undefined ...
1
vote
1answer
41 views

Remove padding at top of page

I am writing a paper using a collection of mandated styles. They add vertical spacing above things like equations and tables. However, if the item with padding is the very first item on a page, I am ...
4
votes
0answers
51 views

Why does a linebreak in minipage flow this to the next page?

I am using zwpagelayout (see this question) but if I put a minipage with a line or paragraph break, I get weird two-page output. \documentclass{article} ...
2
votes
1answer
66 views

How to center spine text with zwpagelayout

I am trying to use zwpagelayout to create a cover that I can use with CreateSpace. So far, I have almost everything working, but there is one problem. \documentclass{article} ...
5
votes
2answers
149 views

Extra vertical space inside mdframed theorem environment

I have seen several similar questions on TeX.SE of a similar nature, but none of them seem to address my precise issue. I have been working with mdframed environments for a while. I read that there ...
7
votes
1answer
139 views

Problem with spacing after \[…\] environment when using the \textcolor{} command

I'm getting odd spacing/indentation behavior when the \textcolor command is combined with the \[ ... \] environment. I did find a fix by putting % in a couple places, as outlined below, but I'd like ...
7
votes
2answers
144 views

How do I get consistent spacing around an mbox?

I am trying to typeset a formula in LaTeX with a rule name beneath it, such as the following: The code for the rule an automatically-generated mess (not necessarily using maths mode), output from ...
2
votes
1answer
89 views

Package to load in Lyx to use \quad?

I'm using Lyx software to typeset an algorithm. I'm trying to use the \quad command to indent in a loop I'm writing, yet the \quad command is not being recognized when I compile the page. I'm assuming ...
1
vote
1answer
156 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
69 views

Control the dots separation in math and text

I know how to control the spacing of the \textellipsis command. But I can't figure it out how to do so globally in all the versions of mathtools' \*dots. My idea is to use a global symbol … to use ...
4
votes
1answer
171 views

Adjusting spacing before and after subparagraph with sectsty

I am helping a friend that is using sectsty to format the titles in his document. How can I adjust the spacing before and after the titles, in particular the subparagraph one? (I know that titlesec ...