Programming in LaTeX2e