mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-22 05:58: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
|
% Solves issues Warning: File `cv.out' has changed
|
||||||
\RequirePackage{bookmark}
|
\RequirePackage{bookmark}
|
||||||
|
% Use \pageref{LastPage} to get the number of total pages
|
||||||
|
\RequirePackage{lastpage}
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
% Configuration for directory locations
|
% Configuration for directory locations
|
||||||
|
|
|
@ -44,6 +44,10 @@
|
||||||
% If you would like to change the social information separator from a pipe (|) to something else
|
% If you would like to change the social information separator from a pipe (|) to something else
|
||||||
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
|
\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
|
% PERSONAL INFORMATION
|
||||||
|
@ -88,7 +92,7 @@
|
||||||
\makecvfooter
|
\makecvfooter
|
||||||
{\today}
|
{\today}
|
||||||
{Claud D. Park~~~·~~~Curriculum Vitae}
|
{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
|
% If you would like to change the social information separator from a pipe (|) to something else
|
||||||
\renewcommand{\acvHeaderSocialSep}{\quad\textbar\quad}
|
\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
|
% PERSONAL INFORMATION
|
||||||
|
@ -88,7 +92,7 @@
|
||||||
\makecvfooter
|
\makecvfooter
|
||||||
{\today}
|
{\today}
|
||||||
{Byungjin Park~~~·~~~Résumé}
|
{Byungjin Park~~~·~~~Résumé}
|
||||||
{\thepage}
|
{\iftoggle{showpagetotal}{\thepage/\pageref*{LastPage}}{\thepage}}
|
||||||
|
|
||||||
|
|
||||||
%-------------------------------------------------------------------------------
|
%-------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue