Take the 2-minute tour ×

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?

share|improve this question

migrated from stackoverflow.com Aug 23 '11 at 22:42

This question came from our site for professional and enthusiast programmers.

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

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
Thanks, this is exactly what I wanted! –  ryyst Aug 23 '11 at 15:55
add comment

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

\text{Let } D \subseteq \mathbf{R}, D \ne 0

or in inline mode: $\text{Let } D \subseteq \mathbf{R}, D \ne 0$
share|improve this answer
add comment

Your Answer


