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

11
votes
4answers
1k views

Annoying space before the first item in an enumeration which starts a theorem

Consider the following example: \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} ...
29
votes
3answers
33k views

Reduce spacing in bibliography using biblatex

How can you control (in my case reduce) the spacing of the bibliography in biblatex? I used to use \begin{spacing}{0.9} \bibliographystyle{plain} \bibliography{refs} \end{spacing} and ...
6
votes
2answers
505 views

Vertical Equivalent of \hfill

Is there an equivalent of \hfill for vertical spacing?
2
votes
1answer
263 views

How can I build a box with multiple lines of content with two anchors?

I'm trying to create a macro \AST (or an environment, if that helps) that will let me typeset abstract syntax trees, in the following way: \AST{A}{\AST{B}{C\comma D}\comma E\comma \AST{F}{G}} should ...
4
votes
1answer
721 views

How to write spaces between Korean words with XeCJK?

I'm just trying to get LaTeX output spaces between Korean words. At the moment all it can do is to give long chains of syllables just like in Chinese or in Japanese, ignoring all the spaces I set. ...
15
votes
3answers
1k views

How can I get Sperrsatz?

Sperrsatz is a special kind of emphasis often used in combination with blackletter fonts. A word in Sperrsatz has 0.125 em spaces between its characters, but some ligatures are preserved. For example: ...
2
votes
2answers
446 views

How to automatically separate words in inference from semantic package?

I'm trying to use inference from semantic package to describe static semantics of a language. I would like to separate nonterminals in inference rules with spaces without inserting them by hand. Is ...
4
votes
2answers
4k views

Reduce footer space

I am having trouble reducing the footer space. I have a list of contents that is printing below the page number appearing in the footer. How do I solve this issue? I tried setting the footskip length ...
17
votes
5answers
23k views

Global setting of spacing between items in itemize environment for beamer

I'd like to modify the spacing between items in the itemize environment. This post shows how to modify a specific itemize environment (\addtolength{\itemsep}{0.5\baselineskip}). However, I'd like to ...
6
votes
1answer
11k views

Paragraph spacer: blank line and no indent, instead of indent [duplicate]

Possible Duplicate: Is there an easy way to have my whole document with a space between paragraphs rather than indentation? I would like to have my paragraphs separated by a blank line, ...
3
votes
2answers
572 views

theorem-like environments: italic correction and endmark placement

How would you define theorem-like environments so that: (1) theorems are set in italics with italic correction and (2) proof endmarks occur directly after text?
4
votes
1answer
5k views

bibliography author initial spacing

I am using the IEEE LaTeX bibliography style, and I want to make a small change to the format of authors' names. This is not actually for submission to the IEEE so changing the format won't be a ...
2
votes
1answer
366 views

Spacing before align environment

I am working with the exam class, and need to align some solutions. However, I would like to move the align environment up, so that it is on the same line as the question/part number. Is this ...
1
vote
0answers
241 views

Get remaining height on page (and scale image to it) [duplicate]

Possible Duplicate: How to define a figure size so that is consume the rest of a page? Hi all, I've seen How to compute the remaining space on the current page - but that doesn't really ...
2
votes
1answer
144 views

Increase listings spacing through the package listings or use figure instead?

This is more a conceptional question on how to use LaTeX in the right way. So far I have striven to customize only those things in LaTeX which are supposed to be without messing to much with print ...
4
votes
1answer
877 views

Figure and table in one float

I was trying to put a figure directly above a table in a TeX document, which I achieved by putting the command \includegraphics directly after \begin{table}. This, however, leaves no space between the ...
6
votes
1answer
6k views

Removing vertical space before and after tabbing environment

When I write \begin{tabbing} \hspace{4in}\= \kill % set up two tab positions {\bf University }, {\it City, NW} \> PhD, Physics (2007-2011)\\ \end{tabbing} Methodology and numerical ...
24
votes
2answers
15k views

How can the margins around a table set to 0pt?

