1

I've got a really simple question. I'd like to write a mathematical proof in LaTeX, so my document will contain both text and formulae embedded in it. For example, I want to add this to it:

enter image description here

How can I write this efficiently, without putting the entire text into an \mbox{} element?

1
  • @murgatroid99: You're right, I didn't know of this site! – ryyst Aug 23 '11 at 15:44
2

Only wrap the equations in $...$, you can enter and leave math mode all throughout the document.

This page shows examples with formulas both inline in a paragraph and on their own lines.

0
2

If most of the content is math mode, the use \text{} to imbed text within equations.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[
\text{Let } D \subseteq \mathbf{R}, D \ne 0
\]

or in inline mode: $\text{Let } D \subseteq \mathbf{R}, D \ne 0$
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.