[Tex/LaTex] Changing the height, width of moderncv type resume

cvgeometrymoderncv

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?

Best Answer

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}
Related Question