clickable licence

This commit is contained in:
Adrian Amaglio 2021-09-30 09:28:02 +02:00
parent 3eec8e7431
commit 60146914b1

View File

@ -131,8 +131,8 @@ breaklinks=true,
% --- Register some information about the document % --- Register some information about the document
% --- % ---
% TODO clickable licence
\newcommand{\thelicence}{\includegraphics[height=\baselineskip]{../../licences/cc-by-sa.png}} \newcommand{\thelicence}{\includegraphics[height=\baselineskip]{../../licences/cc-by-sa.png}}
\newcommand{\thelicencelink}{https://creativecommons.org}
\newcommand{\thelevel}{SNT} \newcommand{\thelevel}{SNT}
\newcommand{\thesequence}{Séquence 0} \newcommand{\thesequence}{Séquence 0}
@ -169,7 +169,7 @@ breaklinks=true,
\usepackage{lastpage} \usepackage{lastpage}
\renewcommand{\footrulewidth}{0.4pt}% default hline is 0pt \renewcommand{\footrulewidth}{0.4pt}% default hline is 0pt
\lfoot{\thelicence~\theauthor} \lfoot{\href{\thelicencelink}{\thelicence} \theauthor}
\cfoot{} \cfoot{}
\rfoot{\thepage \,/ \pageref{LastPage}} \rfoot{\thepage \,/ \pageref{LastPage}}