1) In the second page, it seems like the underline of heading goes to far right of the page. How can I fix so that it ends at the margin?
2) How can I have # of # pages in the first page, too? And the page number is not at the center of the foot. So how can I have it at the center?
Thank you.
J
Code: Select all
\let\nofiles\relax
\documentclass[11pt,margin,line]{resume}
\usepackage[usenames,dvipsnames]{color}
\usepackage[table]{xcolor}
\usepackage{fancyhdr}
\usepackage{lastpage}
%\usepackage[left=.75in,top=0.9in,right=1.75in,bottom=.75in]{geometry}
\topmargin=-0.5in %length of margin at the top of the page (1 inch added by default)
\oddsidemargin=-0.3in %length of margin on sides for odd pages
\evensidemargin=-0.5in %length of margin on sides for even pages
\textwidth=6in %How wide you want your text to be
%\bottommargin=0.5in
\marginparwidth=-22.5in
\headheight=20pt %1in margins at top and bottom (1 inch is added to this value by default)
\headsep=5pt %Increase to increase white space in between headers and the top of the page
\textheight=9.0in
\itemsep=0in
\parsep=0in
%\fancyhead{}
%\fancyfoot{}
%\fancyhf{}
\renewcommand{\headrulewidth}{0.1pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhfoffset{\sectionwidth}
\pagestyle{fancy}
\lhead{aa}
\rhead{Curriculum Vitae}
\cfoot{\thepage{}~of~\pageref{LastPage}}
%______________________________________________________________________________________________________________________
\begin{document}
\moveleft0.5\hoffset\centerline{\Large\bf aa}
\moveleft\hoffset\vbox{\hrule width \resumewidth height 0pt}%\smallskip
\begin{resume}
\thispagestyle{plain}
\cfoot{\thepage{}~of~\pageref{LastPage}}