Skip to content

Commit 453ec66

Browse files
committed
option to show page num in currentPage/totalPage
Signed-off-by: Shengjiang Quan <[email protected]>
1 parent da66124 commit 453ec66

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

awesome-cv.cls

+2
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
}
9393
% Solves issues Warning: File `cv.out' has changed
9494
\RequirePackage{bookmark}
95+
% Use \pageref{LastPage} to get the number of total pages
96+
\RequirePackage{lastpage}
9597

9698
%-------------------------------------------------------------------------------
9799
% Configuration for directory locations

examples/cv.tex

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
{\today}
9090
{Claud D. Park~~~·~~~Curriculum Vitae}
9191
{\thepage}
92+
% comment out the above line
93+
% and uncomment the following line to use
94+
% <currentPage>/<totalPage> page number
95+
% {\thepage/\pageref*{LastPage}}
9296

9397

9498
%-------------------------------------------------------------------------------

examples/resume.tex

+4
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@
8989
{\today}
9090
{Byungjin Park~~~·~~~Résumé}
9191
{\thepage}
92+
% comment out the above line
93+
% and uncomment the following line to use
94+
% <currentPage>/<totalPage> page number
95+
% {\thepage/\pageref*{LastPage}}
9296

9397

9498
%-------------------------------------------------------------------------------

0 commit comments

Comments
 (0)