text in math mode

LaTeX text in math mode

StartLaTeX faqLaTeX topicsLaTeX course
< title page without date   > spacing in math mode

text in math mode

Within math mode text would be not write as normal, because blanks were ignored and chars were printed curisve. A soultion would be this:

...
\begin{document}
some text $a^{2} + b^{2} \textrm{ text and chars within math } = c^{2} $
\end{document}
If the additional usepackage amsmath is used:
...
\usepackage{amsmath}
\begin{document}
some text $a^{2} + b^{2} \text{ text and chars within math } = c^{2} $
\end{document}
Hint: Just set a blank after "{" and one before "}".

Contact