LaTeX macros for mathematics and physics