LaTeX forum ⇒ Page LayoutHow to reduce the margins in ClassicThesis Template? Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

How to reduce the margins in ClassicThesis Template?

Postby Bakpapier » Tue Aug 22, 2017 1:35 pm

Hey guys, so currently my thesis looks like this. The margins are huge, and on alternating pages the left or the right margin is larger. These margins are meant to be this way in the classicthesis template, but my supervisor wants smaller margins. And preferably, not to have the margins alternate per page. Does anyone know how I can change something in the template so that I can reduce the margins at the left and right side of the text?

http://imgur.com/a/MUADU

All I found deep in the config file was this. Changing this around seems to have influence on the header and footer height, but not on the left and right margin width which is what I want. Look at the 'areaset' part. I thought that changing that up would solve it but it doesn't !

  1. % ********************************************************************
  2. % Textblock size
  3. %*******************************************************
  4. \@ifpackageloaded{typearea}%
  5. {\relax}{%
  6. \RequirePackage{typearea}%
  7. }
  8. \ifthenelse{\boolean{@a5paper}}%
  9. {% A5
  10. \ifthenelse{\boolean{@minionpro}}%
  11. {% Minion gets some extra sizes
  12. \PackageInfo{classicthesis}{A5 paper, MinionPro}%
  13. \areaset[current]{278pt}{556pt}%
  14. \setlength{\marginparwidth}{5em}%
  15. \setlength{\marginparsep}{1.25em}%
  16. }{% Palatino or other
  17. \PackageInfo{classicthesis}{A5 paper, Palatino or other}%
  18. \areaset[current]{288pt}{555pt}%
  19. \setlength{\marginparwidth}{4em}%
  20. \setlength{\marginparsep}{1.25em}%
  21. }%
  22. }{% A4
  23. \ifthenelse{\boolean{@minionpro}}%
  24. {% Minion gets some extra sizes
  25. \PackageInfo{classicthesis}{A4 paper, MinionPro}%
  26. \areaset[current]{312pt}{684pt}% 609 + 33 + 42 head \the\footskip
  27. \setlength{\marginparwidth}{7.5em}%
  28. \setlength{\marginparsep}{2em}%
  29. }{% Palatino or other
  30. \PackageInfo{classicthesis}{A4 paper, Palatino or other}
  31. \areaset[current]{336pt}{750pt} % ~ 336 * factor 2 + 33 head + 42 \the\footskip
  32. % \areaset{336pt}{761pt} % 686 (factor 2.2) + 33 head + 42 head \the\footskip 10pt
  33. \setlength{\marginparwidth}{7em}%
  34. \setlength{\marginparsep}{2em}%
  35. }%
  36. }
  37. % Here are some suggestions for the text widths and heights:
  38. % Palatino 10pt: 288--312pt | 609--657pt
  39. % Palatino 11pt: 312--336pt | 657--705pt
  40. % Palatino 12pt: 360--384pt | 768pt
  41. % Minion 10pt: 264--288pt | 561--609pt
  42. % Minion 11pt: 288--312pt | 609--657pt
  43. % Minion 12pt: 336pt | 672pt
  44. % Libertine 10pt:
  45. % Libertine 11pt:
  46. % Libertine 12pt:
  47. % kpfonts 10pt:
  48. % kpfonts 11pt:
  49. % kpfonts 12pt:


Could someone please help me out? I really like the template, it's just that the margins are over exagerrated and really need to be smaller.

I can post additional code or files if you want. I'm willing to donate something on paypal if you succesfully help me out because I am really at a loss here.

Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

Postby Bakpapier » Tue Aug 22, 2017 1:41 pm

I have tried to use the following package but it didnt work

\usepackage[left=1.5in,right=1in,top=1in,bottom=1in]{geometry}

Margins are still too big.

Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

Postby Bakpapier » Tue Aug 22, 2017 2:06 pm

\areaset[current]{\dimexpr\textwidth+\marginparwidth+\marginparsep}{\textheight}
\setlength{\marginparwidth}{0pt}
\setlength{\marginparsep}{0pt}

Using this also did not work (in the main document).

If I am going to switch to another template (god forbid), does anyone have a suggestion for a nice template for a thesis which does not have enormous margins?

User avatar
thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france

Postby thomasb » Tue Aug 22, 2017 2:22 pm

Lately, I use the fullpage package, but it doesn't answer your question (http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/contrib/preprint/fullpage.pdf) :
  1. \documentclass[a4paper,landscape]{article}
  2. \usepackage[options]{fullpage}

where possible options for fullpage are :
- in (default) sets the margins to one inch;
- cm sets the margins to 1.5 cm (one centimeter is really too little);
- plain (default) selects the plain page style, i.e., with no headers but only a footer;
- empty for neither headers nor footers;
- headings for both header and footers;
- myheadings also for both headers and footers.

Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

Postby Bakpapier » Tue Aug 22, 2017 2:49 pm

thomasb wrote:Lately, I use the fullpage package, but it doesn't answer your question (http://distrib-coffee.ipsl.jussieu.fr/pub/mirrors/ctan/macros/latex/contrib/preprint/fullpage.pdf) :
  1. \documentclass[a4paper,landscape]{article}
  2. \usepackage[options]{fullpage}

where possible options for fullpage are :
- in (default) sets the margins to one inch;
- cm sets the margins to 1.5 cm (one centimeter is really too little);
- plain (default) selects the plain page style, i.e., with no headers but only a footer;
- empty for neither headers nor footers;
- headings for both header and footers;
- myheadings also for both headers and footers.


It doesnt work sadly, but thank you for your help anyway.

User avatar
thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france

Postby thomasb » Tue Aug 22, 2017 3:02 pm

Try commenting the typearea package

Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

Postby Bakpapier » Tue Aug 22, 2017 3:08 pm

thomasb wrote:Try commenting the typearea package

Where can I find this?

User avatar
thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france

Postby thomasb » Tue Aug 22, 2017 3:15 pm

Your code starts with :
  1. \@ifpackageloaded{typearea}%

So there must be a
  1. \usepackage{typearea}
somewhere, comment this line :
  1. %\usepackage{typearea}

Bakpapier
Posts: 14
Joined: Tue Aug 22, 2017 1:12 pm

Postby Bakpapier » Tue Aug 22, 2017 3:18 pm

thomasb wrote:Your code starts with :
  1. \@ifpackageloaded{typearea}%

So there must be a
  1. \usepackage{typearea}
somewhere, comment this line :
  1. %\usepackage{typearea}

I understand it needs to be somewhere, but for the love of all that is holy I am unable to find it.

I will look more though.

User avatar
thomasb
Posts: 76
Joined: Thu Aug 03, 2017 10:54 am
Location: france

Postby thomasb » Tue Aug 22, 2017 3:20 pm

Use the "search string" function of your editor : Ctrl-F generally


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 5 guests