Added latex header to generated output