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

6
votes
1answer
39 views

Spacing after first line with titlesec using runin option in titleformat

I'm using the titlesec package to format my (sub)section titles. I'd like to use the runin option in \titleformat to place my subsections titles within the first paragraph of each subsection. However, ...
4
votes
1answer
52 views

equal column spacing in longtable

Does anyone know how to get equal spacing between columns in longtable? My code is attached below. Thanks. Franz \documentclass[12pt,a4paper]{article} \usepackage[latin1]{inputenc} ...
0
votes
0answers
52 views

Page-specific \nomlabelwidth in nomenclature

In order to keep symbols and descriptions in a nomenclature with the nomencl package vertically aligned, \nomlabelwidth has to be set to the maximal symbol width. This has effect on the whole ...
5
votes
2answers
59 views

Default value of the space between rows in a tabular environment

Consider the following MWE. \documentclass[12pt]{report} \usepackage[francais]{babel} \usepackage[utf8]{inputenc} \begin{document} \vspace*{\fill} \begin{tabular}{l} \textbf{« Ah ! comme la ...
2
votes
1answer
62 views

Double vertical spacing : how to fix this?

Consider the following : \documentclass[12pt]{report} \usepackage{amsmath, amssymb, amsthm} \usepackage{lipsum} \usepackage{tikz} \usetikzlibrary{shadows} ...
6
votes
2answers
132 views

phantom wrapper of a word around a shorter one

It would be very handy for me if I could write something like: \phantomwrapper{long word or text that fits in one line}{shorter text} and the phantomwrapper would create just the amount of ...
7
votes
2answers
173 views

How much space is a line, vertically?

How much space is a line, vertically ? E.g. something like "1.5em" ?
4
votes
1answer
40 views

Remove whitespace after item in description

how can I remove the whitespace after the item in the description? Example: this code: \begin{description} \item[First]\footnote{Here goes the footnote} lorem ipsum ... \item[Second], which is my ...
5
votes
1answer
74 views

Redefine \middle| to insert space before and after itself

I want to use \middle| inside of brackets like this. \documentclass{article} \begin{document} \begin{equation} \left\{\frac{1}{n} \middle| n>0\right\} \end{equation} \end{document} ...
7
votes
1answer
67 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
43 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
41 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
33 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
109 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
41 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
221 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
136 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
50 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
95 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
76 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
70 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
88 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
304 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
38 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
46 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
121 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
58 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
0answers
51 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
63 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
43 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
94 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
87 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
40 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
86 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
32 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
144 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
72 views

Adjust text manually

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
70 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
73 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
26 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
51 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
109 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
109 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
47 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
88 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
37 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
70 views

How to obtain a justyfied 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
41 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
63 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
66 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 ...