Generic Mathematics Templates