{{## This is a macro for definitions ##}} {{$environment=**@0 (@1)**:
$}} {{$justenvironment=**@0**:
$}} {{$end=
$}} {{## Unique end, since all environments look the same ##}} {{## These are macros for definitions and examples. More will follow ##}} {{$exercise=$environment[Exercise|@0]$}} {{$example=$environment[Example|@0]$}} {{$def=$environment[Definition|@0]$}} {{$remark=$environment[Remark|@0]$}} {{$prop=$environment[Proposition|@0]$}} {{$justprop=$justenvironment[Proposition]$}} {{$proof=$justenvironment[Proof]$}} {{## This is a macro for math mode, to avoid confusion in expressions of the form $text ... ##}} {{$math=$ @0$ $}} {{$symb=\Sigma$}} {{## This is a macro for algorithm writing. ##}} {{$algorithm=$environment[Algorithm|@0]$}} {{$todo=Todo:@0$}}