commit 16d46ce76bc863b9581bd2981386bfa961fabe47 Author: francois Date: Thu Jan 15 20:29:36 2026 +0100 first importation diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..07ed706 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/* \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..658f8a6 --- /dev/null +++ b/Makefile @@ -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)/* diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/src/images/logo.png b/src/images/logo.png new file mode 100644 index 0000000..3485fcc Binary files /dev/null and b/src/images/logo.png differ diff --git a/src/main.tex b/src/main.tex new file mode 100644 index 0000000..4c62103 --- /dev/null +++ b/src/main.tex @@ -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} \ No newline at end of file diff --git a/src/preamble.tex b/src/preamble.tex new file mode 100644 index 0000000..eedd06e --- /dev/null +++ b/src/preamble.tex @@ -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}% + } +} \ No newline at end of file diff --git a/src/sections/bouh.tex b/src/sections/bouh.tex new file mode 100644 index 0000000..aed7ac8 --- /dev/null +++ b/src/sections/bouh.tex @@ -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} \ No newline at end of file diff --git a/src/sections/conclusion.tex b/src/sections/conclusion.tex new file mode 100644 index 0000000..dd63dae --- /dev/null +++ b/src/sections/conclusion.tex @@ -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} \ No newline at end of file diff --git a/src/sections/examples.tex b/src/sections/examples.tex new file mode 100644 index 0000000..1886c48 --- /dev/null +++ b/src/sections/examples.tex @@ -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} + diff --git a/src/sections/intro.tex b/src/sections/intro.tex new file mode 100644 index 0000000..1d2d378 --- /dev/null +++ b/src/sections/intro.tex @@ -0,0 +1,8 @@ +\section{Introduction} + +\begin{frame}{Context} +\begin{itemize} + \item Corporate presentation + \item Modular source files +\end{itemize} +\end{frame} diff --git a/src/sections/summary.tex b/src/sections/summary.tex new file mode 100644 index 0000000..9809b44 --- /dev/null +++ b/src/sections/summary.tex @@ -0,0 +1,3 @@ +\begin{frame}{Summary} + \tableofcontents +\end{frame} diff --git a/src/sections/title.tex b/src/sections/title.tex new file mode 100644 index 0000000..26122ba --- /dev/null +++ b/src/sections/title.tex @@ -0,0 +1,3 @@ +\begin{frame} + \titlepage +\end{frame} \ No newline at end of file