Fonts and styles\it

\itCommand

Legacy math-mode declaration for switching subsequent symbols in the current group to math italic.

x \it y
Available in
base, textmacros
Kind
declarative
Allowed mode
math, text
Frequency
0.07% of corpus formulasrank 127 of 263
Commonality
medium
Tags
presentation, discouraged
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
textmacrosMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\it

Takes no arguments. Same argspec in base and textmacros. Reading argspecs

Examples#

base

{x \it y} z

textmacros

\text{\it x}

Package variants#

PackageSignatureAllowed modeNotes
basemathLegacy math-mode declaration for switching subsequent symbols in the current group to math italic.
textmacrostextLegacy declaration that switches following text to italic styling until the current group ends.

In TeXForm#

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

Equivalent forms#

  • \mathit{#1}approximate

    Prefix command alternative for math mode

  • \textit{...}approximate

    \textit is a command with arguments, whereas \it is declarative.

  • {\itshape ...}exact

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
{\it a}Positive · baselinePassPassPass
textmacros
InputCaseMathJaxKaTeXXeTeX
{\it a}Positive · baselinePassPassPass
All 80 in Fonts and styles