[Tex/LaTex] How to write a LaTeX class file for the thesis


I want to design a new LaTeX for my college thesis, so that all students could use it. I have decent understanding of how LaTeX works.

I am looking for some nice article explaining how to write a LaTeX class file. Whether it would be nice to modify an existing one or start from the scratch?

Best Answer

The first question you need to answer before you embark on such an endeavour is the raison d'ĂȘtre for writing a new class. In many cases a small package might be a better idea.

I would start from using and understanding an existing class such as classicthesis, make a list of the changes that you want and then fork it into something new.

My suggestion is to target any new thesis class for XeLaTeX to get more freedom for fonts and utf-8 encoding.

A good source of information on the technicalities of writing a class is Reference guide to begin writing a class and/or a package.