Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aa:macros:macros [2016/07/13 15:47]
pdmatei
aa:macros:macros [2016/10/05 16:47] (current)
pdmatei
Line 1: Line 1:
 {{## This is a macro for definitions ##}} {{## This is a macro for definitions ##}}
 {{$environment=**@0 (@1)**: <​blockquote>​$}} {{$environment=**@0 (@1)**: <​blockquote>​$}}
 +{{$justenvironment=**@0**:​ <​blockquote>​$}}
 {{$end=</​blockquote>​$}} ​ {{## Unique end, since all environments look the same ##}} {{$end=</​blockquote>​$}} ​ {{## Unique end, since all environments look the same ##}}
  
Line 6: Line 7:
 {{## These are macros for definitions and examples. More will follow ##}} {{## These are macros for definitions and examples. More will follow ##}}
  
 +{{$exercise=$environment[Exercise|@0]$}}
 {{$example=$environment[Example|@0]$}} {{$example=$environment[Example|@0]$}}
 {{$def=$environment[Definition|@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 ... ##}} {{## This is a macro for math mode, to avoid confusion in expressions of the form $text ... ##}}
 {{$math=$ @0$ $}} {{$math=$ @0$ $}}
 +
 +{{$symb=\Sigma$}}
 +
 +{{## This is a macro for algorithm writing. ##}}
 +{{$algorithm=$environment[Algorithm|@0]$}}
 +
 +{{$todo=<​color red>​Todo:​@0</​color>​$}}
 +