Latex base class