Template base for ScalTeX.