{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
76 views

Overfull hbox too wide

Overfull \hbox (13.50009pt too wide) in paragraph at lines 149-157. 149 \begin{tabular}{rl} 151 Basic Knowledge:& \textsc{C}, \textsc{Python}, \textsc{html}, ubuntu, \\& 152 {\fb ...
0
votes
0answers
43 views

Vertical space in TOC (references entry)

The references entry has a vertical space in the TOC page, something like that How could I remove this space and make the references section just like a chapter in the TOC?? I'm using the memoir ...
2
votes
2answers
67 views

Paragraph separation with “article” document class

I'm writing a text but it seems the document class "article" doesn't allow for paragraph separation. Is there any way to force the paragraphs to have an space between (even in the abstract)? ...
11
votes
1answer
101 views

Use \index before or after punctuation?

It seems to me that you get different kerning if you use say\index{say}. than if you use say.\index{say} The following silly example is where I can see it: \documentclass[12pt]{memoir} ...
9
votes
1answer
128 views

How do I get rid of the extra blank line at the end of my listing?

I have the problem that I use a lstlisting inside an itemize. This leads to the problem of an extra line in my source code block which I'm not able to delete. I already tried nearly every parameter ...
3
votes
4answers
155 views

Remove the spaces between \times in mathmode

My problem seems rather simple but I can't manage it. I want to describe bytes in this way 0000 xxxx 0010 1xxx I tried by writing 0000 \times\times\times\times 0010 1\times\times\times but this ...
1
vote
0answers
59 views

Why is my paper shorter in LaTeX than in Libreoffice? [closed]

I typeset the same paper in Libreoffice and in LaTex. Both were in the same font and used the same (MLA) format. Why is the LaTeX version produce a PDF that is a few lines shorter?
0
votes
1answer
48 views

Too much space around quote environment

Sometimes, LaTeXput extra white lines around my \begin{quote}. I use just the basic memoir class without any customization. Any hint?
9
votes
1answer
81 views

How can I cleanly/efficiently insert *half* of an inter-word skip?

The title question is plainly posed—is there a simpler way of doing this (or at least one that actually works? When dealing with em-dashes (—), I've read that it's important to keep a small ...
2
votes
2answers
131 views

What is the reason to put a tilde between “p.”/“page” and the number?

When citing a page, the Biblatex manual puts a tilde between "p."/"page" and the number: \footcite[Cp.][p.~23]{Smith-2013} Why? I actually have never really googled for this and now that I have, I ...
6
votes
1answer
93 views

How do I remove the space before the first item and after the last item of an enumerate list inside a longtable?

I have several longtables in one document and they all have a fairly big gap before the first item and after the last item of every enumerate-list. Does anyone know how to get rid of that? ...
8
votes
1answer
111 views

Space generated by theorem labels (XeTeX)

With the thmtools package, combining \begin{foo}[name=bar,label=x] with the line \newtheorem{foo}{Foo} in the preamble typesets to Foo xxx (bar), where xxx is a number. After the (bar) there is an ...
4
votes
1answer
174 views

What causes this large horizontal space between two sentences?

I have a large document based on the book documentclass with text and images, and sometimes I encounter a new sentence that has a huge space after a period. It looks like this: I have attempted to ...
8
votes
1answer
99 views

\cee command (from mhchem package) doesn't allow \\[10pt]

when using \cee command (from mhchem package) within align environment, \\[10pt] doesn't work. It works in align environment without \cee. Is there a workaround? here is a MWE: ...
13
votes
1answer
141 views

Tabs vs spaces in listings: what's the difference and should I care?

This is a follow-up question to Problem with Listings package concerning line breaking and wrong alignment. Why do I experience problems when I copy and paste code inside the lstlisting environment? ...
9
votes
2answers
199 views

Automatic non-breaking spaces in proper name initials

I need to use non-breaking spaces in proper name initials, e.g. J.~W.~Bush Any way to make LaTeX replace regular spaces with non-breaking ones for such cases? Or would I better preprocess my tex ...
4
votes
2answers
62 views

Blocks in combination with bullets spacing

I have been trying to create my second Tikz model based on TikZ: Diagram of a perceptron. I have manage to modify it based on my beginners knowledge and experimentation but the part that I am missing ...
8
votes
0answers
49 views

How to find out where additional lines fit in?

I am often confronted with the need of fitting in more content into an already quite crammed document. Given that LaTeX automatically stretches spaces to beautifully and optimally fill the pages, I ...
0
votes
0answers
36 views

Irrelevant spacing for equations

I have some problem with spacing. In the right column there are so many irrelevant space before and after my equations, and also after my picture. \documentclass{article} ...
2
votes
2answers
43 views

Vertical Justification of Elements of Enumerate Environment?

How do I automatically vertically justify (evenly vertically space in a page) the \items of an enumerate environment? Is adding \vfill after each \item the only way to do this?
6
votes
1answer
40 views

removing extra white space between columns in a multi page, landscaped, longtable

Hi I am trying to make a table that is landscape and takes up multiple pages. I am using a longtable in landscape mode to do this. Everything compiles fine but for some reason there is a large white ...
1
vote
0answers
31 views

Beamer, philex and \hfill

I'm using the package philex for linguistic examples, and I try to put a textual element at the end of the line (right centered). I tried to use the \hfillcommand, but as the MWE will show you, it ...
1
vote
2answers
57 views

How to reduce space after authors block? (ieeetran)

I'm using \documentclass[10pt, conference, compsocconf, letterpaper]{IEEEtran}. How can I reduce the space between the authors block (with their affiliations) and the text? Right now I have: Paper ...
0
votes
1answer
49 views

Vertical spacing between sections

I would like to know how I can define the vertical space between: a previous section and the new section title; the new section title and the following text. Now it looks like both space measure ...
16
votes
2answers
151 views

Why is unskip not working here?

I'm trying to define a macro to be used as follows: \usepackage[normalem]{ulem} \newcommand{\thesis}[1]{\uline{\ignorespaces #1\unskip}} % underlining required by school - I know, I know % later... ...
3
votes
0answers
31 views

Incorrect spacing for > and < when using newtxmath and bigdelims option [closed]

I am using the newtxmath package with the bigdelims option recommended by the package documentation. Curiously, this combination appears to produce no spacing around < and > (but correct ...
2
votes
1answer
22 views

weird interpretation of vertical spacing macros in contents of lrbox / minipage / colorbox

I know I have seen this typesetting problem before, but I cannot find a solution. latex can be quite counterintuitive. All I am trying to do is to create a \panel{} header-type macro that works ...
5
votes
2answers
71 views

Fixing overfull hbox in table of contents removes too many dots

This question on the memoir table of contents has an answer that works well, however, the dots end too soon (in my opinion). Is there a way to make the dots more like the default without triggering ...
5
votes
1answer
117 views

First paragraph in environment without indent or space

I'm trying to create an environment that does not indent the very first paragraph of the text inside the environment. My latest attempt and the corresponding output are shown below. As you can see, ...
0
votes
1answer
70 views

I do not know how I change `cls` unconsciously

I use 'cls' of a conference. Two adjacent pages, one flushes right, the other flushes left. I mean the blank space of right is smaller than the blank space of left in one page. Then, the following ...
2
votes
1answer
63 views

How to preserve space when using an Overlay command in Beamer?

Into Beamer, I want to preserve the space when I replace an expression by another in a mathematics formula with the help of an Overlay command. For example, if we have in slide number 1 this formula: ...
7
votes
3answers
116 views

Removing spaces placed by \Set command around curly braces

The \Set command (from the braket package) is useful for set builder notation, but it adds spaces before and after the brackets. Compare \Set{1, 2, 3}: To \{1, 2, 3\}: Looking through the ...
5
votes
2answers
78 views

Bump right-aligned text to next line iff no room within a \savebox

This is a follow up to my earlier question Bump right-aligned text to next line iff no room. The difference now is that I need to place this formatted text within a \savebox. In my actual use case, ...
6
votes
1answer
127 views

Is it possible to make siunitx typeset exponents in “cramped” style?

I'm using siunitx to typeset physical quantities. The result is not always ideal with many exponents in my eyes, because the exponents increase the line to line distance. At least this is my ...
6
votes
1answer
49 views

Typesetting longitude or latitude followed by a comma

How do you typeset a latitude followed by a comma? Using siunitx it looks like there's too much space: \documentclass[12pt]{memoir} \usepackage{siunitx} \begin{document} At the latitude ...
4
votes
2answers
45 views

Including a Table in a Figure Environment

In order to close the vertical space between this figure and table, I'd like to place the table inside the figure environment. Is that possible? %!TEX TS-program = xelatex %!TEX encoding = UTF-8 ...
8
votes
2answers
189 views

Typesetting sequence notation

I attempted to create a sequence both of the following ways: \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{amsmath,amsthm} \usepackage{amsfonts} \begin{document} ...
3
votes
1answer
41 views

leave blank space where author information will appear

Consider a snippet of text, the author information, that needs to be hidden for review. To allow organizing the space I would like to have a placeholder which uses up as much space as the author ...
1
vote
1answer
44 views

Formatting my basic tex report with specific spacing and font settings

Ok so I am configuring the settings of my tex file before starting my (mathematical) report and am going through my basic template and removing all packages I don't need and believe I have the very ...
7
votes
1answer
112 views

How do you remove a space before a citation in LaTeX?

I have something like \documentclass{article} \usepackage{cite} \begin{document} Blah Blah (\cite{All14}) \bibliography{Ref} \bibliographystyle{alpha} \end{document} But LaTeX keeps placing a ...
1
vote
1answer
28 views

Centering causes change in spacing

For some reason when I center the text on my page the spacing to go from single to double. Using the latest LyX I have the following text written in standard. Line 1 Line 2 Line 3 Line 4 When I ...
2
votes
2answers
92 views

Vertical space between matrices

I am writing some lecture notes in Econometrics and I want your advice on how to insert some vertical space between two matrices so the result will be easier to follow. Here is the minimal example: ...
3
votes
1answer
38 views

Latex text on both sides

I don't wanna use 64x \space to achieve my goal. I was tryin to \begin{flushleft} and \begin{flushright} bo it attempts with new line. I wanna make something like this, where arrows shows distance ...
1
vote
2answers
55 views

How to make the space under footnotes disappear?

How do I make the space under footnotes disappear? And to space over the footnote's bar? Code: \documentclass[12pt,french]{report} \usepackage{mathptmx} \usepackage{helvet} \usepackage{courier} ...
0
votes
0answers
30 views

Spacing around thm environments when parskip is changed

I am a beginner with LaTeX and have this probably tyro problem - when I use asmthmpackage environments in combination with \parskip, the (vertical) spacing above and below theorems, definitions, etc ...
2
votes
1answer
43 views

Minitoc numeration overlaps with subsection titles

I have long minitoc numeration depth \setcounter{minitocdepth}{3}. I have a problem with it: \documentclass{report} \usepackage{newcent} \usepackage{minitoc} \setcounter{tocdepth}{1} ...
9
votes
1answer
124 views

How to float something right even if it wraps down a line?

I have a situation where I have some data in section headings (and sometimes normal paragraphs} that needs to be: floated right not split across lines I was able to accomplish this for most cases ...
4
votes
1answer
78 views

Subfigure space adjustment — \subfigcapskip and \subfigtopskip

I want to adjust the space in a subfigure environment. Specifically, using \subfigcapskip to increase the space between the subfigure and subcaption, and using \subfigtopskip to reduce the space on ...
2
votes
1answer
22 views

Extra space (or missing) after a ref with a second digit in a bibitem

I create my bibliography as follows but after the 10nth Ref i have an extra space on the first line or a missing space on the following lines. Any idea on how to fix this? Thank you! ...
1
vote
1answer
42 views

Wrong vertical spaces using bibentry within beamer

I would like to give some references using the bibentry package in a beamer presentation. But sometimes, e.g. if the list of authors spans over multiple lines, there is a wrong vertical space in the ...