diff --git a/rendercv/templates/classic/classic.tex.j2 b/rendercv/templates/classic/classic.tex.j2 index 9ad5c21..33485ee 100644 --- a/rendercv/templates/classic/classic.tex.j2 +++ b/rendercv/templates/classic/classic.tex.j2 @@ -11,7 +11,8 @@ bottom=<>, % seperation between body and page edge from the bottom left=<>, % seperation between body and page edge from the left right=<>, % seperation between body and page edge from the right - % showframe % for debugging + footskip=<>, % seperation between body and footer + % showframe % for debugging ]{geometry} % for adjusting page geometry \usepackage{fontspec} % for loading fonts \usepackage[explicit]{titlesec} % for customizing section titles @@ -29,14 +30,22 @@ ]{hyperref} % for links, metadata and bookmarks \usepackage[pscoord]{eso-pic} % for floating text on the page \usepackage{calc} % for calculating lengths +\usepackage{bookmark} % for bookmarks +\usepackage{lastpage} % for getting the total number of pages % Some settings: \pagestyle{empty} % no header or footer \setcounter{secnumdepth}{0} % no section numbering \setlength{\parindent}{0pt} % no indentation \setlength{\topskip}{0pt} % no top skip -\pagenumbering{gobble} % no page numbering - +((# \pagenumbering{gobble} % no page numbering #)) +\makeatletter +\let\ps@customFooterStyle\ps@plain % Copy the plain style to customFooterStyle +\patchcmd{\ps@customFooterStyle}{\thepage}{ + \color{gray}\textit{<> | Page \thepage{} of \pageref*{LastPage}} +}{}{} % replace number by desired string +\makeatother +\pagestyle{customFooterStyle} \setmainfont{<>}[ Path= fonts/, @@ -105,7 +114,7 @@ \LenToUnit{\paperwidth-<>-<>+0.05cm}, \LenToUnit{\paperheight-<>} ){\vtop{{\null}\makebox[0pt][c]{ - \small\color{gray}\emph{Last updated on <>}\hspace{\widthof{Last updated on <>}} + \small\color{gray}\textit{Last updated on <>}\hspace{\widthof{Last updated on <>}} }}}% }% }%