{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
159 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
48 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
48 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
41 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
40 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
30 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
165 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
145 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
25 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? ...
0
votes
1answer
31 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
53 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
139 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
135 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
46 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} ...
4
votes
1answer
115 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
29 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
154 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
43 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
58 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
55 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
44 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
62 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
22 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
72 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
71 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
28 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
22 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
35 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
35 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
30 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
421 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
30 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
85 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 ...
4
votes
1answer
69 views

Is there a parenthesis code that work in all contexts and arguments?

This question is about having the most generic parenthesis code if one doesn't know the contents size of the parenthesis a priori. If I want to write a function or parenthesized equation I write, for ...
3
votes
1answer
42 views

How to customize blank space between chapter title and text in gsm

I use gsm packages from AMS to write my book. Overall, the package is beautiful and works well. There is only one problem, that is the vertical space between the header and the chapter title & the ...
1
vote
1answer
40 views

Height chapter number or height chapter name in memoir

I use memoir class. I want add some vertical space before chapter name or chapter number. I got that with \beforechapskip command, but this way add a fixed vertical space for all chapters. There are ...
3
votes
2answers
42 views

Caption away from the figure

I have made a block diagram using the \framebox command. A large white space exists between the caption and bottom of the figure. How can I reduce it? Code: \begin{figure*}[!t] ...
4
votes
1answer
46 views

Creating a Blank space - Formula sheet

This is my first time here and I'm also quite new to latex, but I've managed (with the help from a template I found online) to make this nice three column formula sheet. My problem is that i need ...
3
votes
1answer
39 views

How to define d in integral expression for \int \dif x f(x) notation

There seems to be some consensus about defining \dif like this: \newcommand{\dif}{\mathop{}\!\mathrm{d}} Should I \mathrm the d in my integrals?, What is the difference of \mathop, \operatorname ...
2
votes
1answer
24 views

No Vertical Spacing in Multicols

I just started using LaTeX this week. So currently, I am making exam-type files. I use the \itemsep=\fill option to make sure that there is a vertical space in between each \item. However, when I use ...
1
vote
0answers
17 views

Problems with acronym shortcuts (package: glossaries) [duplicate]

I am using the glossaries package to generate a nice list of acronyms. For often used acronyms I defined some shortcuts, e.g. \newcommand{\myshortcut}{\acrshort{myacronym}}. The acronym myacronym has ...
0
votes
1answer
41 views

Page setup in memoir class

I have been using the memoir class based template for sometime. All this while I have been having a problem with the top margin of the document. Following is the pagestyle code ...
1
vote
1answer
44 views

How do I fix vertical spacing between tables?

I have a document with about 50 tables in it. If one of the tables goes over the page, LaTeX automatically sends that table to the next page. The issue is that LaTeX increases the spacing between ...
0
votes
1answer
34 views

Increase spacing between item

I am using: Automatically itemize a paragraph to automatically create \item for my bullets and I was wondering how I would go about setting the spacing between each bullet point. The default for ...
0
votes
1answer
30 views

Reduce floating table vertical space in [H] environment

My document contains 5 parts vertically. "Header" Contains three minibox placed horizontally. Gap filled with \hfill. Giant row One. Table envoironment, [H] used to located the table. Giant row ...
1
vote
2answers
40 views

How can I reduce the space above the title of a single chapter

I am using a thesis template. And now my abstract is override 1 single page. I found the space before the chapter title is quite large. However, I just want to reduce such a space in the abstract ...
2
votes
0answers
52 views

How to remove extra space above the figure

This is tex file Thus, speculatively, higher-order antibunching might play a role superior to usual antibunching. Note that such a prominence of higher-order antibunching was discovered for the first ...
1
vote
0answers
23 views

Recommended practice for spacing between “and” and “\ref{}”?

It is widely known that one should insert a non-breaking space ~ between the name of a reference and the reference itself, e.g., As we can see from figure~\ref{fig:foo}, [...] This avoids the word ...
2
votes
1answer
34 views

What are the disandvantages for using a rule to define an \hspace-like command?

In the LaTeX2e source code \hspace and its star version are defined with \hskips. I have defined an alternative version using rules. I cannot see any obvious disantvantages of this approach other than ...