1

I am using a template for my PhD thesis, but I have a problem with margins. The default is a4paper, but I want put it on b5 size.

% Set up the document:
\documentclass[a4paper, 12pt, twoside, openright]{Thesis}  % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn

I changed "a4paper" by "b5paper" but it doesn't work. I also changed the margins in the .cls file but it doesn't work either. How can I fix this problem?

Thanks in advance!

I am using a thesis template downloaded from shareLatex available at: https://es.sharelatex.com/templates/thesis/easy-thesis

I tried to print the a4paper and printed in as b5, but i have problems with the resolution of the figures. Thus, I prefer change the size direclty in Latex.

3
  • 2
    Welcome to TeX.SE. There must be dozens, if not hundreds (or even thousands?) of LaTeX document classes called Thesis.cls on the Internet. Which one would you happen to be using? Is it available online? The reason I ask these questions is that an adequate answer to your query will probably depend importantly on the document class you use.
    – Mico
    Commented May 6, 2017 at 18:26
  • Welcome, I have bad news for you. The template is very very bad. If you want, you can read a bit about the history of the tempate (you can also find a link to an improved version there).
    – Johannes_B
    Commented May 6, 2017 at 20:24
  • @Johannes_B, I usually save my analysis of "bad" "templates" for Brazilian university templates... I've seen worse.
    – user9424
    Commented May 6, 2017 at 21:26

1 Answer 1

4

Just pass the option to the class:

\documentclass[b5paper]{Thesis} 

But be sure to remove all these lines from Thesis.cls:

\PassOptionsToClass{a4paper}{\baseclass}

\usepackage{vmargin}
\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
4
  • 1
    Usually changing a class file is prohibited for reasons of license and copyright. In this case, you are told to change a copyrighted file. The dirty deed is done already. No harm in creating yet another file that is called Thesis.cls. Joseph, it is not your mistake, and it is not your mistake Rose.
    – Johannes_B
    Commented May 6, 2017 at 20:32
  • But i would rather drop that template and start with a minimal template.
    – Johannes_B
    Commented May 6, 2017 at 20:33
  • @Johannes_B, I agree, I'd rather drop that template, too... but since the user asked, I presumed he "had" to use it, for some reason... None of the .cls files claimed any copyright, so I didn't bother looking around.
    – user9424
    Commented May 6, 2017 at 21:25
  • Sunil removed the copyright note. :-(
    – Johannes_B
    Commented May 6, 2017 at 21:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .