LaTeX class and related things