5

I am trying to change the pagewidth and pagelength of a moderncv type CV that can be found here (http://www.ctan.org/tex-archive/macros/latex/contrib/moderncv) by changing the values inside inside moderncv.cls:

\DeclareOption{a4paper}{
  \setlength\paperheight{607mm}
  \setlength\paperwidth{210mm}}

But, nothing really changes when I alter the values. Any ideas?

1
  • 2
    I am pretty sure, you mean moderncv.cls. Anyways, it is not a good idea to patch released classes. Your options are to create a new class with a new name or just put the length declarations into your preamble.
    – Ruben
    Oct 10, 2013 at 20:16

1 Answer 1

7

Don't. As the moderncv examples load geometry, so should you, and change the settings using the package interface:

\usepackage{geometry}% http://ctan.org/pkg/geometry
\geometry{paperwidth=210mm,paperheight=607mm}
0

You must log in to answer this question.

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