edited doc to handle older LaTeX versions