I need to put a table inside another table, and would like to set the outside margins of the inner table to 0pt. How can I do this (in particular for tabularx, but hopefully this would be the same for ...
1
vote
0answers
2k views

space around figures and how to remove it [closed]

I'm inputting several figures in my thesis and I'd like to know why there is always so much white space above and to the side of the figure and below the caption. Below the caption is particularly ...
9
votes
2answers
240 views

Which spaces exactly are ignored by \halign?

Some spaces seem ignored by the \halign primitive. For instance, \setbox0=\vbox{\halign{ # \cr \space b \cr}} \showbox0 indicates that there is no glue before b, but that there are two spaces ...
12
votes
1answer
567 views

babel, frenchb and em dash

If I'm not wrong, in French the em-dashes, typeset with --- in LaTeX, are usually treated like the guillemets as far as non-breaking spaces go. An "opening" em-dash must be followed by a non-breaking ...
9
votes
2answers
5k views

Add text to TOC without dotted-lines and line number

Despite following many suggestions on the net, I have the following issue. I am using TeXnicCenter and MiKTeX. [I have posted the same on Latex Community Forum]. I have not used/tried the tocloft ...
2
votes
2answers
4k views

\fbox command destroys margin

I included a graphic the following way: \includegraphics[width=1\textwidth]{questionnaire1.png} Then I changed it so that a frame is drawn around the graphic: ...
2
votes
1answer
358 views

memoir: spacing changed in new version

I just updated from memoir 3.6g to 3.6j and it broke spacing in my documents. In 3.6g, I used: \setlength{\parindent}{0em} \setlength{\parskip}{0.6\baselineskip} \setbeforesecskip{1.5ex} ...
2
votes
1answer
1k views

Increasing spacing of dots in vdots

Basically I want a \vdotsfor command that does what \hdotsfor does but for vertical dots. Need to increase spacing of dots over two rows so it looks pretty instead of having to use two \vdots on both ...
6
votes
1answer
466 views

Suppress space between Chinese and Roman typeface in XeLaTeX

When the Roman characters [a-z0-9] and Chinese characters alternate in XeLaTeX, a space is automatically entered between the two types of character. For example, both Abcde我fg and Abcde 我 fg produce: ...
3
votes
1answer
733 views

Change the vertical spacing option “tight” in shorttoc

I'm generating a short table of contents using the shorttoc-package. \documentclass{scrartcl} \usepackage[tight]{shorttoc} \begin{document} \shorttoc{Shorttoc}{1} \tableofcontents \section{Sec1} ...
7
votes
1answer
3k views

Prevent itemize from creating newline at end of list

I'm using the itemize environment with the enumitem package, and one of the issues I'm having is that the itemize environment seems to create a newline, or at least add vertical spacing at the end of ...
2
votes
2answers
2k views

Tune space around section headings

I am using \Huge centered section headings but the space generated around the heading is too big currently: I would like to reduce the space around the heading (The "Créé à son image" text) to make ...
8
votes
2answers
1k views

Horizontal Spacing: double \hspace removal?

\addvspace can be used to create commands which can be stacked together without creating unnecessary padding. This is useful for creating commands which start and end with \addvspace so that they can ...
3
votes
1answer
700 views

How to remove extra space after volume number in References section

When I compile my manuscript, in the references section extra space is added after the volume number. My corrector told me to remove it, but the problem I don't know how to remove it. MANUSCRIPT.TEX ...
18
votes
5answers
6k views

Adjusting vertical space between TOC entries using Beamer

I have a rather lengthy table of contents for a presentation. Beamer is not compressing the vertical space between TOC entries, but instead running the last item off the bottom of the output! Is ...
20
votes
2answers
1k views

Why does \xspace behave differently for parenthesis vs. braces/brackets?

Consider: \documentclass{article} \usepackage{xspace} \begin{document} (something\xspace) [something\xspace] \{something\xspace\} \end{document} Or more to the point: \documentclass{article} ...
31
votes
2answers
6k views

Why does vfill not work inside a beamer column?

I recently tried to set up a quartered page layout in beamer (separate question might follow) and \vfill failed in a column environment. Minimal example: \documentclass{beamer} \begin{document} ...
19
votes
4answers
3k views

No space present after ensuremath

When I insert a short maths section in a sentence, it renders fine with a space each side as expected: ...returned $\mathcal{P}$ from... If I define a command to do the same thing, it also renders ...
6
votes
1answer
214 views

The same height of text in a large document

I’m typesetting a large document that contains a lot of mathematics. The only problem is that the height of text on some pages that ends with a displayed formula is less than (about 3-6mm) the height ...
6
votes
1answer
3k views

How to add more space between list items?

I have a list. Editor says it shall have more space between items. How to achieve such thing?
13
votes
4answers
2k views

Hard whitespace

I am using plainTeX and would like to typeset some (python) code examples. Switching to \tt gets me partway there, but I (obviously) need the whitespace respected. Is there a trick for doing this? The ...
41
votes
2answers
5k views

Macros for common abbreviations

Common abbreviations are surprisingly tricky to format correctly. I'd like some simple macros for them, to be used like so: You should eat more fruit, \eg apples, bananas, oranges, \etc. There are ...
3
votes
1answer
821 views

avoiding white spaces between consecutives minipages

I am using the list environment \begin{itemize}\end{itemize} in pdflatex with several \item inside. I want to make each line from inside the environment "itemize" longer so that the length is ...
3
votes
1answer
586 views

Change spacing between elements in \newfloat listof

I have created a new float type with the following in my preamble: \floatstyle{plain} \newfloat{myfloat}{thpb}{myfloat}[chapter] \floatname{myfloat}{\bf My Float} Then I use the following to create ...
12
votes
3answers
4k views

Too much whitespace before lists when changing the \parskip length

I have the following in my preamble: \addtolength{\parskip}{\baselineskip} \setlength{\parindent}{0 pt} Now there is too much whitespace before an enumerate list environment, in the example I have ...
12
votes
2answers
2k views

\addvspace can't replace \vspace

I want to replace \vspace with \addvspace in a command. When so doing, I get obtuse "something's wrong--perhaps a missing \item." errors. I'd appreciate an explanation of why this happens and how ...
16
votes
1answer
16k views

amsmath align environment: row spacing

How can I stretch the spacing between consecutive lines in an align* environment? I have a few lines with \fracs in which both the numerator and the denominator consist of textual phrases, not math ...
13
votes
2answers
6k views

Create empty box sized according to imaginary content

In LaTeX, is it possible to create an empty box that has exactly the dimensions of some content given? Example: \emptybox{abc} would insert an empty box of the size as if "abc" was printed there.
7
votes
5answers
327 views

Typeset a series of characters with equal distances?

for typesetting tables with design of experiments, I have to typeset strings like "+ - + +", - - - +", etc. in a column of a table to represent the so called pattern of the experimental run (sometimes ...
8
votes
2answers
1k views

Spaces behind \textgreater not working as expected

I have the following code: \textit{WMC \textgreater average} But the text looks like this: WMC >average It does not even change if I add even more spaces. So what am I doing wrong?
9
votes
1answer
27k views

Remove/Reduce vertical space between paragraphs for acm_proc_article-sp

I need to use a certain document class (acm_proc_article-sp) that introduces vertical space between paragraphs. I want to remove or at least reduce that space, which I am unable to. Here is a minimal ...
4
votes
1answer
662 views

Theorems and Definitions as quotes

Most standard styles highlight theorems and definitions using italics. Now this is something I really would like to avoid in my thesis (and generally). Unfortunately, if I just remove this "feature", ...
1
vote
1answer
348 views

How to delete space of empty “section number”

I have renewed the section number so that it doesn't display anything \renewcommand{\thesection}{} now the problem is that LaTeX is still reserving space for the section number although isn't ...