Add comment about purpose of \pdfstringdefDisableCommands

This commit is contained in:
Benjamin Loison 2024-06-10 15:36:23 +02:00
parent 115bab4b4c
commit c8aecbcd2d
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -1,5 +1,15 @@
\documentclass{beamer}
% Only show at bottom right the current page number over the total number of pages.
\setbeamertemplate{navigation symbols}
{
\usebeamerfont{footline}
\usebeamercolor[fg]{footline}
\hspace{1em}
\insertframenumber/\inserttotalframenumber
}
% To avoid warning `Token not allowed in a PDF string (Unicode):(hyperref) removing `\\'`
\pdfstringdefDisableCommands{%
\def\\{}%
}