textcomp
The textcomp extension implements the old textcomp
style package from
LaTeX. The macros of the package are now part of LaTeX’s base package. The
textcomp extension provides a number of text macros that can be used in math
mode as well. See the CTAN page for
more information and documentation of textcomp.
This package is not autoloaded, so you must request it explicitly if you want to
use it. To load the textcomp extension, add '[tex]/textcomp'
to the
load
array of the loader
block of your MathJax configuration, and add
'textcomp'
to the packages
array of the tex
block. The macros
provided in textcomp can be used equally in math and text mode. In order to
make them available in text mode they have to be explicitly added to the
packages of the textmacros extension.
window.MathJax = {
loader: {load: ['[tex]/textmacros', '[tex]/textcomp']},
tex: {packages: {'[+]': ['textmacros']}}
textmacros: {packages: {'[+]': ['textcomp']}}
};
Alternatively, use \require{textcomp}
in a TeX expression to load it
dynamically from within the math on the page, if the require
extension is loaded.
textcomp Commands
The textcomp extension implements the following macros:
\textacutedbl
, \textasciiacute
, \textasciibreve
, \textasciicaron
, \textasciicircum
, \textasciidieresis
, \textasciimacron
, \textasciitilde
, \textasteriskcentered
, \textbackslash
, \textbaht
, \textbar
, \textbardbl
, \textbigcircle
, \textblank
, \textborn
, \textbraceleft
, \textbraceright
, \textbrokenbar
, \textbullet
, \textcelsius
, \textcent
, \textcentoldstyle
, \textcircledP
, \textcolonmonetary
, \textcompwordmark
, \textcopyleft
, \textcopyright
, \textcurrency
, \textdagger
, \textdaggerdbl
, \textdegree
, \textdied
, \textdiscount
, \textdiv
, \textdivorced
, \textdollar
, \textdollaroldstyle
, \textdong
, \textdownarrow
, \texteightoldstyle
, \textellipsis
, \textemdash
, \textendash
, \textestimated
, \texteuro
, \textexclamdown
, \textfiveoldstyle
, \textflorin
, \textfouroldstyle
, \textfractionsolidus
, \textgravedbl
, \textgreater
, \textguarani
, \textinterrobang
, \textinterrobangdown
, \textlangle
, \textlbrackdbl
, \textleftarrow
, \textless
, \textlira
, \textlnot
, \textlquill
, \textmarried
, \textmho
, \textminus
, \textmu
, \textmusicalnote
, \textnaira
, \textnineoldstyle
, \textnumero
, \textohm
, \textonehalf
, \textoneoldstyle
, \textonequarter
, \textonesuperior
, \textopenbullet
, \textordfeminine
, \textordmasculine
, \textparagraph
, \textperiodcentered
, \textpertenthousand
, \textperthousand
, \textpeso
, \textpm
, \textquestiondown
, \textquotedblleft
, \textquotedblright
, \textquoteleft
, \textquoteright
, \textrangle
, \textrbrackdbl
, \textrecipe
, \textreferencemark
, \textregistered
, \textrightarrow
, \textrquill
, \textsection
, \textservicemark
, \textsevenoldstyle
, \textsixoldstyle
, \textsterling
, \textsurd
, \textthreeoldstyle
, \textthreequarters
, \textthreesuperior
, \texttildelow
, \texttimes
, \texttrademark
, \texttwooldstyle
, \texttwosuperior
, \textunderscore
, \textuparrow
, \textvisiblespace
, \textwon
, \textyen
, \textzerooldstyle