{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
3answers
92 views

Horizontal space in a new environment after \label{}

Why is the horizontal space inserted in the following mwe? \documentclass{scrartcl} \usepackage[american]{babel} \usepackage{environ} \usepackage{amsthm} % proof environment \makeatletter ...
2
votes
2answers
68 views

White space in tex file vs. white space in output

Googling around has not produced an answer to this, possibly because of the complexity of the question doesn't lend itself to easy googling. What I want to be able to do is control how white space ...
5
votes
1answer
39 views

Reducing space before chapter works with english but not with hungarian babel package

I write my thesis recently and I want to reduce the spaces before chapters. I find the solution, but it isn't working for me with \usepackage[magyar]{babel} I use the following codes: ...
4
votes
1answer
91 views

Add a symbol in ToC between the section number and its section

My problem is that there exists an overlap between the symbol to introduce and the section title; it is manifest with two \heartsuits \documentclass{article} \usepackage{tocloft} \usepackage{lipsum} ...
2
votes
2answers
96 views

How can I change the default \\ spacing?

So, I have a definition which takes in data like this: ...{apple\\orange\\cat\\imperial green tea\\left-handed president}... In the document I get the following after compilation: apple orange ...
3
votes
0answers
27 views

Changing a macro's output depending on immediate context

I've set up a macro for differential parts as so: \newcommand{\dd}[1]{\,\mathrm{d}#1} which is useful for differentials at the end of integrals because of the space. (I realise the argument ...
3
votes
1answer
158 views

moderncv banking style: How to move the title block all the way to the left?

In have used banking style in the moderncv class. I have modified things a bit. The code is so huge and messy that for me to provide the MWE would be impossible. In, the moderncvstylebanking.sty file, ...
1
vote
2answers
77 views

The distance between the caption and the table

I use the following table in Latex. And I want to decrease the distance between the caption and the table. And also I want to adjust the distance between the table and the above text; the distance ...
2
votes
1answer
93 views

How to reduce vertical spacing between proof environment and enumerate environment

How can I reduce the space between the proof environment head and the enumerate environment in the minimal example below? Note: This is most likely not a duplicate question. Some while ago, I posted ...
4
votes
1answer
91 views

Image vs Text Arrangement [duplicate]

When I write a multi-page paper with imported images, I usually try to group the picture with the text referencing it. Sometimes, there is not enough room at the end of the page for the picture, and ...
6
votes
3answers
171 views

Horizontal spacing after cases bracket in equation

How can I add a little horizontal spacing after the cases bracket, at the depicted position, so that 1 and 0 move to the right (the given screenshot looks okayish, but I'm using a different font where ...
5
votes
1answer
79 views

Stretching an \fbox horizontally to fit the page

I have a frame box next to some text (Komentar:), and I would like to stretch it so it fills up the page. I've done this using the calc package by subtracting \widthof{Komentar: } from \hsize (or ...
2
votes
0answers
45 views

Cancel the use of \baselineskip when at the top of page

I've defined a macro \myaddress which prints my address at the end of a document, cf. Simplify how I write my address in documents. That macro includes the use of \vspace{\baselineskip} to separate it ...
1
vote
1answer
78 views

Is it possible to change the spacing between particular columns of a table?

I am struggling to make a longtable fit on A4 pages in portrait mode. The problem is that the table is too wide. I am not allowed to use smaller fonts (that would solve my problem but it's not an ...
1
vote
0answers
44 views

Reduce space below an algorithm

I am using the algorithm package for my algorithms in the paper. I find that the space below the algorithm is very large after generating a PDF, so I want to shrink the space. Firstly, I come to add ...
1
vote
2answers
165 views

Problems with fractions in a square root [closed]

whenever i have a fraction inside a square root, the square root symbol drops down below the line and intercepts whatever is on the next line. I think the package savetrees may be causing the ...
3
votes
1answer
59 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
73 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
257 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
47 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
236 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
144 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
112 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
217 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
207 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
151 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
146 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
145 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
69 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
63 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
821 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
64 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
56 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
70 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
92 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
101 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
208 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
60 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 ...
5
votes
2answers
46 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
55 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
224 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
103 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
223 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
74 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
47 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
250 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
61 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 ...