Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show page num of CV and resume in currentPage/totalPage style #482

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions awesome-cv.cls
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
}
% Solves issues Warning: File `cv.out' has changed
\RequirePackage{bookmark}
% Use \pageref{LastPage} to get the number of total pages
\RequirePackage{lastpage}

%-------------------------------------------------------------------------------
% Configuration for directory locations
Expand Down
6 changes: 5 additions & 1 deletion examples/cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
% If you would like to change the social information separator from a pipe (|) to something else
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}

\newtoggle{showpagetotal}
% toggle the boolean flag if you would like to use <currentPage>/<totalPage> page number
% \toggletrue{showpagetotal}% Need to compile twice
\togglefalse{showpagetotal}

%-------------------------------------------------------------------------------
% PERSONAL INFORMATION
Expand Down Expand Up @@ -88,7 +92,7 @@
\makecvfooter
{\today}
{Claud D. Park~~~·~~~Curriculum Vitae}
{\thepage}
{\iftoggle{showpagetotal}{\thepage/\pageref*{LastPage}}{\thepage}}


%-------------------------------------------------------------------------------
Expand Down
6 changes: 5 additions & 1 deletion examples/resume.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@
% If you would like to change the social information separator from a pipe (|) to something else
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}

\newtoggle{showpagetotal}
% toggle the boolean flag if you would like to use <currentPage>/<totalPage> page number
% \toggletrue{showpagetotal}% Need to compile twice
\togglefalse{showpagetotal}

%-------------------------------------------------------------------------------
% PERSONAL INFORMATION
Expand Down Expand Up @@ -88,7 +92,7 @@
\makecvfooter
{\today}
{Byungjin Park~~~·~~~Résumé}
{\thepage}
{\iftoggle{showpagetotal}{\thepage/\pageref*{LastPage}}{\thepage}}


%-------------------------------------------------------------------------------
Expand Down