{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
1answer
129 views

Remove spaces above and below cmidrule [duplicate]

I'm using booktabs to create table and use cmidrule to span a line across a few columns. The problem is when the cells have background color, the spaces around cmidrule makes it look really bad. ...
4
votes
4answers
194 views

How to do the spacing?

Could somebody please help me out with this. I want the three functions to start at the same place after the names as in the picture. I'm not sure in which environment I should do it. This is what ...
1
vote
1answer
34 views

How to view the result of \showthe\abovedisplayskip in TeXnic Center?

How is it possible to view the value of \showthe\abovedisplayskip in TeXnic Center + MikTex 2.9 + Windows 7? I tried writing the command in a document (type article) and view the result as pdf is ...
1
vote
3answers
130 views

real MetaPost space

In MetaPost I label something with: Label(1)(percent, ", 269 GiB") (inwards, 0) withcolor (1, 1, 0) ; Unfortionately the space after the comma and the space between 269 and GiB is represented by a ...
3
votes
1answer
35 views

Lyx: Reduce vertical spacing of items [in UI only]

I like to use lists to structure my ideas before writing them down. To organize these notes it is very convenient to have shortcuts to exchange and change the level of indentation (just as in Emacs ...
3
votes
1answer
44 views

Justify frontmatter for chapter style southall

This question is related to this one; I wonder how one could modify the southall chapter style so that the word ''Contents'' and ''Acknowledgements'' become justified to the left. The linked answer ...
2
votes
1answer
36 views

Unwanted extra space before figure with subfig

I am typesetting a document using tufte-book as document class. In the document I have to put figures, both alone and side by side. As this is the case, I use the subfig package to reach this goal, ...
3
votes
1answer
50 views

Too much space when mixing typewriter upright and italics

There seems to be too much horizontal whitespace following italic typewriter text. Consider this example: \documentclass{article} \begin{document} \noindent \texttt{This is a perfectly \textit{fine ...
1
vote
1answer
98 views

Remove whitespace before enumerate

I am using a list like this: \section{My section} \begin{enumerate} \item My first item \item Second item \end{enumerate} The problem is that enumerate produces a vertical whitespace just before ...
3
votes
1answer
64 views

Displaying Text Next to Section/Subsection title in LyX

Within a given section (or subsection), I would like my section title to appear on the left and I want the text to appear immediately after the title of the section as in the following example. In ...
2
votes
0answers
39 views

Editing Distance between Abstract and Intro in LyX

Here's an example of how I'd like my abstract to appear. Note that the amount of vertical space between the abstract and intro is minor. In my document the vertical space between the abstract and ...
1
vote
1answer
69 views

reledmac: single-spaced two-col and paragraph footnotes in a double-spaced document

Building on a similar question I asked, and its answer: Given that in reledmac a series (B below) of two-column critical footnotes can be made single-spaced in a double-spaced document according to ...
0
votes
0answers
96 views

Math spacing when using quantifiers

I'm often writing equations with quantifiers like these: \begin{equation*} x_i \quad \forall i = 1, \dotsc, n \end{equation*} I've read this answer, but I'm not sure if my case is an example for ...
2
votes
1answer
76 views

Add vertical space around footnote rule and between footnotes in reledmac

I've tried some of the usual methods (such as changing footnotestep and redefining footnoterule), but they don't seem to work with reledmac. If possible, I'd like to change (1) the space above and ...
4
votes
1answer
92 views

transpose and dot superscripts spacing

I would like that the transpose in the following has the same height in both examples, is there a possibility to make the transpose sign ignore the boxes above the charater? \documentclass{article} ...
2
votes
1answer
65 views

Tikz node inserts additional horizontal spacing

The \MyTikzMarkNode below seems to be inserting additional horizontal space when used in math mode. How should the macro be defined so that the additional horizontal space is eliminated? Code: ...
1
vote
1answer
54 views

variable beforeskip in \@startsection

Is it possible to have a "calculated" \beforeskip in \@startsection ? I want the beforeskip of a subsection to be 1.5ex unless the previous paragraph is a section. In that case I want the section and ...
6
votes
2answers
132 views

vertical spacing in nested fraction

I have complicated math expression: Vertical spacing between text and fraction line is too small. I tried to define new \frac command (with amsmath package) with adjustable vertical spaces. As you ...
1
vote
0answers
49 views

Whitespace Around TikZ Automaton

I have the following TikZ picture: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows,automata,positioning} \begin{document} \begin{tikzpicture}[initial text={}, auto, ...
3
votes
1answer
38 views

How to put line spacing with a certain length (kind of manually)

I need to write a entire document with line spacing equals 1.5 cm. I've searched about it and found that there is three kinds of spacing: single, double and 1.5, but I need my document to be EXACTLY ...
11
votes
3answers
601 views

Writing a word with the length of another word

Ive got a quick question: How can I create text that has the length (or all the dimensions) of another string? What I mean is: Have latex write TEXT, but let it be printed as having the dimensions of ...
2
votes
4answers
53 views

How to add vertical space before `hline` in `array`

I am trying to format the following table with more space below the horizontal lines. \begin{equation*} \begin{array}{|c|c|c|} \hline i & (266)_i & [266]_i\\[3pt] ...
2
votes
2answers
85 views

How to stop a custom \section macro from adding whitespace to the beginning of a paragraph?

I lifted a \section macro from the TeXbook. \outer\def\section#1{\medbreak\noindent{\bf#1}\smallskip\par\nobreak\noindent} When I use this macro like this: \section{\TeX nical documenation} Blah ...
2
votes
1answer
46 views

space before and after emdashes

I am typing a document in French and I need to automatically get a fine space (unbreakable) after opening emdash and before closing dash. ---\, blahblah\, --- is not very good... How can I do that. ...
2
votes
1answer
51 views

glossaries protect whitespace between text and abbrevation

I'm using the glossaries package for a list of abbreviations. I have a problem when I use the command \gls with an abbreviation for the first time if it's near the end of a line. So e.g. the ...
3
votes
1answer
72 views

Reduce space between title and first section in a modified smfart

I am looking for a hack to reduce the space between the line (that appears after the title) and the title of the first section. At the moment, my code modifies smfart somewhat atrociously as follows: ...
2
votes
1answer
118 views

Horizontal space after =& in aligned environment is too small compared to &=

I ran into a very odd problem, which is illustrated in the following code sample: \documentclass{scrartcl} \usepackage{amsmath} \begin{document} \begin{equation} \begin{aligned} a=&b\times ...
4
votes
1answer
40 views

justify chapter* for southall

I have searched but couldn't find an answer to how to make \chapter*-names be left justified for the chapterstyle southall. The following MWE illustrates the problem. \documentclass{memoir} ...
2
votes
1answer
149 views

ConTeXt: change distance between inmargin bullets and text in bulleted list

Can some kind soul show me how to specify the amount of horizontal space between list symbols (bullets, numbers, etc.) and item text in ConTeXt? Specifically, I'm trying to create a bulleted list in ...
4
votes
1answer
192 views

Make carriage return a blank symbol

I would like that the two following code become equivalent: Code 1 (Prints "a b") \documentclass{report} \begin{document} a b \end{document} Code 2 (Prints "ab") \documentclass{report} ...
5
votes
1answer
95 views

add space between section and subsection in TOC?

Is it possible to create more space before a new section in TOC? I would like more space where the arrows are: I tried using \cftchapafterpnum{\vskip3pt} - but that does not give the effect I'm ...
0
votes
0answers
62 views

Package grffile not working with graphicspath and filename containing spaces

If the image is in the document's directory this works: \usepackage{graphicx} \usepackage{grffile} \begin{document} \input{"image name with spaces"} \end{document} If the image is in a sub ...
4
votes
0answers
54 views

How do I stop \usepackage{graphicx} pushing my whole document down? [duplicate]

After I load the graphics package and create a pdf I get my image to appear perfectly but my page numbers are now basically on the very bottom of every page and the text on each page has shifted down ...
4
votes
3answers
96 views

Fix spacing when using \dot{}

If I type $a \sim b$, I get . However, if I type $a \dot{\sim} b$, I get this and the spacing is gone. Is there a way to regain latex's good spacing mechanism, i.e. add spaces if needed and avoid ...
3
votes
0answers
38 views

When should spaces after full stop be escaped? [duplicate]

Athough discussion on that question is still going on (even if third ways exists), it seems that larger spaces after the end of a sentence is preferable in English. By default, LaTeX puts wider spaces ...
19
votes
2answers
1k views

Why do we need \ldots?

While trying to understand Chapter 12 of Knuth's TeXbook about Glueing, I run into troubles in understanding why \ldots ends up in looking better than .... It seems to me that the usual period . has ...
2
votes
1answer
124 views

Too long vertical lines in table when declarations must remain on distinct lines

I am facing a situation where I am somewhat faced with the modular and conditional assembly of a table which prevents the \begin{} and \end{} definitions from remaining in the same local context. ...
1
vote
1answer
82 views

Wrong space in equation

At my LaTeX file, the space between left and right equation in "Einsetzungsverfahren" is not correct (too big). Thats my file, what did I wrong? \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
39 views

How to fix inconsistent spacing above tabular environment

I notice that the amount of spacing above tabular changes depending on whether I have one row or more than one row: \documentclass[12pt]{article} \usepackage[english]{babel} \begin{document} Foo ...
2
votes
1answer
44 views

Unwanted blank line in verse environment

I'm having a problem where lines which are almost long enough to cause the verse environment to break a line are creating an unwanted blank line. It seems as if the environment is breaking the line, ...
5
votes
1answer
139 views

tikz - Idiomatic padding

For this TikZ figure, the shorten statements keep the tail of the top-most arrow from colliding with the input node and similarly the head of the bottom-most node from colliding with the output node. ...
4
votes
2answers
72 views

How to prevent \underbrace from overlapping with a \chemfig?

A chemical formula I'm annotating overlaps with an underbrace, unless I use brackets. How can I prevent overlap without placing brackets? MWE: \documentclass{article} \usepackage{chemfig} ...
1
vote
0answers
47 views

How much spacing is left after \end{enumerate}

How much vertical space is left after the enumerate environment and how much space is the default between the items?
3
votes
0answers
111 views

spacing within block and between blocks with list in beamer

I am using beamer blocks in the default theme to delimit "paragraphs" in a frame. When I use a list within a block, the vertical spacing is different compared to the spacing for a block with no list, ...
6
votes
2answers
226 views

Is there a way to make a symbol behave as either mathord or mathrel depending on context?

Symbols denoting equivalence relations are typically used in two ways. They are either binary relation symbols denoting that two elements are equivalent or they appear as ordinary symbols in the ...
1
vote
1answer
44 views

Chapter header spacing, spacing after sections

I am trying to create double spacing throughout this document - after "Chapter 1" and "after Dimension Reduction in Symmetric Spaces", etc. I also want a top margin of an 1 inch. Can anyone tell me ...
1
vote
1answer
81 views

Typesetting Hermann-Mauguin notation correctly

Hermann--Mauguin notation is used to define a naming scheme for three-dimensional space groups (aka crystallographic groups). A list of these groups together with their names can be found here. I ...
1
vote
1answer
58 views

change vertical gap between two paragraphs

I only need to change the white gap between two paragraphs in a particular spot in my thesis. In particular I want to reduce the vertical white space. I know that I can do \\[5pt] to add more space. ...
2
votes
1answer
68 views

how to give more space in acronyms between the abbreviation and the expansion

I like to give more space in acronym between the abbreviation and the expansion CR Collarette Ratio DCAC Discrete Circular Active Contour using acronym package
2
votes
1answer
75 views

Vertical space between Text and figure

If the code is like this: text text text text text.~\cite{sour}\begin{figure}[htbp] \centering \includegraphics[width=0.9\textwidth]{IMG/fig} \caption{Caption.} \label{fig:figlabel} ...