add eqn, remove blank lines before/after equation