Functions and operators\Pr

\PrCommand

Used for the probability of an event

\Pr
Available in
base, physics
Kind
prefix
Allowed mode
math
Frequency
0.17% of corpus formulasrank 92 of 263
Commonality
high
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
physicsMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\Pr

Takes no arguments. In base. Reading argspecs

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

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

Examples#

base

\Pr(X = x)

base

\Pr_{x \sim P}

physics

\Pr A

physics

\Pr(A)

Package variants#

PackageSignatureAllowed modeNotes
basemathUsed for the probability of an event
physicsd<(,)><[,]><{,}>mathUsed for probability notation, often as \Pr A or \Pr(A).

In TeXForm#

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

Equivalent forms#

  • \operatorname*{Pr}exact

    Using amsmath

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\PrPositive · baselinePassPassPass
physics
InputCaseMathJaxKaTeXXeTeX
\PrPositive · baselinePassPassPass
\Pr (a)Positive · vary:d[0]PassPassPass
All 74 in Functions and operators