[bootlin/training-materials updates] master: common/slides: define a \trainingtitle variable and use it (f13cd80f)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Tue Apr 26 18:24:07 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/f13cd80f128914846348c74339a7b839f558e408
>---------------------------------------------------------------
commit f13cd80f128914846348c74339a7b839f558e408
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Tue Apr 26 18:24:07 2022 +0200
common/slides: define a \trainingtitle variable and use it
For now, just the \titleframe command uses it.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
f13cd80f128914846348c74339a7b839f558e408
common/autotools-title.tex | 3 +--
common/beamerthemeBootlin.sty | 6 +++---
common/boot-time-title.tex | 4 +---
common/buildroot-stm32-title.tex | 3 +--
common/buildroot-title.tex | 3 +--
common/embedded-linux-title.tex | 3 +--
common/graphics-title.tex | 3 +--
common/linux-kernel-title.tex | 3 +--
common/preempt-rt-title.tex | 3 +--
common/yocto-stm32-title.tex | 3 +--
common/yocto-title.tex | 3 +--
slides/first-slides/first-slides.tex | 2 ++
12 files changed, 15 insertions(+), 24 deletions(-)
diff --git a/common/autotools-title.tex b/common/autotools-title.tex
index 531fe633..aed91703 100644
--- a/common/autotools-title.tex
+++ b/common/autotools-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/autotools}
-
-\titleframe{Autotools Training}
+\def \trainingtitle{Autotools}
diff --git a/common/beamerthemeBootlin.sty b/common/beamerthemeBootlin.sty
index 1a2dea0e..3cad9745 100644
--- a/common/beamerthemeBootlin.sty
+++ b/common/beamerthemeBootlin.sty
@@ -111,13 +111,13 @@
\newcommand\tinyv{\@setfontsize\tinyv{4pt}{6}}
-\newcommand\titleframe[1]
+\newcommand\titleframe
{
- \begin{frame}{#1}
+ \begin{frame}{\trainingtitle{} training}
\begin{columns}[b]
\column{0.5\textwidth}
\Large
- #1\\
+ \trainingtitle{} training\\
\vspace{3em}
\footnotesize
\tinyv
diff --git a/common/boot-time-title.tex b/common/boot-time-title.tex
index 29c1e615..97fa2f0a 100644
--- a/common/boot-time-title.tex
+++ b/common/boot-time-title.tex
@@ -1,4 +1,2 @@
-\title{Boot time optimization}
\def \trainingurl{https://bootlin.com/doc/training/boot-time}
-
-\titleframe{Boot time optimization}
+\def \trainingtitle{Embedded Linux boot time optimization}
diff --git a/common/buildroot-stm32-title.tex b/common/buildroot-stm32-title.tex
index 7f7443ee..682c46d2 100644
--- a/common/buildroot-stm32-title.tex
+++ b/common/buildroot-stm32-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/buildroot-stm32}
-
-\titleframe{Buildroot Training}
+\def \trainingtitle{Buildroot system development}
diff --git a/common/buildroot-title.tex b/common/buildroot-title.tex
index 9961317c..40c27b81 100644
--- a/common/buildroot-title.tex
+++ b/common/buildroot-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/buildroot}
-
-\titleframe{Buildroot Training}
+\def \trainingtitle{Buildroot system development}
diff --git a/common/embedded-linux-title.tex b/common/embedded-linux-title.tex
index 5dd36011..e2e795dd 100644
--- a/common/embedded-linux-title.tex
+++ b/common/embedded-linux-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/embedded-linux}
-
-\titleframe{Embedded Linux system development}
+\def \trainingtitle{Embedded Linux system development}
diff --git a/common/graphics-title.tex b/common/graphics-title.tex
index 68430e43..5c4fd146 100644
--- a/common/graphics-title.tex
+++ b/common/graphics-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/graphics}
-
-\titleframe{Understanding the Linux Graphics Stack}
+\def \trainingtitle{Understanding the Linux Graphics Stack}
diff --git a/common/linux-kernel-title.tex b/common/linux-kernel-title.tex
index 4f7154bd..867be42e 100644
--- a/common/linux-kernel-title.tex
+++ b/common/linux-kernel-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/linux-kernel}
-
-\titleframe{Linux Kernel and Driver Development Training}
+\def \trainingtitle{Linux Kernel and driver development}
diff --git a/common/preempt-rt-title.tex b/common/preempt-rt-title.tex
index c36de918..0c1f7cf1 100644
--- a/common/preempt-rt-title.tex
+++ b/common/preempt-rt-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/preempt-rt}
-
-\titleframe{Understanding Linux real-time with PREEMPT\_RT}
+\def \trainingtitle{Understanding Linux real-time with PREEMPT\_RT}
diff --git a/common/yocto-stm32-title.tex b/common/yocto-stm32-title.tex
index b77fb042..e22dcf2e 100644
--- a/common/yocto-stm32-title.tex
+++ b/common/yocto-stm32-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/yocto-stm32}
-
-\titleframe{Yocto Project and OpenEmbedded Training}
+\def \trainingtitle{Yocto Project and OpenEmbedded system development}
diff --git a/common/yocto-title.tex b/common/yocto-title.tex
index 414269c2..e2422d67 100644
--- a/common/yocto-title.tex
+++ b/common/yocto-title.tex
@@ -1,3 +1,2 @@
\def \trainingurl{https://bootlin.com/doc/training/yocto}
-
-\titleframe{Yocto Project and OpenEmbedded Training}
+\def \trainingtitle{Yocto Project and OpenEmbedded system development}
diff --git a/slides/first-slides/first-slides.tex b/slides/first-slides/first-slides.tex
index 41115c0b..32a17608 100644
--- a/slides/first-slides/first-slides.tex
+++ b/slides/first-slides/first-slides.tex
@@ -1,3 +1,5 @@
+\titleframe
+
\ifdefempty{\trainer}{}{
\input{../slides/first-slides/\trainer.tex}
}
More information about the training-materials-updates
mailing list