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:23]
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)**: ​\\ //$}} +{{$environment=**@0 (@1)**: ​<​blockquote>​$}} 
-{{$endendvironment=//\\$}}+{{$justenvironment=**@0**: <​blockquote>​$}} 
 +{{$end=</blockquote>​$}}  {{## Unique end, since all environments look the same ##}}
  
-{{$example=**$environment[Example] (@0)**: \\ //$}} 
-{{$endexample=//​\\$}} 
  
-{{## This is a macro for definitions ##}} +{{## These are macros ​for definitions ​and examples. More will follow ​##}} 
-{{$def=**Definition ​(@0)**: \\ //$}} + 
-{{$enddef=//\\$}}+{{$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 ... ##}} {{## 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>​$}}
 +