I successfully changed the paper size from A4 to B5 of the Thesis template downloaded from http://www.latextemplates.com/template/masters-doctoral-thesis
I modified the main.tex
file by setting twoside
and adding the following lines:
\usepackage{calc}
\usepackage[dvips=false,pdftex=false,vtex=false,b5paper]{geometry}
\geometry{bindingoffset=5mm}
\usepackage[cam,b5,center,pdftex]{crop}
The margins are set in the Thesis.cls
file at line 74. The default values for A4 paper are:
\setmarginsrb { 1.5in} % left margin
{ 0.6in} % top margin
{ 1.0in} % right margin
{ 0.8in} % bottom margin
{ 20pt} % head height
{0.25in} % head sep
{ 9pt} % foot height
{ 0.3in} % foot sep
which have been modified to:
\setmarginsrb {4.7cm} %leftmargin
{3.4cm} %topmargin
{3.4cm} %rightmargin
{3.4cm} %bottommargin
{15pt} % head height
{0.15in} % head sep
{9pt} % foot height
{0.3in} % foot sep
These settings produced a page layout like the following. The questions are:
- What are the correct margins for the B5 paper size? My University does not provide any information.
- With the settings I made in the
main.tex
andThesis.cls
, it seems I can change only left and right margin, because nothing seems to change by modifying the other parameters. Did I mess up with the code?
vmargin
andgeometry
packages are not compatible. Moreover,vmargin
is not compatible withcrop
, as far as I know.