Add cls reference to LaTeX templates.