Skip to content

Instantly share code, notes, and snippets.

@Ddedalus
Created May 22, 2018 16:48
Show Gist options
  • Select an option

  • Save Ddedalus/80e6675fa0beb4c1a0eea08184a52854 to your computer and use it in GitHub Desktop.

Select an option

Save Ddedalus/80e6675fa0beb4c1a0eea08184a52854 to your computer and use it in GitHub Desktop.
Sets and probability theory operators - commands for LaTeX preamble
% define basic sets:
\newcommand{\R}{\mathbb{R}} % real numbers
\newcommand{\N}{\mathbb{N}} % natural numbers
\newcommand{\Z}{\mathbb{Z}} % integers etc.
\newcommand{\bb}{\mathbb} % blackboard font
%and probability operators
\newcommand{\Pb}[1]{\mathbb{P}(#1)}
\newcommand{\Ex}[1]{\mathbb{E}(#1)}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment