<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=TeX_Mathematics</id>
	<title>TeX Mathematics - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://performiq.com/kb/index.php?action=history&amp;feed=atom&amp;title=TeX_Mathematics"/>
	<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=TeX_Mathematics&amp;action=history"/>
	<updated>2026-05-18T12:41:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://performiq.com/kb/index.php?title=TeX_Mathematics&amp;diff=5200&amp;oldid=prev</id>
		<title>PeterHarding: Created page with &quot; The classic Mathematics into Type, by Ellen Swanson (the AMS has made a PDF copy available [ftp://ftp.ams.org/pub/author-info/documentation/howto/mit-2.pdf here]), gives a go...&quot;</title>
		<link rel="alternate" type="text/html" href="https://performiq.com/kb/index.php?title=TeX_Mathematics&amp;diff=5200&amp;oldid=prev"/>
		<updated>2021-10-16T19:39:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; The classic Mathematics into Type, by Ellen Swanson (the AMS has made a PDF copy available [ftp://ftp.ams.org/pub/author-info/documentation/howto/mit-2.pdf here]), gives a go...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
The classic Mathematics into Type, by Ellen Swanson (the AMS has made a PDF copy available [ftp://ftp.ams.org/pub/author-info/documentation/howto/mit-2.pdf here]), gives a good explanation (Section 3.1 SPACING BETWEEN SYMBOLS IN MATHEMATICS) of when to use no space, thin space, thick space, em quad and two-em quad in math mode. A brief summary:&lt;br /&gt;
&lt;br /&gt;
=No space=&lt;br /&gt;
&lt;br /&gt;
* Between two symbols and between a number and the symbol it multiplies.&lt;br /&gt;
* Before and after subscripts, superscripts, parentheses, braces, brackets, and vertical rules.&lt;br /&gt;
* In expressions in the subscript or superscript.&lt;br /&gt;
&lt;br /&gt;
=Thin space=&lt;br /&gt;
&lt;br /&gt;
* Before and after symbols used as verbs.&lt;br /&gt;
* Before and after symbols used as conjunctions.&lt;br /&gt;
* After, but not before +, -, \pm, \mp used as an adjective.&lt;br /&gt;
* After the commas in sets of symbols, sequences of fractions, and coordinates of points.&lt;br /&gt;
* Before and after the symbols of integration, summation, product, and union.&lt;br /&gt;
* Before and after functions set in roman type. Exceptions: If any of these functions are preceded or followed by parentheses, braces, brackets, or bars, then the space is eliminated.&lt;br /&gt;
* Before and after vertical rules appearing singly rather than in pairs; the same rule holds for a colon that is used as a mathematical symbol rather than as punctuation.&lt;br /&gt;
* Before back subscripts.&lt;br /&gt;
* Before and after ds, dx, and similar combinations of d and another symbol following.&lt;br /&gt;
&lt;br /&gt;
=Thick space=&lt;br /&gt;
&lt;br /&gt;
* Before the parenthesis in congruences in text.&lt;br /&gt;
* Before a mathematical condition in text.&lt;br /&gt;
&lt;br /&gt;
=Em quad=&lt;br /&gt;
&lt;br /&gt;
* Between a symbolic statement and a verbal expression in displayed expressions.&lt;br /&gt;
* Around conjunctions.&lt;br /&gt;
&lt;br /&gt;
=Two-em quad=&lt;br /&gt;
&lt;br /&gt;
* Between two separate equations or inequalities in the same line.&lt;br /&gt;
* Between a symbolic statement and a condition on the statement.&lt;br /&gt;
&lt;br /&gt;
TeX has built-in spacing, and most of the times it does an excellent job, so (most of the times) you don&amp;#039;t need to add space manually.&lt;br /&gt;
&lt;br /&gt;
The following document contains the summary of the rules given by Swanson and some examples; these examples also contain some cases which are not built-in and which require manual attention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
\documentclass{article}&lt;br /&gt;
\usepackage{amsmath}&lt;br /&gt;
&lt;br /&gt;
\setlength\parindent{0pt}&lt;br /&gt;
\begin{document}&lt;br /&gt;
&lt;br /&gt;
\textbf{No space}\    Between two symbols and between a number and the symbol it multiplies:&lt;br /&gt;
\[&lt;br /&gt;
  ab\qquad xy\qquad 2a\qquad 2xz\qquad 4aC&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Before and after subscripts, superscripts, parentheses, braces, brackets,&lt;br /&gt;
and vertical rules:&lt;br /&gt;
\[&lt;br /&gt;
  2x^2y_3z (x)y\qquad a\{b\}\qquad y[a]\qquad a\lvert x\rvert\qquad b\lVert y\rVert&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
In expressions in the subscript or superscript:&lt;br /&gt;
\[&lt;br /&gt;
  \lim_{0\to a}\qquad a^{n-1}&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
\textbf{Thin space}\    Before and after symbols used as verbs:&lt;br /&gt;
\[&lt;br /&gt;
  a \subseteq 2&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Before and after symbols used as conjunctions:&lt;br /&gt;
\[&lt;br /&gt;
  a +2&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
After, but not before $+$, $-$, $\pm$, $\mp$ used as an adjective&lt;br /&gt;
\[&lt;br /&gt;
  a= -2&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
After the commas in sets of symbols, sequences of fractions, and coordi-&lt;br /&gt;
coordinates of points:&lt;br /&gt;
  \[ (a,b,c) \]&lt;br /&gt;
&lt;br /&gt;
Before and after the symbols of integration, summation, product, and&lt;br /&gt;
union:&lt;br /&gt;
\[&lt;br /&gt;
  a\int x\,\mathrm{d}y&lt;br /&gt;
\]&lt;br /&gt;
The thin space between $x$ and $\mathrm{d}y$ in the expression above is \emph{not} built&lt;br /&gt;
into \TeX.&lt;br /&gt;
&lt;br /&gt;
Before and after functions set in roman type:&lt;br /&gt;
\[&lt;br /&gt;
a \sin x \qquad \log 2.&lt;br /&gt;
\]&lt;br /&gt;
Exceptions: If any of these functions are preceded or followed by parentheses, braces, brackets, or bars, then the space is eliminated:&lt;br /&gt;
\[&lt;br /&gt;
a \sin \lvert x \rvert.&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Before and after vertical rules appearing singly rather than in pairs; the&lt;br /&gt;
same rule holds for a colon that is used as a mathematical symbol rather&lt;br /&gt;
than as punctuation:&lt;br /&gt;
\[&lt;br /&gt;
  a \mid b&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Before back subscripts:&lt;br /&gt;
\[&lt;br /&gt;
a\,_2T_3&lt;br /&gt;
\]&lt;br /&gt;
The thin space between $a$ and the following back subscript on $T$ in this example is not built into \TeX.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before and after $\mathrm{d}s$, $\mathrm{d}x$, and similar combinations of $d$ and another&lt;br /&gt;
symbol following:&lt;br /&gt;
\[&lt;br /&gt;
  \int f(x)\,\mathrm{d}x\qquad \iiint f(x)\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\phi&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
\textbf{Thick space}\    Before the parenthesis in congruences in text: $z= a\pmod x$&lt;br /&gt;
&lt;br /&gt;
Before a mathematical condition in text: $t_n\ (n=1,2,\ldots, p)$&lt;br /&gt;
&lt;br /&gt;
\textbf{Em quad}\    Between a symbolic statement and a verbal expression in displayed expressions &lt;br /&gt;
\[&lt;br /&gt;
  E_n(t) \to e^{-t}\quad\text{as }t\to\infty.&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Around conjunctions:&lt;br /&gt;
\[&lt;br /&gt;
x(a+b)\quad\text{or}\quad y(a-b).&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
\textbf{Two-em quad}\    Between two separate equations or inequalities in the same line&lt;br /&gt;
\[&lt;br /&gt;
x^2 + y^2 = a^2,\qquad x-y=b.&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
Between a symbolic statement and a condition on the statement&lt;br /&gt;
\[&lt;br /&gt;
x^n + y^n = a^n\qquad (n = 1,2,\ldots p).&lt;br /&gt;
\]&lt;br /&gt;
&lt;br /&gt;
\end{document}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:TeX]]&lt;/div&gt;</summary>
		<author><name>PeterHarding</name></author>
	</entry>
</feed>