fix figure snippet
add eqn array
matrix env
add env
shortcut to reference