I have download a thesis template from this link and I would like to vary the vertical space (as in attached image) above the title of chapters. What modifications should I make in Thesis.cls file in order to achieve the desired.

Thanksenter image description here

  • 1
    I would stay away from that template. It is outdated and very very bad. – Johannes_B Mar 12 '18 at 13:30
  • Also, using GitHub repis of random people is never a good idea. Check the website the template comes from for a new version (it is very easy to modify what you want with the new version), but honestly I would stay away from this as well. – Johannes_B Mar 12 '18 at 13:32
  • 3
    And by the way, you should never change a class file. – Johannes_B Mar 12 '18 at 13:39
  • Johannes_B : could you please suggest a better template to me – pkj Mar 12 '18 at 14:57
  • The newer version of the template. Or even better:en.m.wikibooks.org/wiki/LaTeX/Scientific_Reports – Johannes_B Mar 12 '18 at 15:12

With an up to date version of the template, you have the following default layout. Option showframe (of package geometry puts the lines on the page as visual help. The package also controls the page margins.


With \renewcommand{\abovechapterskip}{} you can control the space, in this case to have no spacing at all.


But honestly, i would use a minimal template instead. In that case, have a look at Control space above chapter and contents


It should be noted that the linked github repository stripped the license, which is CC BY-NC-SA 3.0 (http://creativecommons.org/licenses/by-nc-sa/3.0/). That is basically a violationn of trust.

Taking the template unmodified as it was at that time (v.1.4.3), the already linked solution works perfectly fine:


If one is careful about writing a thesis, one does a bit of research and finds the original place of the template, where it is updated and maintained. See the earlier answer.

Better even would be to use a minimal template.

One last word of advice: Stay away from the linked github repository. Since there is no Readme, and no license, that means you can look at the code, but don't use it. Which is to some extend license infringement.


The confusion may be caused by the previous pages however the abbreviations section actually uses the default template of the page (refer to the chapters themselves). Simply change the top margin on line 78:

\setmarginsrb  { 3.5cm}  % left margin
                    { 2.5cm}  % top margin
                    { 2.5cm}  % right margin
                    { 2.5cm}  % bottom margin
                    {  20pt}  % head height
                    {0.25in}  % head sep
                    {   9pt}  % foot height
                    { 0.3in}  % foot sep
  • One should never change a class file! – Johannes_B Mar 12 '18 at 13:40
  • @Liam, that did not solved my problem, i wanted to change the height of chapter title only – pkj Mar 12 '18 at 16:29

Not the answer you're looking for? Browse other questions tagged or ask your own question.