{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
1answer
16 views

Automatically adding page breaks into long array environments

I have been generating a lot of data for a project and I wrote in TeX commands (via print statements) so that I get rows upon rows of data entries that look like a_{1} & a_{2} & a_{3} \\ ...
7
votes
3answers
82 views

Alignment in equation environment

I am not able to align equations within a curly bracket. My code is the following: \documentclass[12pt, A4paper]{article} \begin{document} Consider the following: \[ P\Big[\frac{1}{2}+\mu \Big ]=\...
130
votes
3answers
85k views

How do I create an invisible character?

I cannot remember how to create an invisible character in LaTeX, i.e. I want to put a space the that has the width of a particular character, say `M'. I know there is a command for this, and this is ...
0
votes
1answer
18 views

white space after figures [duplicate]

I tried to remove the white space after figure using \setlength\belowcaptionskip{-10pt} but it didn't work. any help? \begin{figure}[H] \centering \includegraphics[width=0.8\linewidth]{figure/example-...
7
votes
0answers
48 views

No vertical spacing between TikZ Pictures

I would like to have absolutely no vertical space between the two TikZ Pictures. I could use for example \\[-1pt] but I don't know if 1pt is really the exact value... (so I removed it from the code)! ...
0
votes
0answers
7 views

Increase horizontal space in a figure created with algorithmic

I'm writing a pseudoalgorithm, but due to long names and function calls with many parameters, some lines of the code become too long and parts of them are out of the right side of the page. I can't ...
5
votes
2answers
255 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
6
votes
2answers
228 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
0
votes
1answer
162 views

\hbox overflow, Friggeri fancy CV

I'm VERY new to LaTeX so the searches I have done have lead to zero progress in solving my problem. I've been playing around with the entrylist parameters on the .cls file to no avail. My essential ...
0
votes
0answers
21 views

How can I increase line spacing in whole my beamer in Latex? [duplicate]

I saw some solutions in other sites. I tried to use the following code: \AtBeginEnvironmentitemize}{\setlength\itemsep{2.0em}} But it doesn't work. Actually, when I type \setlength\itemsep{size} ...
1
vote
2answers
1k views

Vertically center block of text including chapter for dedication page

I have a dedication page in my book (using \documentclass[a4paper,11pt,openany,oneside]{book}. It is in a separate chapter and contains two small paragraphs. The chapter is on a separate page. At the ...
0
votes
0answers
29 views

ModernCV Footnote and Text

I am using modernCV documentclass, casual style and my resumé letter is more than a whole page. Unfortanetly, the text collides with the footnote, or to be more precise, it is very close to the ...
2
votes
1answer
31 views

How do I use intersentence spacing in chapter/section names with hyperref?

I use Vim + vimtex + latexmk + xelatex. When using an acronym in a chapter name, Vim brings up this lint: Intersentence spacing (`\@') should perhaps be used. MWE: \documentclass{report} \...
2
votes
1answer
58 views

texorpdfstring with two arguments

The space between the first and the second chapter is different. I know the issue is with the newcommand \chapterAndAuthor with the texorpfdstring command. I added the command texorpfdstring to get no ...
3
votes
2answers
40 views

List of listing space before title

I know I can control the space of my listing titles with: \setlength{\cftbeforetoctitleskip}{35pt} % TOC: Table of Contents \setlength{\cftbeforeloftitleskip}{35pt} % LOF: Listing of Figures \...
2
votes
1answer
67 views

color packages change my spacing

I have a problem with loading color packages. I have started my document some time a go and I have around 90 pages. Just now I wanted to add some code listings with colors so I loaded color package. ...
4
votes
1answer
1k views

What are the different kinds of vertical spacing and horizontal spacing commands available?

@egreg gave a very nice and thorough answer to What are the different kinds of boxes in (La)TeX?. It seems it would be nice to have a similarly thorough answer to controlling spacing. I'm not ...
2
votes
1answer
241 views

Negative phantom inside equations

The following code produces a negative phantom (from the comment in this answer): \newcommand{\negphantom}[1]{\settowidth{\dimen0}{#1}\hspace*{-\dimen0}} However, when used inside an equation like ...
0
votes
1answer
23 views

Long limits overhang and cause a symbol to become too wide [duplicate]

Sometimes I need to make a union with a long subscript specifier at the bottom like so: \documentclass{article} \begin{document} \begin{equation*} \bigcup_{a \in \{\text{set that is very wide}\}...
0
votes
1answer
23 views

When I use package floatrow, option skip of package caption doesn't work

Using this piece of code, I define a demo figure and its caption, \documentclass{book} \usepackage{graphicx} \usepackage{caption} \captionsetup{ } \begin{document} \begin{figure} ...
4
votes
2answers
941 views

Change vertical space in overset

How can I decrease the space in overset? I found this solution online, but it doesn't look quite like the original overset (note I know it is difficult to come up with a solution to handle all cases ...
2
votes
0answers
39 views

Define text box so that it consumes the rest of the page

I have several images stacked on top of each other for a title page. An MWE \documentclass{report} \usepackage[paper = letterpaper]{geometry} \usepackage{tikz} \usepackage{pgf} \usepackage{mdframed} ...
1
vote
1answer
28 views

For programming a command: emit \newline iff we are within a paragraph

Short version: I am defining an environment: \newenvironment{myenv}{\begin{trivlist}\item}{HERE something\end{trivlist}} Now at the point marked with "HERE", I need a "conditional newline" doing ...
0
votes
0answers
14 views

I'm creating a bibliography page on latex and it compiles two blank pages in between references. How can I fix it?

This is the code: \nocite{*} \let\cleardoublepage\clearpage \bibliographystyle{abbrv} \bibliography{ref} [![pg 2][2]][2]
1
vote
2answers
50 views

Space between text and its following figure

How can I make some space between the text and its following figure? (Only once and not for the whole document).
29
votes
4answers
47k views

Remove space after figure and before text

I have a figure in my paper (I am using IEEEtran package). After this figure there exists a space between the figure and the text. How can I reduce the size of this white space. To be specific the ...
0
votes
0answers
8 views

Reducing the width between the section space [duplicate]

I came up with a minimum MWE to explain my predicament. I wish to reduce the space in between the sections as demarcated below: \documentstyle[12pt]{article} \setlength{\oddsidemargin}{0in} \...
0
votes
1answer
15 views

Decrease vertical space between cventries

This must be easy for you, but I am quite unable to get it right. Here is my code: \cvsection{Education} \begin{cventries} \cventry {B.S. in Computer Science and Engineering} % Degree {POSTECH(...
19
votes
4answers
40k views

Adjusting space between array rows and columns

\documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{babel} \begin{document} % ... \[ \begin{array}{ccccc} x(1) & = & \frac{x(0)}{1} & = &...
4
votes
2answers
159 views

\vspace* (star) moves text above it

\documentclass{article} \begin{document} aaa \vspace*{100cm} bbb \end{document} I would expect aaa to be placed at page one, then to see 100cm of white space (distributed over many pages) and ...
4
votes
3answers
155 views

How to reduce the spacing in chemical symbols?

Currently, if want to write a chemical symbol, for example, ${}^{239}Np$, this is what I type in: {}^{239}Np. The result: But it looks bad, I feel as if the "N" and "p" should be closer, or a ...
3
votes
1answer
43 views

Spacing for weighted limits

I'm naively trying to typeset a weighted limit using \varprojlim ^W F, but the output I get is the one on the right instead of the one on the left below. How to fix this?
1
vote
1answer
30 views

Reducing vertical space after algorithm2e

My document currently looks like this: As you can see, there is a very large vertical space between my text and the algorithm2e object. How can I reduce the spacing between these?
1
vote
0answers
41 views

Removing the blank space after a definition (or something)?

already I researched a lot about it, but found nothing. Could you help me remove this white space to be between intem 3 and paragraph ("Quando não ....."). I thank you
3
votes
1answer
46 views

Widths of columns do not sum up to totalwidth of the columns environment

On a beamerposter I am embedding a few blocks within columns. My issue now is that their widths do not seem to add up correctly. In particular If I have two columns 10cm wide, the whole thing will be ...
0
votes
1answer
59 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} \usepackage[top=72pt,left=72pt,bottom=...
2
votes
1answer
148 views

Change spacing before chapter title within frontmatter

I am using the report class for my dissertation, which requires 2 inch margin beginning at each chapter. I am using the following command: \titlespacing*{\chapter}{0pt}{2in}{1in} This works fine ...
8
votes
1answer
39 views

Unbalanced spacing with braces in mtpro2

The code $\LEFTRIGHT\{\}{S_n}$ produces whereras the code $\left\{ S_n \right\}$ produces . Is this a bug or feature? As the content in the braces grow larger, the visual effect of the unbalance ...
2
votes
2answers
37 views

Table columns merging when using fixed size

I'm writing a table that's too wide for the page, so I tried using a fixed width for the columns, but when I do that two columns merge into one: And a MWE: \documentclass[a4paper]{abntex2} \...
4
votes
2answers
51 views

How to force vertical space in tex4ht? \bigskip and \vspace have no effect

I am generating lots of tables one after the other, and noticed the tables in HTML generated by tex4ht are touching each others, and wanted to have some vertical white space between them to separate ...
0
votes
1answer
19 views

push contents of top-left cell little downward?

I am going through different tutorials and Q&A, but no luck yet. I am new to Latex, and hence not aware of many packages, and not sure why some change is not coming into effect. Currently, I have ...
1
vote
1answer
38 views

How to modify this distances in moderncv?

\documentclass[10pt,a4paper]{moderncv} \moderncvstyle{classic} \moderncvcolor{blue} \usepackage[utf8]{inputenc} % replace by the encoding you are using \usepackage{geometry} \...
5
votes
2answers
356 views

Three very clearly separated elements on a single line

I have three short bits of text that I want to put on a single line, in a centered way; more precisely: I want the first bit to be "left justified", i.e. to start at the leftmost part of the line. I ...
0
votes
1answer
135 views

Manipulating Documentclass thesis in latex

I am writing my thesis in the following documentclass \documentclass[11p, topenright, twoside, openright, plainfootsepline, headsepline, ...
2
votes
1answer
42 views

Change Title Spacing

I am currently trying to fulfill the layout requirements of my university, which request vertical spacing of 24pt before and 12pt after section titles. I am using the titlesec package, but every time ...
5
votes
0answers
37 views

Spacing between titles depending existence of subsection

By normative control standarts, spacing between title of a section and one of a subsection (similarly for subsection/subsubsection) must have length 0.8 cm and spacing between any title and a text ...
91
votes
2answers
20k views

Is a period after an abbreviation the same as an end of sentence period?

Does latex do anything special with periods? If so, is there a way to differentiate end-of-sentence periods from periods indicating abbreviation?
1
vote
1answer
25 views

Achieving local `@fptop` within a custom float

I would like the following policy: The top of figure and table page-floats should be 15% down the page (and ideally able to move higher if the figure is more than 85% of text height). A custom ...
1
vote
0answers
30 views

How to make columns start with a space to the header?

I am making a document with two columns. I am trying to make both of the columns start a distance below the header on the first page. Any help will be appreciated. \documentclass{article} \usepackage{...
1
vote
1answer
52 views

newcommand titlespacing

To generate space between \section i am using \titlespacing*{\section}{0cm}{1cm}{0.5cm}, doing the same for subsection. Is it possible to generate titlespacing between own commands? I need three blank ...