[bootlin/training-materials updates] master: slides: add provision for an "Extra section" in appendix (d36e4baf)

Luca Ceresoli luca.ceresoli at bootlin.com
Tue Feb 7 10:02:20 CET 2023


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/d36e4baf4060ddf96a4e510b8ba4077d249c3ce2

>---------------------------------------------------------------

commit d36e4baf4060ddf96a4e510b8ba4077d249c3ce2
Author: Luca Ceresoli <luca.ceresoli at bootlin.com>
Date:   Tue Feb 7 10:02:20 2023 +0100

    slides: add provision for an "Extra section" in appendix
    
    For the sysdev training we want to create an "Extra slides" section as an
    appendix. To avoid them to be counted in the total slide number, use the
    appendixnumberbeamer package and the needed commands at the end of
    last-slides. These changes have no effect unless any tex file is added
    after last-slides.
    
    Signed-off-by: Luca Ceresoli <luca.ceresoli at bootlin.com>


>---------------------------------------------------------------

d36e4baf4060ddf96a4e510b8ba4077d249c3ce2
 common/slide-header.tex            | 1 +
 slides/last-slides/last-slides.tex | 7 +++++++
 2 files changed, 8 insertions(+)

diff --git a/common/slide-header.tex b/common/slide-header.tex
index 23d92aed..9e5c3098 100644
--- a/common/slide-header.tex
+++ b/common/slide-header.tex
@@ -8,6 +8,7 @@
 \usepackage{eurosym}
 \usepackage{tabularx}
 \usepackage{stmaryrd}
+\usepackage{appendixnumberbeamer}
 
 \renewcommand{\thempfootnote}{\arabic{mpfootnote}}
 
diff --git a/slides/last-slides/last-slides.tex b/slides/last-slides/last-slides.tex
index 7aa760c3..741aafe4 100644
--- a/slides/last-slides/last-slides.tex
+++ b/slides/last-slides/last-slides.tex
@@ -67,3 +67,10 @@
     {\bf Document sources:}
     \url{https://github.com/bootlin/training-materials/} \\
 \end{frame}
+
+% The following lines are useful in case an "Extra slides" section is
+% added. They do nothing otherwise.
+\clearpage
+\pagenumbering{arabic}% resets `page` counter to 1
+\renewcommand*{\thepage}{A\arabic{page}}
+\appendix




More information about the training-materials-updates mailing list