TopicsBoxes and text

Boxes and textTopic

Boxed formulas, text-mode inserts, and captions.

This topic has 21 commands from the base, textmacros, and ams packages. Commands show whether MathJax, KaTeX, and XeTeX render them. Entries are ordered by how often they appear in corpus formulas.

Entries
21 commands
Packages
base 20 · textmacros 9 · ams 1
Most used
\text 8.70%
Full support
MathJax 19/21 · KaTeX 15/21 · XeTeX 11/21

Entries#

NameDefinitionPackagesMathJaxKaTeXXeTeXFrequency
\textInserting words or short phrases into mathematical expressions.base, textmacrosMathJax: PartialKaTeX: FullXeTeX: None8.70%
\mboxBoxing short text fragments inside math expressions without line breaking.baseMathJax: FullKaTeX: NoneXeTeX: Full2.99%
\textrmRoman/upright text inside math expressions, especially in older LaTeX source.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full1.28%
\textbfBold text labels or emphasis inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.70%
\hboxLow-level boxing of short text fragments inside math expressions.baseMathJax: FullKaTeX: FullXeTeX: Partial0.41%
\textnormalResetting inserted text to the surrounding normal text style inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.32%
\textupExplicitly setting inserted text upright inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.32%
\textitItalic text labels or short annotations inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.13%
\textttMonospace or code-like text inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.08%
\textsfSans-serif text labels or identifiers inside math expressions.base, textmacrosMathJax: FullKaTeX: FullXeTeX: Full0.07%
\emphUsed in text mode to emphasize text, typically rendering as italicstextmacrosMathJax: NoneKaTeX: FullXeTeX: Full0.07%
\boxedHighlighting an important formula or final result by drawing a box around a math expression.ams, baseMathJax: FullKaTeX: FullXeTeX: Partial0.03%
\fboxUsed to draw a rectangular border (box) around mathematical or text content.baseMathJax: FullKaTeX: FullXeTeX: Full<0.01%
\parboxCreates a fixed-width paragraph box around content, with optional vertical alignment, for line-breaking or boxing short text/math material.baseMathJax: FullKaTeX: NoneXeTeX: Full<0.01%
\makeboxUsed to place content in a horizontal box with optional width and alignment, especially for layout/presentation control around short text or math fragments.baseMathJax: FullKaTeX: NoneXeTeX: Partial<0.01%
\vcenterUsed in plain-TeX style math constructions to place material in a vertically boxed container aligned to its center.baseMathJax: FullKaTeX: FullXeTeX: Partial<0.01%
\vboxUsed in plain-TeX style math constructions to place material in a vertically boxed container aligned to its bottom/baseline side.baseMathJax: FullKaTeX: NoneXeTeX: Partial<0.01%
\frameboxUsed to place text or math inside a framed box, optionally specifying the width and horizontal alignment.baseMathJax: FullKaTeX: NoneXeTeX: Partial<0.01%
\vtopUsed in plain-TeX style math constructions to place material in a vertically boxed container aligned to its top.baseMathJax: FullKaTeX: NoneXeTeX: Partial0%
\LaTeXUsed to typeset the LaTeX logo as a stylized wordmark inside mathematicsbaseMathJax: FullKaTeX: FullXeTeX: None—
\TeXUsed to typeset the TeX logo as a stylized wordmark inside mathematicsbaseMathJax: FullKaTeX: FullXeTeX: None—