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

7
votes
1answer
117 views

Removing blank space above bibliography items

How do I properly remove the space above bibliography inserted without the respective caption? Please see the screenshot below with the inconsistent spaces being delimited by red lines. Two-column ...
3
votes
1answer
59 views

Indentation of list in a theorem environment

Typically, the body in a theorem environment begins on the same line as the heading. If the text begins with a list, the first line looks a little funny due to the indentation before the label. I'm ...
0
votes
0answers
51 views

Spacing between superscript and left parenthesis

I'm wondering why Latex adds an extra space between a superscript and the left parenthesis as in this case \documentclass{article} \usepackage{amsmath} \let\originalleft\left \let\originalright\right ...
1
vote
2answers
51 views

A problem with `amsthm` and positive `\parskip`

I want my paragraphs to be separated by some whitespace and not indented. However, there is way too big a space between end of a theorem and begin of a proof (an MWE follows). What are my options to ...
5
votes
1answer
154 views

Reducing chapter and section spacing for scrbook

I'm using scrbook document class and using chapters and sections. The spacing between chapters and sections is quite large, too large for my taste (before and after the chapter and section). So my ...
1
vote
2answers
68 views

How to change spacing between caption numbering and text?

Like in an IEEE paper, after the figure caption numbering, there are two letters spacing: Fig. 1. Bla bla Not like Fig. 1. Bla bla I would like to have the former.
7
votes
1answer
233 views

Libertine fonts: spaces in PDF files

I am having trouble with the "libertine" font package using TexLive 2014. A PDF file generated will display properly, including interword spaces, but when I save from Acrobat to some other format ...
8
votes
4answers
157 views

How to reduce the space between the hat of overset and the symbol?

I would like to place the \rightharpoonup on r and get them closer. I had tried the \overset and \Rvector package. But the spacing of the former is too much. And the latter performs bad when placing ...
4
votes
1answer
61 views

Arbitrary positioning in math mode without size restriction

In the MWE below, are all general methods, of achieving arbitrarily shifting of symbols up or down or left or right in math mode, represented? If yes, that is the answer. If no, what good methods are ...
3
votes
1answer
109 views

Given a 3x4 table of images, how do I make all the images the same size and remove vertical space so the table looks seamless?

I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the ...
4
votes
3answers
81 views

How to reduce a gap between the enumeration and the context from above it?

\documentclass[xcolor=x11names,compress]{beamer} \usepackage{graphicx} \usepackage{tikz} \usepackage{enumitem} I have a following code \textbf{Definition 1.1} A {\it{design}} is a pair ...
6
votes
1answer
76 views

ragged2e breaks soul package \textbf{} spacing

If you compile the XeLaTeX below you will see the output is not-as-expected for the bold part of the text i.e. it is: underline underline boldboldbold In other words the spacing of the bold elements ...
3
votes
1answer
122 views

Spaces in files names in \input or \includegraphics

I'm going crazy... I have a file I want to include which path is C:\Users\Matthieu\Documents\Folder withOneSpace\myFile.tex. (As you can see with the \, I'm on windows actually) I tried the ...
6
votes
3answers
324 views

Why is the equation not centered?

I have tried for over one hour now, in vain, on centering one equation. Why in the world is the equation not centered - i.e., so much margin on the left?? Here is my code: ...
3
votes
1answer
40 views

Centering List of X and Following with Text

With the tocloft package, I can add text under the title of a "List of Z" at the beginning of a latex document: \renewcommand{\cftafterZtitle}{\par\noindent \textnormal{Z} \hfill \textnormal{PAGE}} ...
6
votes
1answer
57 views

Stretchable glue in (script)scriptstyle (subscripts, superscripts, fractions)

If $a+b$ appears in a paragraph, the spacing around + will depend on how stretched/compressed the line is. If ${a+b}$ is used, then the formula will have its natural width regardless of how ...
2
votes
3answers
339 views

Sane spacing after min max

