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

0
votes
1answer
30 views

Spacing issue in equation reference [duplicate]

When I type (Eq.\ref{eq.15}) The output is Obviously the spacing between "Eq." and "1.15" is too closed. But when I type (adding a space) (Eq. \ref{eq.15}) The output is: Obviously the spacing ...
2
votes
2answers
118 views

Adjust space between two columns

I am trying to create columns in beamer presentation. I am using the following code: \begin{frame} \frametitle{Deep Learning and Autoencoders} The visualization derives from the weight normalization ...
0
votes
1answer
40 views

Uneven space between lines at original column break when balancing pages using revtex4-1

This is (nearly!) a duplicate to Uneven space between bibliography entries using flushend. In this (clearly exaggerated, but you get the point) MWE, the spacing in the last three lines in the right ...
0
votes
0answers
54 views

I can't figure out how to ccreate a complex latex figure with lots of formulas

For practice, I am trying to emulate a figure from a paper I found. It looks like this: Right now, what I have looks like this: I think I managed to get the two blocks on the top right, using ...
3
votes
1answer
33 views

Vertical space between “Proof” and start of proof

How can you add vertical space between the word "Proof" and the actual start of the proof? This question shows how to start the proof on a new line, but I can't add space properly.
3
votes
2answers
51 views

Nested quotes have smaller and smaller paragraph skips

I'm using Memoir and \abnormalparskip{<length>}. Every time I start a new \begin{quote}, the space between paragraphs gets smaller and smaller until it's basically gone. Here is a minimal test ...
2
votes
1answer
45 views

Remove space between left bracket and square root [duplicate]

Sorry for my bad English. I have a problem with removing the space between left bracket and multiple root square. I use code \documentclass{article} \usepackage{amsmath} ...
0
votes
0answers
58 views

ruby furigana + increased ruby size + verse environment = unwanted whitespace

I'm trying to typeset song lyrics in Japanese. I want the words to be accompanied by furigana glosses, as provided by the ruby package. But the default ruby size is too small, so I increased it as ...
14
votes
3answers
593 views

Is it possible to redefine the white space command?

I would like to replace the white space (full space entered by pressing "space" any number of times on the keyboard or by hitting enter) by something else. Let's say, a rule of the same width. Is ...
3
votes
1answer
47 views

change space between tabs, align environment [duplicate]

I have a problem formatting a few equations the right way. I have equations with 5 variables which should be displayed among themselves. I tried it with the align environment and ended up using a lot ...
0
votes
1answer
38 views

Conditional branch with \ifinner and Spacing in higher derivative (2 independent questions) [duplicate]

I made some macros shown below, which outputs ordinary/partial derivative. I was checking whether they work as I expected, and found that \dif{y}{x} expands to \tfrac{\difd y}{\difd x} in align ...
3
votes
1answer
48 views

How do I write up a new command to implement '\quad \text{} \quad'?

I would like to abbreviate \quad \text{} \quad. I tried \newcommand{\wtext}{\quad \text{} \quad} but the output proved me wrong. So I wonder how to properly achieve this?
0
votes
0answers
39 views

Bad vertical spacing in simple fraction

