Fix layout changes in LaTeX class and example.