The default definitions of \min and \max insert basically no space after them, which looks really awful when stating optimisation problems, etc., in display equations. I could not figure out any way ...
3
votes
1answer
63 views

Footnote moves up by one \par

What is the problem with this minimal example: \documentclass{report} \usepackage{zref-abspage} \makeatletter \newcounter{footdir@label} \newtoks\footdir@toks \newcommand*{\footdir@temp}[3]{% ...
0
votes
1answer
96 views

How can I add in the missing space when the first use of an acronym is plural?

I'm using the glossaries package and defining my acronyms like this: \newacronym{led}{LED}{Light Emitting Diode} I'm then using the acronyms in my document with either \gls{led} or \glspl{led} ...
4
votes
1answer
73 views

Reducing Vertical Margin List of Equations

I am trying to add a List of Equations to my dissertation that matches the style of the list of tables and list of figures. I am very close but am hung up on the last step. How can I reduce the ...
2
votes
0answers
58 views

Multicol and Itemize

I am using the multicol package with itemize. On the left of my two columns, each bullet point is 2 lines long, and on the right side, each bullet point is one line long. Right now, my output is ...
2
votes
3answers
112 views

How to prevent a page break before an itemize or enumerate list? (continued)

My question is essentially the same as How to prevent a page break before an itemize list?. First, I don't undestand how the proposed solution (\par\nobreak\@afterheading) works. Why doesn't just ...
4
votes
1answer
103 views

Table caption spacing in dissertation

Style requirements for a dissertation require a single-spaced caption but with a double space between the table number and caption like so: Table 1. Table caption goes here, and is single ...
4
votes
1answer
45 views

spacing problem for more than three algorithms in one page

I use algorithm and algpseudocode package. Problem is, when I tried to start the fourth procedure\function, the fourth one starts in the middle of the next page instead of right below to the third ...
3
votes
2answers
94 views

Correct spacing when using aligned in cases

I have problems getting the spacing right when using aligned in a cases environment. The following illustrates my problem: \documentclass{article} \usepackage{amsmath} \begin{document} $$ ...
2
votes
0answers
50 views

Non-breaking space in cite style

I am using the .bst file "authordate-3" to create my references, with a citation in the text in the format (author, year). I would like to make the space between author and year a non-breaking space ...
5
votes
2answers
165 views

Enumerate: only indent numbers

I want to make the enumerate environment look like this: 1. First item [...] [first item continued] 2. Second item [...] That is, the text should look like normal body text except with ...
1
vote
0answers
73 views

Adjust text manually [closed]

I'm writing my thesis. I made some appendices with tables. But, I want to adjust some lines of text manually. Some lines should be pass to next page. Is it possible ? Sould I use vspace ? Sorry for ...
1
vote
0answers
110 views

Reducing the space between the \title and the first line of the the abstract in IEEEtran

I am trying to reduce the space between the title and the abstract (the paper have no authors). IEEETran style is being used. I tried the \vspace command but it didn't work, any ideas, ...
7
votes
0answers
99 views

Obtain \badness or glue adjustment for each line

This might be interesting for perfectionists and/or fastidious typesetters who would like to improve the document even further (beyond the beyond the magnificence of a book with zero bad boxes). We ...
0
votes
0answers
28 views

Options to allow for more vertical stretching possibilities

I'm writing my PhD thesis and am using the document class scrbook (with the twosides option), which uses the \flushbottom command as default. This means that my text (which contains a lot of formulas) ...
3
votes
1answer
60 views

Need space between footrule and footnote

I'm formatting a dissertation and need a small, vertical space after my footrule before the start of my first footnote, but no space between the footnotes which follow. I've tried the following ...
1
vote
2answers
111 views

Itemize and alignment of text

I would like to look my text like this: \item Parameter and the text should continue at the same "tab space" \item Variable so it looks like this Can seem to find an easy way to do this. ...
5
votes
3answers
111 views

Adding a hrule between hboxes decreases their vertical distance

Using pdftex. Given two sample programs test0.tex \vbox{ \hbox{X} \hbox{Y} } \bye test1.tex \vbox{ \hbox{X} \hrule \hbox{Y} } \bye gives the following outputs. test0.png test1.png So, ...
1
vote
1answer
54 views

Spacing around a table

I am trying to set all spacings around and within a tabular environment to be equivalent with standard paragraph text. The table heading and the table should have no indentation. I placed comments ...
6
votes
2answers
128 views

Writing “Proof of . . .” cleanly in svjour3

Perhaps I am spoiled by amsthm, but I rather like being able to freely rename the proof environment, especially when there are intervening statements. For example: Example 1: nice behavior ...
3
votes
1answer
54 views

skipbelow does not work for combination of mdframed and thmtools

I am trying to alter the space below a theorem box, which is created using thmtools and mdframed. \documentclass{scrartcl} % % \usepackage{amsthm} \usepackage{thmtools} \usepackage{mdframed} % ...
3
votes
2answers
87 views

How to obtain a justified paragraph with correct word-spacing in tabular environment?

I'm trying to obtain a tabular with three columns of text vertically aligned on top (using array package and p{'width'}), but I can't figure how to obtain a regular spacing between words, like a ...
2
votes
1answer
45 views

How to reduce space before \paragraph

I am using \documentclass[11pt]{article} and I would like to reduce the space very slightly that is put in before each \paragraph{Some text}. A MWE. \documentclass[11pt]{article} \begin{document} ...
1
vote
2answers
69 views

Shrinking the text in verbatim mode [duplicate]

I need to deal with loads of code lines in verbatim mode and append them to the appendix. That is, I may not need to show them in a fancy way but I want them to occupy least amount of space. As you ...
2
votes
0answers
71 views

Typesetting with “odd-shaped” margins

I am considering a poster presentation that I would like to design using nonstandard margin shapes. Current standard essentially puts elements inside a rectangle determined by page size, header and ...
2
votes
1answer
89 views

How to reduce the gap between the header and the figure in Latex

Please help me reduce the gap between the figure and the header in my code. I tried using position specifiers like h! or H but those take the figure on to the header slightly. I tried using vspace* ...
2
votes
1answer
75 views

Unwanted vertical space/glue between consecutive custom \section macro calls

I am using XeTeX. I need to redefine the \section and \subsection commands in order to use some macros which don't behave well with the titlesec and/or sectsty packages. I found some code to do ...
1
vote
2answers
64 views

Change space style using listings package

I'd like to make all space characters in the code gray. Is there an easy way to do this? Is there something like spacestyle (I've commented it)? \documentclass[a4paper, 10pt]{book} ...
3
votes
1answer
87 views

