3
$\begingroup$

I know in HTML or LaTeX there is a way to easily put a phrase in a monospace font. Is there a way to do this in Mathematica without manually changing the font for the words I want in monospace?

$\endgroup$
7
$\begingroup$

It will depend on what style sheet you use. In the Default style sheet you can select the text and hit the Cmnd+9 (OS x — I think it's Alt+9 on Windows).

Here is an example.

text

$\endgroup$
  • $\begingroup$ are you sure it's monospaced? Difficult to tell, but the width of the 'S' looks bigger than the one of the 'i'!? $\endgroup$ – M. Stern Nov 19 '17 at 13:18
  • 1
    $\begingroup$ @M.Stern. Oops, Cmnd+9 or Alt+9. Sorry for the typos. $\endgroup$ – m_goldberg Nov 19 '17 at 17:11
  • $\begingroup$ Alt+9 worked on Linux $\endgroup$ – Matt G Nov 19 '17 at 23:12

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.