Experimental implementation of a keyboard macro to create inline formulas.