How can I even out the spacing in these fractions? I have tried \frac vs \dfrac along with \strut and I get similar results: \[ \bar{x} = \frac{0+1+2+5}{4} = \frac{8}{4} = 2 \] \[ \bar{x} = ...
0
votes
1answer
36 views

Align first letters of chapter titles in Table of Contents

I am trying to create table of contents for starred version of chapter. My goal is to align all first letters of the titles to the same position. I was able to achieve that separately for single digit ...
2
votes
1answer
61 views

Vertical spacing in enumitem list

Consider the following example. Code \documentclass{article} \usepackage{enumitem} % New line after \item (http://tex.stackexchange.com/a/29518/15874) \makeatletter \def\myitem{% \@ifnextchar[ ...
1
vote
1answer
38 views

indentation within the text

While preparing a report, I want to write the text (below the equations) similar to attached figure. I tried using \begin{align},\, commands (even after knowing that the align command is using for ...
1
vote
2answers
188 views

“Sign here” dotted line and names below [duplicate]

I'm trying to create a dotted line with a name below. It should be relatively simple. However, the dots appear indented with respect to the Name. They should be in line. I have tried \hspace{} before ...
1
vote
2answers
71 views

Reduce white space above chapter title, and reduce space between title and text, for unnumbered chapters

How can I reduce the white space above the chapter heading? How can I reduce the space between the heading and the text? I want to be able to do this for selected chapters only, or after a given ...
3
votes
1answer
51 views

How to fix my title slide (problem with aligning text)

\documentclass[12pt]{beamer} \usetheme{Rochester} \title{my title which is very long so pushes the date off the page} \author[Author]{my name} \institute[university ]{\normalsize university ...
0
votes
2answers
48 views

How to insert a text box with controllable margin

I want to insert a text box with controllable margin. Specially, how to format the following text as the following Figure? And how to set the space? Currently, I use \noindent\fbox{ ...
0
votes
1answer
30 views

How declare numeric constants with space without ~

I have written a document with some data that I must update at last minute. So I have created some newcommand: %-------------------------------- % Insert data here \newcommand{\srskm}{12,253~} ...
1
vote
0answers
45 views

How do I place table below plot so that category matches axis ranges?

Here is something that I'm trying to do is to align my table with x-axis category or range so that column below the x range is corresponding of the data So As example is shown, I want to create ...
1
vote
1answer
40 views

\setstretch doesn't work using abntex template

I'm trying to change the line space of my document. I used \linespread but it changes also the toc line space, and I don't want this. So I tried \setstretch but it doesn't work. I believe that I ...
5
votes
1answer
169 views

Adjust vertical spacing for any combination of text, equations and custom environments

Edit I completely rewrote the question thanks to @pluton's comment. I have a couples of documents which have to fit on two pages. Some of them are short, so nothing needs to be done. But for some ...
3
votes
4answers
179 views

Underset spacing

I've got the following equation \begin{align*} \hat{\boldsymbol{\eta}} = \underset{(\boldsymbol{\beta}_{1}, \ldots, \boldsymbol{\beta}_{d}, \boldsymbol{\theta}) \in B_{1} \times \cdots \times ...
1
vote
1answer
26 views

reduce spacing before and after citation

Having used these instructions I saw a problem. When I use the \citep command I take: ( name, date ) Instead of: (name, date) What's my problem? ...
2
votes
1answer
40 views

How to change the spacing before and after a quote environment?

I'm using the book class and I would like to change the default spacing before and after a quote environment.
4
votes
2answers
60 views

Spacing within brackets of a matrix

I am trying to add extra space after the left bracket and before the right bracket in a matrix. I've changed the column spacing with \arraycolsep, but I also want the entries right aligned. I can ...
5
votes
2answers
213 views

How to write matrices with dimensions in latex?

I am just starting to use latex, and with all the internet help i figured out how to do many things myself, but now i am stuck. How can I write what you all can see in the picture? Thanks for the ...
4
votes
1answer
147 views

Remove empty space before chapter contents

I’m struggling to replicate a corporate design in (Lua)LaTeX. The problems arise with a very special treatment of the page head (and margins): The header is very large with a page number in the top ...
2
votes
2answers
54 views

How do I draw a horizontal line without adding space

I divided my latex page into 3 using minipage. \documentclass[a4paper,12pt]{article} \usepackage[left=2cm,right=2cm,top=0cm,bottom=0cm]{geometry} \usepackage{lipsum} \setlength\parindent{0pt} ...
5
votes
1answer
206 views

Vertical spacing and item separation between entries in pgfplots' legend

One could find a lot of questions on how to change the horizontal spacing between legend entries in pgfplots, but I can't find anything on the vertical spacing between the entries. For example, when ...
2
votes
1answer
30 views

Extra line space being inserted, unrequested

I have created a survey form over two A4 pages, using tables. I have fancyhdr on top of each page and have suppressed the \maketitle command. Both tables have almost exactly the same content (the ...
8
votes
4answers
172 views

Paragraph break only if insufficient space to end of line

I want to write source like Lorem ipsum dolor sit amet. \smallnote{Smaller.} and have it render so that if there is enough room for a \parindent plus the start of the \smallnote (the first word, ...
1
vote
1answer
58 views

\titlespacing + scrreprt not working

I am currently trying to change the titlespacing after a \subsection*{}. Tried \titleformat{\subsection}[hang]{\large\bfseries}{\thesubsection\quad}{0pt}{} \titlespacing{\subsection}{0pt}{6pt}{2pt} ...
2
votes
2answers
67 views

Adjust table spacing and cells centering

I want to make a formal table in a report. I used the following code; however, I still need to remove the gaps between the cells contents and data to save space. Also, I want to center the cells ...
2
votes
1answer
61 views

Layout problem when mixing tasks and enumitem

There seems to be a layout issue when attempting to incorporate a tasks environment directly within an enumerate environment, when no text is specified between the \item (enumerate) and the beginning ...
2
votes
2answers
57 views

Wrapfigure keeps space for rest of page

Can anyone helped me with this? I've looked up questions with similar problems but nome of them seem to work for me. I'm writing a book and I like to use wrapfig for site-notes for recalls or notation ...
6
votes
1answer
65 views

Conditional whitespace in math mode

Clarification \documentclass[fleqn]{article} \def\foo{What do I put here???} \begin{document} \[a \foo b\] \[\foo b\] \[a, \foo b\] \[a, b\] \end{document} I would like the document just ...
2
votes
1answer
33 views

Remove space in the default `\cref` command

I have my crefs defined as \crefname{section}{§}{§} \crefname{subsection}{§§}{§§} And when I reference it displays, for example, like § 4.5. I would like the middle space to dissapear and this ...
5
votes
1answer
99 views

Unwanted extra space before \vspace* at top of page

When I start a page with \vspace*, there is an extra space in addition to what I specify in the vspace. In this example, without the \vspace the top of the first line begins at 1 inch from the top ...
6
votes
2answers
86 views

Slight misalignment using hphantom equals sign in align

I am attempting to align the integral signs precisely, whilst still retaining the correct spacing around the equals signs. Why doesn't the following code get it exactly right? \begin{align} & ...
3
votes
2answers
71 views

Spurious space on moderncv \cventry using \if

I am trying to display some information in a \cventry conditionally using a defined \ifdetails switch. However, for some reason that is beyond my knowledge, an spurious space (or new line) is created. ...
0
votes
1answer
25 views

twoside breaks spacing

I'm using minipages to keep related questions together on a test that I'm writing. When I make a 2-sided document some of my spacing gets messed up before the section break. It works fine if I leave ...
0
votes
1answer
43 views

Unwanted Vertical Space before figures in IEEE Tran Latex document

I am trying to insert .eps figures in my IEEE tran latex document. My figures are shifted down from the original position. Although the figure captions are in their desired positions. I have used word ...
1
vote
1answer
43 views

Tracking in chapter titles with titlesec

I've been trying to add tracking (letter spacing) to my chapter titles with titlesec, but to no avail. I'm using fontspec and XeTeX, so microtype isn't available to me. Another post said this can be ...
0
votes
0answers
31 views

Font color affects spacing

I'm in the process of doing some changes to a paper based on the review comments. I want to have a command that simply highlights with red color the changes that I do, but when the command is changed ...
8
votes
3answers
437 views

Placing a fleuron in a paragraph indent without altering the spacing?

I'm trying to place a fleuron at the beginning of an indented paragraph without pushing the text of the first line forward. I want the fleuron to be flush with the left margin of the paragraph, while ...
0
votes
0answers
44 views

Paragraph skip preserving titlesec, titletoc, table of contents, list of figures and indentation

I have hard time dealing with paragraph skip while keeping titlesec/titletoc, table of contents, list of figures and indentation the same (this is a french book). I have the following class: ...
0
votes
1answer
119 views

Spacing between section, subsection, subsub… etc

I'm in the process of writing my bachelor thesis. The problem is: standards. Question: How to make the spacing between text and titles (chapters, sections, subsections etc.) but still hold the ...