Geeks With Blogs
Łukasz Kuryło's blog

In the Latex begin{displaymath} all spaces are ignored, e.g. this code

\begin{displaymath}
Y=\{ B_i \subseteq Z : i \in X \},  where X \subseteq \mathbb{N}
\end{displaymath}

will look after compile: ...,whereX...

To avoid this situation there is a list of commands to deal with this:

  • \,  (thinspace)
  • \;  (thickspace)
  • \quad    (quadspace)
  • \qquad   (double quadspace)
  • \!  (negative thinspace)

More info can be found here

Posted on Saturday, May 14, 2011 9:42 PM Latex | Back to top

Related Posts on Geeks With Blogs Matching Categories

Comments on this post: Lost spaces in latex begin{displaymath}

Comments are closed.
Comments have been closed on this topic.
Copyright © Łukasz Kuryło | Powered by: GeeksWithBlogs.net