{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
0answers
40 views

too much spacing between equations and text if line before equation is full [duplicate]

I have a problem when equations appear in the text without a linebreak. It seems like an additional spacing before an equation is inserted, when the line before the equation is just full until the ...
3
votes
1answer
54 views

Increase spacing between text and symbol in Notations

I am using scrbook package to write my report. I am defining the list of notations as follows: \renewcommand{\nomname}{Notation} \renewcommand\nomgroup[1]{% \ifthenelse{\equal{#1}{R}}{% ...
3
votes
1answer
31 views

Lyx Paragraph Settings not working

I keep unchecking the indentation box in the lyx paragraph settings, but after I apply the change, and go back to my work, it never seems to work. I will then write a new line, and press enter and it ...
3
votes
2answers
51 views

why is there no space after \sc when using it as a macro? [duplicate]

Here is a MWE that explains it: \documentclass{article} \newcommand{\scmacro}{{\sc macro}} \begin{document} why is there no space after \scmacro even though there is space in the document? ...
2
votes
2answers
71 views

reduce space before and after verse environment

I want to reduce globally in a document the vertical space before and after a verse environment. The MWE shows the problem, with output: I would like not to use other packages, because I want to ...
2
votes
1answer
41 views

Alignment problem with enumerate

This simple table is not working out for me. The first item in the table does not align with the others, see picture. I can not figure out why not. Thank you. \begin{enumerate} ...
1
vote
1answer
50 views

Aligning numbered elements with custom spacing

I am trying to achieve the following result: 1. Section 1 Some text here 1.1 Subsection 1 Some text here (a) Some text here (b) Some text here (i) Some text ...
2
votes
1answer
72 views

How to make two lists of text appear side by side and lined up

I'm new to Latex and this forum. I want to make two columns of text: SAT:--------------------------SAT Subject Tests: Critical Reading: 800------------Biology: 800 Math: ...
0
votes
1answer
51 views

\nopagebreak in longtable results in undesired negative vertical space

System: XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). MWE (with a grid superimposed to help visualizing the issue): \documentclass[12pt]{book} ...
5
votes
2answers
56 views

Centering the section headings, but having the multines horizontally aligned wrt to the first line of the title

EDIT: I tried the solutions by @Bernard and @egreg. both the solutions work for multiline headings, that is to say that, the title is centered and all the lines of the titles are at the same distance ...
4
votes
2answers
81 views

Spacing after description environment

I'm using the description environment for a list. The problem is that the text after the description list appears like this: item1 item2 item3 text text ... while I want something like this: ...
4
votes
2answers
85 views

Longtable spacing: \LTpre and \LTpost don't seem to work, boldface adds extra space

I use XeTeX Version 3.14159265-2.6-0.99992 (TeX Live 2015/W32TeX). I am typesetting a book with lots of sloppypar with longtables. I followed this thread to use \LTpre and \LTpost to reduce spacing ...
19
votes
1answer
386 views

Reducing the huge space before the first line of the KOMA letter class

How can i reduce the vertical space to the start of the letter? \documentclass[fontsize=12pt,firstfoot=false]{scrlttr2} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{% ...
3
votes
0answers
35 views

What is plus1filll? [duplicate]

In the beamer manual on pg 64 they introduce the following suggestion on how to insert a horizontal navigation bar \insertsectionnavigationhorizontal{.5\textwidth}{\hskip0pt plus1filll}{} They ...
2
votes
1answer
33 views

pushing contents against the right margin, if there is space

I'd like \mycomment in the document below to be such that it automatically puts its argument against the right margin on the current line if it fits and otherwise against the right margin on the next ...
0
votes
0answers
29 views

apply spacing rules of a usual character to a special one

My question is, in short: how to apply the spacing rules for the french guillemets «, » to the single guillemet ‹ and ›, when I enter them directly from the keyboard (or copy paste) ? the spacing ...
5
votes
1answer
30 views

Operator with different spacing for binary operations

I want to create a macro \d where something like $4+\d x$ is interpreted as $4+d\! x$ but $\int f(x) \d x$ is interpreted as $\int f(x) \,d\! x$ In essence, I want the macro to ...
2
votes
1answer
52 views

Spacing before parenthesis in math mode

Suppose, I have something like \overline{q}_{l m_1}'(i) \overline{q}_{l m_2}'(i) \overline{q}_{l m_3}'(i) Now, this renders to which looks rather unpleasant. How can I reduce the spaces in front ...
1
vote
1answer
30 views

Reduce space in TOC between section groups

I have the following TOC: section 1 subsection 1.1 ...................... 2 section 2 subsection 2.1 ...................... 2 How can i reduce the spacing between the first 'group' of ...
3
votes
1answer
51 views

tex4ht turning the unbreakble space by ~ into unbreakable space in the html

Following my problem concerning spaces from unbreakable (thin) space inside « », for tex4ht I edited my message with the following use of the working trick from @michal.h21 ...
1
vote
1answer
41 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
88 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
66 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
93 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
149 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
82 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
56 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
77 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
22 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
83 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
19 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
35 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
65 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
67 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
55 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
51 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
158 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
48 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
86 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
37 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
56 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
42 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
107 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
74 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
101 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
40 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
114 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
46 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 ...