first importation

This commit is contained in:
2026-01-15 20:29:36 +01:00
commit 16d46ce76b
12 changed files with 183 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
build/*

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
TEX=lualatex
SRC=src/main.tex
BUILD=build
TEXFLAGS=\
-interaction=nonstopmode \
-synctex=1 \
-output-directory=$(BUILD)
export TEXINPUTS := src:
all:
mkdir -p $(BUILD)/sections
$(TEX) $(TEXFLAGS) $(SRC)
clean:
rm -rf $(BUILD)/*

0
README.md Normal file
View File

BIN
src/images/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

18
src/main.tex Normal file
View File

@@ -0,0 +1,18 @@
\documentclass[aspectratio=169]{beamer}
% Racine des chemins (TRÈS IMPORTANT)
\graphicspath{{images/}}
% Preamble séparé
\input{preamble}
\begin{document}
\include{sections/title}
\include{sections/summary}
\include{sections/intro}
\include{sections/examples}
\include{sections/bouh}
\include{sections/conclusion}
\end{document}

66
src/preamble.tex Normal file
View File

@@ -0,0 +1,66 @@
% Encodage
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
% Graphiques
\usepackage{graphicx}
\usepackage{listings}
\usepackage{xcolor}
% =====================
% Thème "entreprise"
% =====================
\usetheme{Madrid} % base sobre
\usecolortheme{default}
% Couleurs corporate
\definecolor{CorporateBlue}{RGB}{0,70,127}
\definecolor{CorporateGray}{RGB}{80,80,80}
\setbeamercolor{structure}{fg=CorporateBlue}
\setbeamercolor{frametitle}{fg=white,bg=CorporateBlue}
\setbeamercolor{title}{fg=white,bg=CorporateBlue}
\setbeamercolor{normal text}{fg=CorporateGray}
% =====================
% Police moderne
% =====================
\usepackage{lmodern}
% =====================
% Informations
% =====================
\title{Testium training}
\subtitle{Introduction tutorial}
\author{François Dausseur}
% \institute{Nom de l'entreprise}
\date{\today}
\titlegraphic{\includegraphics[height=1.5cm]{logo.png}}
\lstdefinestyle{corporate}{
backgroundcolor=\color{gray!10},
basicstyle=\ttfamily\scriptsize,
keywordstyle=\color{CorporateBlue}\bfseries,
commentstyle=\color{gray},
stringstyle=\color{orange},
numbers=left,
numberstyle=\tiny\color{gray},
frame=single,
breaklines=true,
showstringspaces=false
}
\setbeamertemplate{footline}{
\leavevmode%
\hbox{%
\begin{beamercolorbox}[wd=.8\paperwidth,ht=2.5ex,dp=1ex,left]{author in head/foot}
\hspace{1em}\insertshortauthor{} -- \insertshorttitle
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.2\paperwidth,ht=2.5ex,dp=1ex,right]{date in head/foot}
\insertframenumber{} / \inserttotalframenumber\hspace{1em}
\end{beamercolorbox}%
}
}

9
src/sections/bouh.tex Normal file
View File

@@ -0,0 +1,9 @@
\begin{frame}{Points clés}
\begin{block}{Avantages}
\begin{itemize}
\item Lisibilité
\item Sobriété
\item Facilement personnalisable
\end{itemize}
\end{block}
\end{frame}

View File

@@ -0,0 +1,9 @@
\section{Conclusion}
\begin{frame}{Conclusion}
\begin{itemize}
\item Template prêt à l'emploi
\item Compatible environnements entreprise
\item Adaptable à votre charte graphique
\end{itemize}
\end{frame}

49
src/sections/examples.tex Normal file
View File

@@ -0,0 +1,49 @@
\section{Exemples}
\begin{frame}[fragile]{Exemple de code Python}
\lstset{style=corporate, language=Python}
\begin{lstlisting}
def hello(name):
print(f"Bonjour {name}")
hello("Entreprise")
\end{lstlisting}
\end{frame}
\begin{frame}{Architecture Overview}
\begin{columns}[T] % T = alignement en haut
\column{0.45\textwidth}
\includegraphics[width=\linewidth]{logo.png}
\column{0.55\textwidth}
\begin{itemize}
\item Modular architecture
\item Clean separation of concerns
\item Easy maintenance
\item Scalable design
\end{itemize}
\end{columns}
\end{frame}
\begin{frame}{Performance Metrics}
\begin{columns}[T]
\column{0.45\textwidth}
\includegraphics[width=\linewidth]{images/logo.png}
\column{0.55\textwidth}
\centering
\begin{tabular}{lcc}
\textbf{Metric} & \textbf{v1} & \textbf{v2} \\
\hline
Latency (ms) & 120 & 85 \\
Throughput & 200 & 310 \\
Errors (\%) & 2.1 & 0.7 \\
\end{tabular}
\end{columns}
\end{frame}

8
src/sections/intro.tex Normal file
View File

@@ -0,0 +1,8 @@
\section{Introduction}
\begin{frame}{Context}
\begin{itemize}
\item Corporate presentation
\item Modular source files
\end{itemize}
\end{frame}

3
src/sections/summary.tex Normal file
View File

@@ -0,0 +1,3 @@
\begin{frame}{Summary}
\tableofcontents
\end{frame}

3
src/sections/title.tex Normal file
View File

@@ -0,0 +1,3 @@
\begin{frame}
\titlepage
\end{frame}