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/12 18:15]
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 ##}}
-{{$def=**Definition (@0)**: ​\\ //$}} +{{$environment=**@0 (@1)**: <​blockquote>​$}} 
-{{$enddef=//\\$}}+{{$justenvironment=**@0**: <​blockquote>​$}} 
 +{{$end=</blockquote>​$}} ​ {{## 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=<​color red>​Todo:​@0</​color>​$}}