Fonts and styles\mathtt

\mathttCommand

Used for monospace mathematical symbols, such as code-like identifiers or fixed-width notation.

\mathtt x
Available in
base
Kind
prefix
Allowed mode
math
Frequency
0.13% of corpus formulasrank 101 of 263
Commonality
medium
Tags
presentation
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\mathttm{a}math content

Argspec m — one mandatory argument. Reading argspecs

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

Equivalent forms#

  • \symtt{#1}exact

    MathJax's unicode-math-style alias uses the same variant.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\mathtt{a}Positive · baselinePassPassPass
\mathtt aPositive · bare[0]PassPassPass
All 80 in Fonts and styles