[bootlin/training-materials updates] master: agenda: refactor more duplicated commands (6dba30bb)

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Aug 31 15:57:53 CEST 2021


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

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

commit 6dba30bbc9b7759edd8cfbc81c6312574b96c789
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date:   Tue Aug 31 15:55:29 2021 +0200

    agenda: refactor more duplicated commands
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>


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

6dba30bbc9b7759edd8cfbc81c6312574b96c789
 agenda/autotools-agenda.tex                |  6 ------
 agenda/boot-time-agenda.tex                |  6 ------
 agenda/boot-time-fr-agenda.tex             |  6 ------
 agenda/boot-time-online-agenda.tex         |  6 ------
 agenda/boot-time-online-fr-agenda.tex      |  6 ------
 agenda/buildroot-agenda.tex                |  6 ------
 agenda/buildroot-fr-agenda.tex             |  6 ------
 agenda/buildroot-online-agenda.tex         |  6 ------
 agenda/buildroot-online-fr-agenda.tex      |  6 ------
 agenda/embedded-linux-4d-agenda.tex        |  6 ------
 agenda/embedded-linux-4d-fr-agenda.tex     |  6 ------
 agenda/embedded-linux-agenda.tex           |  6 ------
 agenda/embedded-linux-fr-agenda.tex        |  6 ------
 agenda/embedded-linux-online-agenda.tex    |  6 ------
 agenda/embedded-linux-online-fr-agenda.tex |  6 ------
 agenda/git-agenda.tex                      |  6 ------
 agenda/graphics-agenda.tex                 |  6 ------
 agenda/graphics-fr-agenda.tex              |  6 ------
 agenda/graphics-online-agenda.tex          |  6 ------
 agenda/graphics-online-fr-agenda.tex       |  6 ------
 agenda/linux-kernel-agenda.tex             |  6 ------
 agenda/linux-kernel-fr-agenda.tex          |  6 ------
 agenda/linux-kernel-online-agenda.tex      |  6 ------
 agenda/linux-kernel-online-fr-agenda.tex   |  6 ------
 agenda/yocto-agenda.tex                    |  6 ------
 agenda/yocto-fr-agenda.tex                 |  6 ------
 agenda/yocto-online-agenda.tex             |  6 ------
 agenda/yocto-online-fr-agenda.tex          |  6 ------
 agenda/yocto-stm32-online-agenda.tex       |  6 ------
 agenda/yocto-stm32-online-fr-agenda.tex    |  6 ------
 common/agenda.sty                          | 10 ++++++++++
 31 files changed, 10 insertions(+), 180 deletions(-)

