add snap equation/cleanup latex