Physics: functions\Tr

\TrCommand

Used for matrix trace notation in the capitalized form, as in \Tr A or \Tr(A).

\Tr A
Available in
physics
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
medium
Renderer support
PackageMathJaxKaTeXXeTeX
physicsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\Trd<(,)><[,]><{,}>(a)optional math content

Argspec d<(,)><[,]><{,}> — one optional argument. Reading argspecs

Examples#

\Tr(A)

In TeXForm#

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

Rewrite physics-only named functions to operatorname and expand their auto-sized arguments.

\asin \operatorname{asin}

Equivalent forms#

  • \Trace Aexact

    PhysicsMappings maps \Trace to the same parse method with id='Tr', so both forms produce the same operator name and syntax.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\TrPositive · baselinePassFailPass
\Tr (a)Positive · vary:d[0]PassFailPass
All 17 in Physics: functions