tcblistof, book class and vertical spacing

It deals with the displaying of the tcblistof feature with the package tcolorbox, which differs from the classic \listoffigures when used with the book class. In the example below (with tcolorbox v ...
1
vote
1answer
86 views

Justifying text and removing unwanted space

Using LaTeX text justification, sometimes the output tend to have more space in order to be justified from right and left as shown in the following picture. Between the Dr. and Lloyd is more space ...
5
votes
2answers
122 views

Spacing problem at List of Figures

I use Lyx 2.1, document class : Report. My problem is that the titles of figures are written on the numbers at List of Figures.
4
votes
1answer
91 views

Detect actual start of text

I have conditional which is sometimes suppressed, and if it gets typeset needs to be noted. If the conditional text begins with an environment which adds vertical space prior to the actual start of ...
2
votes
1answer
55 views

Adjust parameters of resumed lists

When an enumitem list is resumed there is some additional vertical space that is applied as can be seen in the difference in the vertical alignment of the 2nd item: I assume this is related to ...
1
vote
0answers
28 views

different spacing aroung equal sign for display/text mode [duplicate]

as I wanted to increase the space surrounding the = sign in my equations, I changed the thickmuskip length in the preamble \setlength{\thickmuskip}{14mu} It works fine, and I like the result in ...