Physics: quantities\evaluated

\evaluatedCommand

Marks evaluation of an expression at bounds, especially in calculus or physics notation such as applying |_a^b to an antiderivative or intermediate result.

\evaluated_0^1
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#

\evaluateds*stard<(,|><[,|><{,}>(a|optional math content

Argspec s d<(,|><[,|><{,}> — two optional arguments. Reading argspecs

Examples#

\evaluated*{x}_0^1
\evaluated(y|_0^1
\evaluated*[z|_0^1

In TeXForm#

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

Expands to#

\evaluated{#1} \left.#1\vphantom{\int}\right|

The source also rewrites the bare form to \left.\vphantom{\int}\right|, and the starred braced form uses \smash{#1}. The ( ... | and [ ... | forms are handled via an auto-open stack item rather than string replacement.

physics/evaluated-to-evalfrom Authoringrender

Collapse evaluated to the shorter eval helper before eval expansion.

\evaluated{#1}#2 \eval{#1}#2

Equivalent forms#

  • \eval{#1}exact

    Alias from the same physics command map; the same bare, starred, braced, and ( ... | / [ ... | forms apply after replacing the command name.

See also#

Test cases#

physics
InputCaseMathJaxKaTeXXeTeX
\evaluatedPositive · baselinePassFailPass
\evaluated*Positive · vary:s[0]PassFailPass
\evaluated (a|Positive · vary:d[1]PassFailPass
\evaluated*(a|Positive · maximalPassFailPass
All 28 in Physics: quantities