begin macros for stengraphic