feat(resume): add proper latex page counter with total number of page
This commit is contained in:
parent
a141658846
commit
130bea5e67
3 changed files with 7 additions and 2 deletions
|
@ -103,4 +103,5 @@ alternate:
|
|||
locales:
|
||||
choose: "Choose your language:"
|
||||
|
||||
page-counter: "Page %s of %s"
|
||||
|
||||
|
|
|
@ -101,3 +101,5 @@ alternate:
|
|||
locales:
|
||||
choose: "Choisissez votre langue : "
|
||||
|
||||
page-counter: "Page %s de %s"
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
\usepackage[inkscapepath=./build/latex/inkscape-svg]{svg}
|
||||
\usepackage{verbatimbox}
|
||||
\usepackage{stackengine}
|
||||
\usepackage{lastpage}
|
||||
|
||||
\newcommand\svgsize{10pt}
|
||||
|
||||
|
@ -39,7 +40,7 @@
|
|||
\fancyfoot{}
|
||||
\fancyfoot[L]{(( misc.updated_at | format_date(locale=getLocale()) ))}
|
||||
\fancyfoot[C]{(% if anno %)CV annonyme(% else %)(( firstName )) (( lastName )) - CV(% endif %)}
|
||||
\fancyfoot[R]{\thepage}
|
||||
\fancyfoot[R]{(( getLocalizedStr("page-counter")|format("\\thepage{}", "\\pageref*{LastPage}")|raw ))}
|
||||
|
||||
\newcommand\link[2]{\color{linkcolor}\href{#1}{#2}\color{Black} }
|
||||
|
||||
|
@ -218,6 +219,8 @@
|
|||
(% endfor %)
|
||||
\end{longtable}
|
||||
|
||||
\pagebreak
|
||||
|
||||
% Section: Volunteering experiences
|
||||
\sectionTitle{(( getLocalizedStr('projects.volunteering.title') ))}
|
||||
\begin{longtable}{R{\leftcolumn}|E}
|
||||
|
@ -233,7 +236,6 @@
|
|||
|
||||
|
||||
\vspace{1em}
|
||||
\pagebreak
|
||||
|
||||
% Section: Education
|
||||
\sectionTitle{(( getLocalizedStr('education.title') ))}
|
||||
|
|
Loading…
Reference in a new issue