A latex document class for writing PhD thesis