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

2
votes
2answers
21 views

Understand spacing of named paragraphs

It was tricky to find related questions given the specific wording. I hope I'm not making a duplicate, and I apologise if it is the case. In my \subsubsection I have 3 named paragraphs A, B and C. ...
0
votes
1answer
171 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 ...
4
votes
1answer
35 views

Adjusting vertical spacing of some display equations

I am using changebars to set off a couple of environments in my document. When I end an environment with a displayed equation, the changebar extends too far past the equation. I'd like to have the ...
1
vote
2answers
23 views

Spacing problem with aligned nested in an align environement

This minimal example \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} A &\leq \begin{aligned}[t] &\int \text{first part of a long expression} \...
2
votes
0answers
33 views

How to make dedication page and move words to the middle?

I am newbie to Latex. I am writing thesis for graduation, and have met problems for making dedication page. words move to the middle. With files in zip file in below URL, wish list to solve are ...
0
votes
2answers
30 views

skip line in between \bigg\lbrace \bigg\rbrace does not work

I want to write something like this: I tried using this: \bigg\lbrace {#1} \bigg\rbrace My problem is: If I add some skip-lines ( using \ \ ) nothing happens in the document. If someone knows ...
1
vote
0answers
16 views

How to avoid page break after section titles in parallel columns

I am using parcolumns to write some parallel columns documents. Everything works fine but some section titles show at the end of the page. I want them to be in the next page or at least some content ...
1
vote
1answer
30 views

single spacing in table cell in TeX

I am looking for a solution 1. single space 2. justfy line Can anyone please help me? here is the code. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{table}[h!] %\centering \begin{...
1
vote
1answer
27 views

Why do I get a blank page before title?

Why do I get a blank page before the title page with this input? \documentclass{article} \usepackage[latin1]{inputenc} \usepackage[T3,T1]{fontenc} \usepackage[english]{babel} \usepackage[noenc]{tipa} ...
0
votes
0answers
22 views

vertically center on beamer slide (excluding navigation) [on hold]

I would like to center some content on a beamer frame that has navigation pane on top (theme Darmstadt). Currently I just pass the option c to the frame and it centers the content on the entire slide. ...
2
votes
2answers
66 views

How to modify these distances in moderncv?

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

The error “there is no line to end here” when using \\~\\ or \newline

When I want to have a space between lines I use \\~\\ or \newline For example Hello this is an example \\~\\ Goodbye I get the error there is no line to end here. What am I doing ...
2
votes
1answer
32 views

Large space between text and tables

I'm seemingly seeing a lot of white space between the main body text and tables, perhaps because I am using a three part table. I've included a picture of what I am seeing. You can see the sheer ...
5
votes
0answers
61 views

Compromise between too large whitespaces and `\raggedbottom`?

Due to some restrictions by my editor I had to remove all orphan and widow lines from my scrbook (via \clubpenalty10000 and \widowpenalty10000). On top of that, they do not want to see "too large" ...
2
votes
0answers
62 views

Moving a subsection directly under an image using wrapfigure, how to remove the white space

I have read and tried solutions from various answers, but I haven't reached a solution to my problem; In my document I have an image on the left side, and an equation right next to the image on the ...
1
vote
1answer
26 views

Line break character in equation code

Equations are sometimes part of the text, for example in \documentclass{article} \begin{document} The Pythagorean theorem is often stated as the equation \[ a^2 + b^2 = c^2 . \...
0
votes
1answer
53 views

How to Remove All Whitespace around text? [closed]

I would like to remove all spacing around text. Vertical and horizontal. I have solved this problem before but I cannot find the source. I want to read the document on my phone's screen which is ...
2
votes
1answer
48 views

White space with subfigures using a macro

EDIT The answer proposed by egreg doesn't work for me: When changing the outer sep to outer sep=-10pt, instead of shifting the images, just the labels get shifted and the white space persists. ...
0
votes
1answer
65 views

Document Layout

I have used TeX for almost 2 years now, so I am fairly confident with it. I have, however, never given any concern to the layout of the document, but now I face the problem. I want a file with less ...
0
votes
1answer
31 views

What is the correct way to handle multiple different adjacent quotes?

There are nested single and double quoted words in a sentence I am trying to render: ``Mary had a little `lamb''' In order to render it correctly I wrapped lamb as follows: ``Mary had a little {`...
2
votes
1answer
182 views

Different positions of headers and footers in different pages

I could not figured out why I'm getting different positions of headers and footers in different pages (please see MWE below). Any help in this regard will be highly appreciated. Thanks \documentclass[...
9
votes
3answers
263 views

Spacing in math mode

In Math mode, if I write ":", it will automatically insert spaces before and after the colon. For example, $s:type$ will be shown as "s : type". How can I remove these spaces?
1
vote
0answers
35 views

Why does my two-column book have column breaks that leave huge empty spaces?

I have the following XeTeX document. You can view and play with it on ShareLaTeX. I have a two-column layout, and sometimes there is a column break that leaves a very huge empty space. \documentclass[...
56
votes
2answers
60k views

How to add extra spaces between rows in tabular environment?

I couldn't find any option that lets me expand the vertical space between rows in tabular environment. For example, \begin{tabular}{c c} $f^{(n)}(x)$ & $f^{(n)}(0)$ \\ $-2xe^{-x^{x^{x^2}}}...
1
vote
2answers
48 views

Unable to move element to right

I have the following file testCV.tex: %testCV.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Medium Length Professional CV - RESUME CLASS FILE % % This template has been downloaded from: % http://...
1
vote
1answer
49 views

Panel with many figures!

I would like to count on your help to assemble one panel according to the example:
0
votes
0answers
19 views

No space before footnote

I sperateley indent my footnotes in my code so it is easier for me to find them afterwards. But by doing so there is always an unwanted space between the text and the number in superscript. At the ...
1
vote
2answers
44 views

Would it be possible to reduce vertical space between the highlighted assertions by preserving the 'flalign environment'?

NOTE:--- I can reduce the vertical space by using \phantom in the eqnarray environment, but, if I use it, an unnecessary horizontal space occurs between the symbol of equality and the mathematical ...
1
vote
1answer
150 views

Very big spaces before year in bibliography

I have received a great customized code for my bibliography and it's great but now (suddenly?) there are big spaces in front of the year in the bibliography (biblatex). How can I get rid of those? \...
4
votes
1answer
48 views

Footnote line separation

I have an article which have several footnotes. I would like to increase the space between the end of the article's text and the footnote rule. How can I do this? I've already tried to change the \...
7
votes
2answers
146 views

Hyphenation when using non breaking space for names like in `F.\,Fugmann`

I place a small non-breaking space between abbreviated forenames and the surnames, e.g. I write F.\,Fugmann. (A German name.) I noticed that F.\,Fugmann now doesn't get hyphenated, even when using ...
2
votes
1answer
79 views

How to change space before and after chapter / section etc

I would like to have the following spacing: \titlespacing*{\chapter}{0pt}{50pt}{30pt} \titlespacing*{\section}{0pt}{13.2pt}{*0} \titlespacing*{\subsection}{0pt}{13.2pt}{*0} \titlespacing*{\...
3
votes
2answers
109 views

How could I reduce the 'vertical space' between the two highlighted statements?

\documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \usepackage{amsmath} \usepackage{IEEEtrantools} \begin{document} \vspace{-1em} \begin{flalign*} \times a^{m}\times ...
3
votes
0answers
23 views

How to change the (horizontal) distance between “Proof” and the first enumeration symbol?

The following code \documentclass{scrbook} \usepackage{amsthm} \newtheorem{theo}{Theorem} \begin{document} \begin{theo} Rhabarber Rhabarber Rhabarber Rhabarber \begin{enumerate} \...
1
vote
1answer
42 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?
3
votes
2answers
65 views

Spacing problem on last column using longtable

I am developing some tables on LaTeX environment and I am having some troubles with the spacing. Originally, I was able to generate the tables using the standard \begin{table}, but then I tried to add ...
2
votes
0answers
41 views

Can I reset the horizontal position to the current line's absolute left?

I want to set the current text / box insertion point to the point where the current line originally started, no matter where I am on that line. Ordinarily, this would mean I would start overlaying ...
0
votes
1answer
80 views

How to limit the width of \halign?

The glues inside my \halign rows don't get reduced when they should. The contents of \halign behave as if they had infinite horizontal space. This is the source code for the first table (it's very ...
1
vote
0answers
65 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 ...
2
votes
1answer
155 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 ...
1
vote
0answers
56 views

Space between full stop and start of a new sentence

i have forgot to insert space between the full stop and the first letter of a new sentence in my document like He is a good guy.He is good guy Can anyone provide a command that automatically solves ...
1
vote
0answers
26 views

multicols* environment breaks page margin

I'm trying to typeset a menu for a restaurant. I used the multicol-package to split the page in 2 columns. I have some categories (Starters, Main Dishes, Cheese, etc.) and each one of these contains ...
1
vote
0answers
41 views

Disable Hyphenation by adjusting word spacing [duplicate]

I drafted a thesis in MS Word, using block sentence formatting. It looks very nice. Of course, for the final version, I'm going to use Latex, however when transitioning from MS Word to tex, pdftex (...
3
votes
0answers
30 views

qrcode in bibliography margin/bibliography entry with height of marginpar-content

Printed URLs are inconvenient and i just noticed, that there is a LaTeX package to generate QRCodes. I think using QRcodes to aid with URLs could turn out quite nice, so i used the code below to ...
8
votes
2answers
71 views

Superflous vertical spacing after tagging environment

I would like to use the tagging package to tag parts of a document, which not only contain text, but also other environments like enumerate. If I use the taggedblock-environment for this, this creates ...
5
votes
3answers
6k views

Underlining a whole line with a short text in its beginning

I would like to underline a whole line with a single word in the beginning of the line. I tried \underline{\textsc{HOMEWORK}\hrulefill}} but this underlines only the word ``HOMEWORK'', leaving the ...
0
votes
0answers
30 views

What is the default spacing of {setspace}?

This post (Finely control line spacing when already using the setspace package?) suggested the use of setspace to have flexible line spacing across the doucment. And this post (Double line spacing), ...
4
votes
2answers
63 views

Document left space is on wrong side

I just wrote my bachelor thesis and I want to print it. Because I want to print it two sided, the text should have some more space on the left side on the uneven numbered pages and some more space on ...
3
votes
2answers
52 views

Table at the beginning of itemize environment

Inserting a table at the beginning of an itemize environment creates an unwanted spacing. How do i prevent this? \begin{frame} \footnotesize \textbf{Aufgabe:\hspace{3mm}Zweidimensionale diskrete ...
1
vote
1answer
46 views

Vertical space from the edge of the page

How make vertical space from the edge of the page or the top margin, eg. second paragraph lipsum \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \vspace{100pt} %<-...