Template:ProbMacro

From Maths
Revision as of 16:34, 3 November 2017 by Alec (Talk | contribs) (Saving first version)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

\newcommand{\PP}[1]{ {\mathbb{P}\left[{#1}\right]} }

Description

  • Prototype created: 3rd Nov 2017
  • Purpose: to be included and uniformly provide a short cut to typing \mathbb{P}\left[(whatever)\right] every time

Tasks


TODO: Remove this when there are none left


  • Support variations, for example to underbrace things without the brackets becoming huge
  • Support things like \mathbb{P}'[A] or \overline{\mathbb{P} }[A]

Tests

  • \PP{A}