diff --git a/agenda/autotools-agenda.tex b/agenda/autotools-agenda.tex
index b82b5d4e..f72f4c08 100644
--- a/agenda/autotools-agenda.tex
+++ b/agenda/autotools-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/boot-time-agenda.tex b/agenda/boot-time-agenda.tex
index 68e55fe4..d4a1f4d8 100644
--- a/agenda/boot-time-agenda.tex
+++ b/agenda/boot-time-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/boot-time-fr-agenda.tex b/agenda/boot-time-fr-agenda.tex
index 505d8a6d..1b42b76c 100644
--- a/agenda/boot-time-fr-agenda.tex
+++ b/agenda/boot-time-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/boot-time-online-agenda.tex b/agenda/boot-time-online-agenda.tex
index cf8a6e81..936740b2 100644
--- a/agenda/boot-time-online-agenda.tex
+++ b/agenda/boot-time-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/boot-time-online-fr-agenda.tex b/agenda/boot-time-online-fr-agenda.tex
index db2e07ec..eb68c588 100644
--- a/agenda/boot-time-online-fr-agenda.tex
+++ b/agenda/boot-time-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/buildroot-agenda.tex b/agenda/buildroot-agenda.tex
index 639a4806..3893ba15 100644
--- a/agenda/buildroot-agenda.tex
+++ b/agenda/buildroot-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/buildroot-fr-agenda.tex b/agenda/buildroot-fr-agenda.tex
index a1953be1..dd3f2f54 100644
--- a/agenda/buildroot-fr-agenda.tex
+++ b/agenda/buildroot-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/buildroot-online-agenda.tex b/agenda/buildroot-online-agenda.tex
index b069a731..b4600970 100644
--- a/agenda/buildroot-online-agenda.tex
+++ b/agenda/buildroot-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/buildroot-online-fr-agenda.tex b/agenda/buildroot-online-fr-agenda.tex
index 2af15229..196080dd 100644
--- a/agenda/buildroot-online-fr-agenda.tex
+++ b/agenda/buildroot-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-4d-agenda.tex b/agenda/embedded-linux-4d-agenda.tex
index a61b5316..57056c85 100644
--- a/agenda/embedded-linux-4d-agenda.tex
+++ b/agenda/embedded-linux-4d-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-4d-fr-agenda.tex b/agenda/embedded-linux-4d-fr-agenda.tex
index 3aa144cf..873c67f7 100644
--- a/agenda/embedded-linux-4d-fr-agenda.tex
+++ b/agenda/embedded-linux-4d-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-agenda.tex b/agenda/embedded-linux-agenda.tex
index cac26762..1479b697 100644
--- a/agenda/embedded-linux-agenda.tex
+++ b/agenda/embedded-linux-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-fr-agenda.tex b/agenda/embedded-linux-fr-agenda.tex
index bc0e2290..bcb3e371 100644
--- a/agenda/embedded-linux-fr-agenda.tex
+++ b/agenda/embedded-linux-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-online-agenda.tex b/agenda/embedded-linux-online-agenda.tex
index a29aebce..72c7e1c1 100644
--- a/agenda/embedded-linux-online-agenda.tex
+++ b/agenda/embedded-linux-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/embedded-linux-online-fr-agenda.tex b/agenda/embedded-linux-online-fr-agenda.tex
index 83c5f377..b609702b 100644
--- a/agenda/embedded-linux-online-fr-agenda.tex
+++ b/agenda/embedded-linux-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/git-agenda.tex b/agenda/git-agenda.tex
index d85e4d67..43cf7622 100644
--- a/agenda/git-agenda.tex
+++ b/agenda/git-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/graphics-agenda.tex b/agenda/graphics-agenda.tex
index 517a3728..39ef9b0e 100644
--- a/agenda/graphics-agenda.tex
+++ b/agenda/graphics-agenda.tex
@@ -5,18 +5,12 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \vspace{1cm}
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/graphics-fr-agenda.tex b/agenda/graphics-fr-agenda.tex
index 88943ce5..2b4dc4be 100644
--- a/agenda/graphics-fr-agenda.tex
+++ b/agenda/graphics-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/graphics-online-agenda.tex b/agenda/graphics-online-agenda.tex
index a7ebbdf5..eee7b711 100644
--- a/agenda/graphics-online-agenda.tex
+++ b/agenda/graphics-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/graphics-online-fr-agenda.tex b/agenda/graphics-online-fr-agenda.tex
index 040fe342..98bd16f8 100644
--- a/agenda/graphics-online-fr-agenda.tex
+++ b/agenda/graphics-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/linux-kernel-agenda.tex b/agenda/linux-kernel-agenda.tex
index e557e6e2..9ccff9ac 100644
--- a/agenda/linux-kernel-agenda.tex
+++ b/agenda/linux-kernel-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/linux-kernel-fr-agenda.tex b/agenda/linux-kernel-fr-agenda.tex
index f550f834..b62d4a74 100644
--- a/agenda/linux-kernel-fr-agenda.tex
+++ b/agenda/linux-kernel-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/linux-kernel-online-agenda.tex b/agenda/linux-kernel-online-agenda.tex
index 7b582375..c41f2392 100644
--- a/agenda/linux-kernel-online-agenda.tex
+++ b/agenda/linux-kernel-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/linux-kernel-online-fr-agenda.tex b/agenda/linux-kernel-online-fr-agenda.tex
index f368a7d5..8e7a19be 100644
--- a/agenda/linux-kernel-online-fr-agenda.tex
+++ b/agenda/linux-kernel-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-agenda.tex b/agenda/yocto-agenda.tex
index f384d3c4..afd4b1f5 100644
--- a/agenda/yocto-agenda.tex
+++ b/agenda/yocto-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-fr-agenda.tex b/agenda/yocto-fr-agenda.tex
index 9b4c0708..70399bc0 100644
--- a/agenda/yocto-fr-agenda.tex
+++ b/agenda/yocto-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-online-agenda.tex b/agenda/yocto-online-agenda.tex
index 880e8d80..bc60eb0d 100644
--- a/agenda/yocto-online-agenda.tex
+++ b/agenda/yocto-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-online-fr-agenda.tex b/agenda/yocto-online-fr-agenda.tex
index 13152b30..8e6a877c 100644
--- a/agenda/yocto-online-fr-agenda.tex
+++ b/agenda/yocto-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-stm32-online-agenda.tex b/agenda/yocto-stm32-online-agenda.tex
index 5b9802a4..b8410d46 100644
--- a/agenda/yocto-stm32-online-agenda.tex
+++ b/agenda/yocto-stm32-online-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/agenda/yocto-stm32-online-fr-agenda.tex b/agenda/yocto-stm32-online-fr-agenda.tex
index 3c7b35a6..045afb95 100644
--- a/agenda/yocto-stm32-online-fr-agenda.tex
+++ b/agenda/yocto-stm32-online-fr-agenda.tex
@@ -5,17 +5,11 @@
 
 \usepackage{agenda}
 
-\renewcommand{\arraystretch}{2.0}
-
 \begin{document}
 
-\setlength{\arrayrulewidth}{0.8pt}
-
 \feshowtitle
 
 \small
-\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
-\newcolumntype{h}{>{\columncolor{felightblue}}X}
 
 \arrayrulecolor{lightgray} {
   \setlist[1]{itemsep=-5pt}
diff --git a/common/agenda.sty b/common/agenda.sty
index d3857f0f..33e3db2f 100644
--- a/common/agenda.sty
+++ b/common/agenda.sty
@@ -58,6 +58,16 @@
 % No section numbering
 \setcounter{secnumdepth}{0}
 
+% More spacing in tables
+\renewcommand{\arraystretch}{2.0}
+
+% Table borders width
+\setlength{\arrayrulewidth}{0.8pt}
+
+% New array column types
+\newcolumntype{g}{>{\columncolor{fedarkblue}}m{4cm}}
+\newcolumntype{h}{>{\columncolor{felightblue}}X}
+
 % Customization of title and author style
 \pretitle{\begin{center}\Huge\sffamily}
 \preauthor{\begin{center}




More information about the training-materials-updates mailing list