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

1
vote
1answer
28 views

keeping \parskip=0pt in HTML with take4ht

I have a problem with setting \parskip=0pt, not in my .pdf, but in my .html I want a new environment with \parskip=0pt, but make4ht -ul myfile.tex does not respect my deifnition. There seems to be a ...
3
votes
1answer
77 views

How to equalize the spaces above and below the theorem?

When I use the following code, \documentclass{amsbook} \makeatletter \def\ps@spheadings{\ps@empty \def\@evenhead{\normalfont\scriptsize \rlap{\thepage}\hfil \leftmark{}{}}% ...
4
votes
1answer
63 views

How to prevent XeLaTeX from dynamically enlarging or shrinking space after comma?

See the following output. Question How to prevent XeLaTeX from dynamically enlarging or shrinking space after comma? force XeLaTeX to break long sentences automatically without having to ...
5
votes
1answer
75 views

unbreakable (thin) space inside « », for tex4ht

EDIT: @michal.h21 you tip works well, but if I use a numerical code such as &#8201; for thin space, instead of its name &thinsp; in your modified trick, \def\mythinspace{\HCode{<span ...
5
votes
1answer
146 views

Prevent small, automatic spaces from splitting a word

I'm not sure if this is fundamental to LaTeX, or if this depends on the viewer, but I am facing the following phenomenon: \texttt{\textit{C}D} When I run pdflatex and view the result (in Okular) ...
2
votes
1answer
77 views

Correct way to write words with - in formula

I am wondering if there is a generally preferred way to write words with - in formula. For example: $k-distance$ or $k \textit{-} distance$ of maybe something better?
1
vote
1answer
46 views

Spacing around variables in math-mode

I'm using mtpro2 for math. In the original math-alphabet (the font mtpro2 uses), the letters seem to have greater spacing around them than what I would like. For example: $ GM = tc^3 $ produces ...
1
vote
1answer
66 views

how to make the in-line math equation as shown in the figure beautifully arranged in text?

When discussing and explaining some math equations, I sometimes prefer to use in-line equations (created by use $ ... $ in the text) in the text environment, as shown ONLY in the last two lines. ...
0
votes
0answers
21 views

CurVe document class: Adjust the space between entry's key and content

I am editing my CV with the CurVe document class. Is there any way to freely change the default space between the entry's key and its content? (as shown by the red arrow in the image below) A ...
2
votes
2answers
69 views

Why does Latex add arbitrary spacing between equations when using multicolumn?

After using multicolumn to divide up the page into three columns, some of my equations massive space in between the texts For example: The left most column, we see that there are spaces between the ...
0
votes
0answers
16 views

priming labeled arrows correctly

Using two macros to get the labeled arrows and its primed counterpart: \newcommand{\labarrow}[1]{\ensuremath{\overset{#1}{\rightarrow} }} ...
0
votes
0answers
18 views

Using ctexart documentclass and compile with pdfTex, is it possible to automatically add space between Chinese and letters or numbers?

In xelatex, space is automatically added between Chinese and letters, even if the there is no space in tex source. See here. But I found xelatex is slow, so I want to use PdfTex. So here is the ...
2
votes
0answers
30 views

Spacing in displayed equations with a piece of text in the middle

In order to avoid an excess of symbolism, I like to typeset displayed equations with some text replacing some connective, as in (\forall x\in \mathbb{N}: \{1,\dots,x-1\} \subseteq B) ...
3
votes
2answers
54 views

tabularx: use empty space between X and r

Want to use the empty space between X and r: \begin{tabularx}{\textwidth}{Xrrrr} \hline & X1 & X2 & X3 & X4 \\ \hline A & 1\% & 2\% & 2\% & 2.0\% \\ B & ...
3
votes
1answer
60 views

List of Boxes Detail

I was wondering if someone knows how to "tell" LaTeX to print an Index of Boxes ("Recuadros" for me), in a similar way to the regular Index of Tables. In the last case there is an extra space between ...
3
votes
1answer
53 views

colored underline with vertical spacing

How can I add a vertical spacing between the underline and other items by adjusting the \colorunderline command? \documentclass[12pt,b5paper]{article} \usepackage{amsmath} \usepackage{color} ...
4
votes
0answers
45 views

XeTeX: special \XeTeXcharclass needed for null glues

\XeTeXcharclass for glues (including null ones) is 255. High punctuation spacing in French with XeTeX is based on \XeTeXcharclass and \XeTeXinterchartoks both in polyglossia and babel/frenchb. As a ...
2
votes
2answers
136 views

Remove space after cases environment

After I write a begin cases environment, usually there appears a big space which bothers me. I do not know how to remove it. $\Hom(V,U)=\begin{cases}\{i:V\rightarrow U\vert i(v)=v, \forall v\in V\}, ...
1
vote
1answer
46 views

Changing the dimension of an arrow

I'm drawing a commutative diagram using the package tikzd. The problem is that the lenght of the arrows is too much. So I'm tring to find a way to reduce it. I'm using the command \arrow to draw the ...
1
vote
2answers
65 views

Exponent + square root + fraction: how to make look nice?

I have the following equation: \begin{equation}}e^{i\sqrt{\frac{\omega\mu_0\sigma z}{2}}}\end{equation} It is a fraction within a square root which is part of an exponent. Any idea how to make ...
1
vote
1answer
28 views

Columns Environment Spacing

I'm making a poster using beamerposter and I'm having some trouble with column spacing. I want to have a column that spans the entire width of the poster for my title, institution, etc. and then 3 ...
1
vote
1answer
40 views

Space after symbol and the letters after the symbol

I got this table. \begin{table}[h] \caption{Table caption} \centering \renewcommand{\arraystretch}{1.25} \begin{tabular}{ l | 1 | 1 | 1 } \hline Something [Nr] & \Delta y ...
2
votes
1answer
35 views

Anki latex spacing

I am using Anki with the following header: \documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage[utf8]{inputenc} ...
0
votes
0answers
84 views

spacing in the List of Figure

I am trying to adjust spacing between figure titles in the list of figures/tables on MixTex 2.9 and I could not see an answer to this issue in the previous posts. Could you please help me on how to ...
3
votes
1answer
59 views

space between item and paragraph in enumerate

I'm writing a list in this form: \begin{enumerate} \item Question 1... \item[a)] Something 1... \item[b)] Something 2... \item Question 2... \item[a)] Something 3... \item[b)] Something 4... \item ...
3
votes
3answers
63 views

How to have multiple lines of intertext within align* environment?

So I have two sets of equations that I'd like to be aligned, but they're broken up by two lines of text, the second of which should be indented. MWE with Comments \documentclass{article} ...
3
votes
1answer
36 views

Using \textstyle with \pmod

If I'm in a displayed equation but I want the \sum symbol to appear as it does in inline formulas, I can just put \textstyle in my equation. I thought that writing \textstyle would also force \pmod to ...
1
vote
1answer
56 views

Suppress spurious blank/newline created by a package

A package I use creates a spurious line break. \documentclass{minimal} \usepackage{tikz} \begin{document} ()(\usepgflibrary{arrows.meta})()% spurious line break ()(\tikzset{mytip /.tip = ...
5
votes
1answer
72 views

Extra space around nodes in forest multiline mode

In multiline mode (align=center) in forest, there is extra vertical space around the node. The first tree below is not in multiline mode. The second is in multiline mode, and there is extra space ...
1
vote
0answers
42 views

How to make the spaces tighter

I would like to ask you if you can tell me how can I redefine the command of \frenchspacing in LaTeX so there will be a little bit (only a little bit) tighter spaces between words than spaces in the ...
2
votes
1answer
54 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
24 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
120 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
29 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
36 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
30 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
42 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
86 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
47 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
36 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
54 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
1answer
62 views

How to reduce the space consumed during the beginning of a chapter?

When I begin a document with some chapter heading a lot of space is consumed at the top how do I reduce this?
0
votes
0answers
57 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
56 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 ...
3
votes
1answer
71 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
53 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
47 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
106 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
41 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, ...