Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I was wondering if I could write an equation, symbolically, but only as part of a text in Mathematica. So I don't want Mathematica to consider anything inside that equation as a variable, nor equate or perform any mathematics on it. Is that possible?

share|improve this question
add comment

1 Answer

up vote 12 down vote accepted

You can open a text cell using Alt7, and type some text. When you need math, open a subcell using Ctrl9. Single letter variables will be formatted in italics in the subcell, as is usual. Use the usual shortcuts (e.g. Ctrl6 for superscript) to enter math. Use CtrlSpace to get out of the subcell (or the arrow keys).

On a Mac, use in place of Alt.

share|improve this answer
1  
If your using a Mac, substitute Command (open Apple) for Alt. –  rcollyer May 18 '12 at 14:20
    
Somehow it seems more natural to me to think of the delimiters for inline (math) mode as Ctrl ( and Ctrl ). Especially with their suggestion of open - close. –  murray May 18 '12 at 22:06
add comment

Your Answer

 
discard

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.