mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-12-24 13:33:33 +00:00
option to show page num in currentPage/totalPage
Signed-off-by: Shengjiang Quan <qsj287068067@126.com>
This commit is contained in:
parent
da661243bc
commit
acb8cfdd75
3 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -88,7 +92,7 @@
|
|||
\makecvfooter
|
||||
{\today}
|
||||
{Claud D. Park~~~·~~~Curriculum Vitae}
|
||||
{\thepage}
|
||||
{\iftoggle{showpagetotal}{\thepage/\pageref*{LastPage}}{\thepage}}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
|
|
|
@ -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
|
||||
|
@ -88,7 +92,7 @@
|
|||
\makecvfooter
|
||||
{\today}
|
||||
{Byungjin Park~~~·~~~Résumé}
|
||||
{\thepage}
|
||||
{\iftoggle{showpagetotal}{\thepage/\pageref*{LastPage}}{\thepage}}
|
||||
|
||||
|
||||
%-------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue