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.
-
1I 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
-
3And 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:https://en.m.wikibooks.org/wiki/LaTeX/Scientific_Reports – Johannes_B Mar 12 '18 at 15:12
-
Is there any news here? Was my answer helpful? Maybe did it even answer your question? If yes, you can hit the checkmark icon. – Johannes_B Mar 25 '18 at 08:23
-
hello Johannes, you have suggested a good template but you have not answered this specific question. I would prefer to wait, thanks. – pkj Mar 25 '18 at 14:25
-
With the template you are (probably) using right now, the solution is in the link at the very bottom. – Johannes_B Mar 25 '18 at 14:36
-
The file you are linking to (noticed the link just now) is hopefully not the file you are really using. You should not use it. Not only is it old, is was modified and is no longer the template, so it is unsupported. And pretty much a copyright violation, if somebody would care. – Johannes_B Mar 26 '18 at 13:14
-
In other words, what you downloaded is not a template. What you are looking for is mentioned in my answer. – Johannes_B Mar 26 '18 at 13:16
3 Answers
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
- 24,235
- 10
- 93
- 248
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:
\usepackage{etoolbox}
\makeatletter
\patchcmd{\@makechapterhead}{50\p@}{0pt}{}{}
\patchcmd{\@makeschapterhead}{50\p@}{0pt}{}{}
\makeatother
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.
- 24,235
- 10
- 93
- 248
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:
%---------------------------------------------------------------------
% MARGINS
%---------------------------------------------------------------------
\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
- 36
-
-
@Liam, that did not solved my problem, i wanted to change the height of chapter title only – pkj Mar 12 '18 at 16:29


