Some useful LaTeX macros for writing mathematics