Miscellaneous macros from Joachim Schrod
