TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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