[Tex/LaTex] Changing the size of this latex CV template from A4 to letter size

geometrypaper-sizetemplates

I have downloaded this CV template from LatexTemplates:

It uses a very very old library called res.cls which can be found here.

The problem is that the size of this PDF is A4 and not letter size. I tried to change the following line :

\documentclass[margin, 10pt]{res} % added lettersize but no effect

also I tried to use the geometry package by adding:

\makeatletter
\def\@classoptionslist{<class options except `margin` OR empty>}
\makeatother
\documentclass[margin, 11pt]{res}
\usepackage[letterpaper]{geometry}
\usepackage{anysize}
\marginsize{1in}{0.6in}{0.55in}{0.10in}

but I think due to this line:

\setlength{\textwidth}{5.1in} % Text width of the document

the package does not work properly.

I know I should probably not use this because of using the old res.cls library but at this point this is the one template that works for me. The only problem is that it changes the size to A4 and not letter size pages.

Can someone suggest a solution to resolve this issue?
thanks

resume

%----------------------------------------------------------------------------------------
%   PACKAGES AND OTHER DOCUMENT CONFIGURATIONS
%----------------------------------------------------------------------------------------

\makeatletter
\def\@classoptionslist{<class options except `margin` OR empty>}
\makeatother
\documentclass[margin, 11pt]{res}
\usepackage[letterpaper]{geometry}
\usepackage{anysize}
\marginsize{1in}{0.6in}{0.55in}{0.10in}

\usepackage{helvet} % Default font is the helvetica postscript font
%\usepackage{newcent} % To change the default font to the new century schoolbook postscript font uncomment this line and comment the one above

\setlength{\textwidth}{5.1in} % Text width of the document

\begin{document}

%----------------------------------------------------------------------------------------
%   NAME AND ADDRESS SECTION
%----------------------------------------------------------------------------------------

\moveleft.5\hoffset\centerline{\large\bf John Smith} % Your name at the top

\moveleft\hoffset\vbox{\hrule width\resumewidth height 1pt}\smallskip % Horizontal line after name; adjust line thickness by changing the '1pt'

\moveleft.5\hoffset\centerline{123 Broadway} % Your address
\moveleft.5\hoffset\centerline{City, State 12345}
\moveleft.5\hoffset\centerline{(000) 111-1111 or (111) 111-1112}

%----------------------------------------------------------------------------------------

\begin{resume}

%----------------------------------------------------------------------------------------
%   OBJECTIVE SECTION
%----------------------------------------------------------------------------------------

\section{OBJECTIVE}  

A position in the field of computers with special interests in business applications programming, information processing, and management systems. 


\end{resume}
\end{document}

Best Answer

The res class is a LaTeX2.09 style that was ported to LaTeX2e. It is outdated. The same goes for package anysize.

If you still want to use res, remove package anysize and set the margins with package geometry.

I won't repeat any of the code you code, since it is badly outdated. Please consider to move to a more modern class. CTAN list a couple of CV classes, commonly used are moderncv, komacv and europecv.