summaryrefslogtreecommitdiff
path: root/info/formation-latex-ul/source/formation-latex-ul-diapos.tex
diff options
context:
space:
mode:
Diffstat (limited to 'info/formation-latex-ul/source/formation-latex-ul-diapos.tex')
-rw-r--r--info/formation-latex-ul/source/formation-latex-ul-diapos.tex65
1 files changed, 46 insertions, 19 deletions
diff --git a/info/formation-latex-ul/source/formation-latex-ul-diapos.tex b/info/formation-latex-ul/source/formation-latex-ul-diapos.tex
index 39ac7c8b5f..c809135aa8 100644
--- a/info/formation-latex-ul/source/formation-latex-ul-diapos.tex
+++ b/info/formation-latex-ul/source/formation-latex-ul-diapos.tex
@@ -1,4 +1,4 @@
-%%% Copyright (C) 2015-2023 Vincent Goulet
+%%% Copyright (C) 2015-2024 Vincent Goulet
%%%
%%% Ce fichier fait partie du projet
%%% «Rédaction avec LaTeX»
@@ -28,8 +28,10 @@
%% Informations de publication
%% (titre et al. dans couverture-avant.tex)
%% ==========================================
- \renewcommand{\year}{2023}
- \renewcommand{\month}{11}
+ \title{Rédaction avec \LaTeX --- Premier pas}
+ \author{Vincent Goulet}
+ \renewcommand{\year}{2024}
+ \renewcommand{\month}{03}
\newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul}
\newcommand{\reposurl}{https://gitlab.com/vigou3/formation-latex-ul}
@@ -69,23 +71,44 @@
]
\newfontfamily\lucida{Lucida Bright OT}
[
- Scale=0.92
+ Scale = 0.92
]
\usepackage[babel=true]{microtype}
%% Police Computer Modern pour exemple de police par défaut
- \newfontfamily\CM{cmunrm.otf}
+ \newfontfamily\CM{cmunrm}
+ [
+ Extension = .otf,
+ ItalicFont = cmunci,
+ BoldFont = cmunrb,
+ BoldItalicFont = cmunbi,
+ Scale = 1.1
+ ]
+ \newfontfamily\CMtt{cmuntt}
+ [
+ Extension = .otf,
+ Scale = 1.1
+ ]
+
+ %% Police STIX Two pour exemple de police moderne
+ \newfontfamily\stixtwo{STIXTwoText}
+ [
+ Extension = .otf,
+ UprightFont = *-Regular,
+ Scale = 1,
+ ]
%% Couleurs
\definecolor{comments}{rgb}{0.5,0.55,0.6} % commentaires
- \definecolor{link}{rgb}{0,0.4,0.6} % liens internes
- \definecolor{url}{rgb}{0.6,0,0} % liens externes
- \colorlet{codebg}{LightYellow1} % fond code R
- \definecolor{rouge}{rgb}{0.9,0,0.1} % bandeau rouge UL
- \definecolor{or}{rgb}{1,0.8,0} % bandeau or UL
- \colorlet{alert}{mLightBrown} % alias de couleur Metropolis
- \colorlet{dark}{mDarkTeal} % alias de couleur Metropolis
- \colorlet{code}{mLightGreen} % alias de couleur Metropolis
+ \definecolor{link}{rgb}{0,0.4,0.6} % liens internes
+ \definecolor{url}{rgb}{0.6,0,0} % liens externes
+ \definecolor{rouge}{rgb}{0.9,0,0.1} % bandeau rouge UL
+ \definecolor{or}{rgb}{1,0.8,0} % bandeau or UL
+ \colorlet{codebg}{LightYellow1} % fond code R
+ \colorlet{prompt}{Orchid4} % invite de commande
+ \colorlet{alert}{mLightBrown} % alias de couleur Metropolis
+ \colorlet{dark}{mDarkTeal} % alias de couleur Metropolis
+ \colorlet{code}{mLightGreen} % alias de couleur Metropolis
\colorlet{shadecolor}{codebg}
%% Hyperliens
@@ -114,16 +137,20 @@
%% Sections de code source
\lstloadlanguages{[LaTeX]TeX}
\lstset{language=[LaTeX]TeX,
- escapeinside=`',
- extendedchars=true,
- inputencoding=utf8/latin1,
basicstyle=\small\ttfamily\NoAutoSpacing,
- commentstyle=\color{comments},
keywordstyle=\mdseries,
+ commentstyle=\color{comments},
emphstyle=\color{alert}\bfseries,
+ moredelim=[is][\color{prompt}]{---}{-},
+ escapeinside=`',
+ extendedchars=true,
+ showstringspaces=false,
backgroundcolor=\color{LightYellow1},
- frame=lr, rulecolor=\color{LightYellow1},
- showstringspaces=false}
+ frame=leftline,
+ framerule=2pt,
+ framesep=5pt,
+ xleftmargin=7.4pt
+ }
%%% =========================
%%% Nouveaux environnements