Physics: annotations\qq

\qqCommand

Inserts custom inline text between math expressions using the physics package's quick-quad spacing helpers.

\qq{if}
Available in
physics
Kind
prefix
Allowed mode
math
Frequency
Not measured
Commonality
low
Renderer support
PackageMathJaxKaTeXXeTeX
physicsMathJax: FullKaTeX: NoneXeTeX: Full
About the test scope

Syntax#

\qqs*starm:T{a}text content

Argspec s m:T — one optional and one mandatory argument. Reading argspecs

Examples#

\qq*{if}

In TeXForm#

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

Expands to#

\qq{#1} \quad\text{#1}\quad

If the command is starred, the initial \quad is omitted, yielding \text{#1}\quad .

Equivalent forms#

  • \qq{#1} ≈ \quad\text{#1}\quadexact
  • \qq*{#1} ≈ \text{#1}\quadexact

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\qq{a}Positive · baselinePassFailPass
\qq*{a}Positive · vary:s[0]PassFailPass
\qq aPositive · bare[1]PassFailPass
\qq{a^2}Negative · neg:T[1]PassFailFail
All 24 in Physics: annotations