Fonts and styles\symtt

\symttCommand

Used for monospace mathematical symbols, such as code-like identifiers or fixed-width notation, with unicode-math style command naming.

\symtt x
Available in
base
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
low
Tags
presentation
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: NoneXeTeX: None
About the test scope

Syntax#

\symttm{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#

  • \mathtt{#1}exact

    MathJax maps both commands to the same monospace variant.

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\symtt{a}Positive · baselinePassFailFail
\symtt aPositive · bare[0]PassFailFail
All 80 in Fonts and styles