Add syntax highlighting and remove latex remaining errors