From 735245a8b0ba602e5e319d146fbbb7ffe1c39ca5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 20 Oct 2020 20:37:29 +0000 Subject: formation-latex-ul (20oct20) git-svn-id: svn://tug.org/texlive/trunk@56714 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/formation-latex-ul/apparence-diapos.tex | 59 +++------- .../source/latex/formation-latex-ul/apparence.tex | 2 +- .../latex/formation-latex-ul/bases-diapos.tex | 53 ++++----- .../source/latex/formation-latex-ul/bases.tex | 4 +- .../latex/formation-latex-ul/bibliographie.tex | 12 +- .../source/latex/formation-latex-ul/boites.tex | 2 +- .../latex/formation-latex-ul/colophon-diapos.tex | 2 +- .../source/latex/formation-latex-ul/colophon.tex | 2 +- .../source/latex/formation-latex-ul/commandes.tex | 4 +- .../couverture-arriere-diapos.tex | 2 +- .../formation-latex-ul/couverture-arriere.tex | 2 +- .../formation-latex-ul/couverture-avant-diapos.tex | 4 +- .../latex/formation-latex-ul/couverture-avant.tex | 4 +- .../formation-latex-ul-diapos.tex | 45 ++++---- .../formation-latex-ul/formation-latex-ul.bib | 2 +- .../formation-latex-ul/formation-latex-ul.tex | 27 ++--- .../images/Meerkat_stare-diapos.jpg | Bin 452385 -> 0 bytes .../formation-latex-ul/images/Meerkat_stare.jpg | Bin 548678 -> 0 bytes .../images/Suricates_Namibia-2-diapos.jpeg | Bin 0 -> 719882 bytes .../images/Suricates_Namibia-2.jpeg | Bin 0 -> 361456 bytes .../images/formation-latex-ul.png | Bin 778458 -> 774685 bytes .../latex/formation-latex-ul/introduction.tex | 4 +- .../formation-latex-ul/mathematiques-diapos.tex | 19 ++-- .../latex/formation-latex-ul/mathematiques.tex | 2 +- .../latex/formation-latex-ul/notices-diapos.tex | 20 ++-- .../source/latex/formation-latex-ul/notices.tex | 19 ++-- .../formation-latex-ul/organisation-diapos.tex | 22 ++-- .../latex/formation-latex-ul/organisation.tex | 2 +- .../latex/formation-latex-ul/prerequis-diapos.tex | 22 +--- .../formation-latex-ul/presentation-diapos.tex | 121 +++++++-------------- .../latex/formation-latex-ul/presentation.tex | 10 +- .../source/latex/formation-latex-ul/solutions.tex | 2 +- .../latex/formation-latex-ul/suite-diapos.tex | 2 +- .../latex/formation-latex-ul/sweave-diapos.tex | 63 ----------- .../latex/formation-latex-ul/tableaux+figures.tex | 2 +- .../latex/formation-latex-ul/tableaux-diapos.tex | 2 +- .../latex/formation-latex-ul/trucs+astuces.tex | 2 +- .../latex/formation-latex-ul/ulthese-diapos.tex | 57 ---------- .../source/latex/formation-latex-ul/ulthese.tex | 2 +- 39 files changed, 177 insertions(+), 422 deletions(-) delete mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare-diapos.jpg delete mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare.jpg create mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2-diapos.jpeg create mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2.jpeg delete mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/sweave-diapos.tex delete mode 100644 Master/texmf-dist/source/latex/formation-latex-ul/ulthese-diapos.tex (limited to 'Master/texmf-dist/source/latex') diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/apparence-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/apparence-diapos.tex index 8a6ad457129..e234474e78f 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/apparence-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/apparence-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -11,8 +11,6 @@ \section{Apparence et disposition du texte} -\subsection{Police et style} - \begin{frame} \frametitle{Police de caractères} @@ -26,57 +24,30 @@ mathématiques \item Commandes pour modifier les \alert{attributs} de la police (famille, forme, graisse) - \item Commandes pour modifier la \alert{taille} du texte (de - \cs{tiny} à \cs{Huge}) + \item Commandes pour modifier la \alert{taille} du texte \end{itemize} \end{frame} -\begin{frame}[fragile] +\begin{frame}[fragile=singleslide] \frametitle{Italique} \begin{itemize} - \item<1-> Une des propriétés les \emph{plus utilisées} dans le texte - \vfill - \item<1-> Commande sémantique: + \item Une des propriétés les plus utilisées dans le texte + \item Commande sémantique: \begin{lstlisting} \emph`\marg{texte}' \end{lstlisting} - \vfill - \item<2-> Par défaut: texte en italique dans texte droit et vice versa - \begin{demo} - \small - \begin{texample}[0.48\linewidth] -\begin{lstlisting} -C'était un peu \emph{rough} -par moments -\end{lstlisting} - \producing - C'était un peu \emph{rough} par moments - \end{texample} - - \begin{texample}[0.48\linewidth] -\begin{lstlisting} -Il m'a dit: «\emph{Enough -\emph{poutine} for the -week!}» -\end{lstlisting} - \producing - Il m'a dit: «\emph{Enough \emph{poutine} for the week!}» - \end{texample} - \end{demo} - \item<3-> Pas de commande pour souligner en {\LaTeX\dots} et ce n'est + \item Pas de commande pour souligner en {\LaTeX\dots} et ce n'est pas une omission! \end{itemize} \end{frame} -\subsection{Disposition du texte} - \begin{frame}[fragile] \frametitle{Listes} \begin{itemize} \item Deux principales sortes de listes: \begin{enumerate} - \item \alert{à puce} avec environnement \texttt{itemize} - \item \alert{numérotée} avec environnement \texttt{enumerate} + \item \alert{à puce} avec environnement \code{itemize} + \item \alert{numérotée} avec environnement \code{enumerate} \end{enumerate} \item Possible de les imbriquer les unes dans les autres \item Marqueurs adaptés automatiquement jusqu'à 4 niveaux @@ -111,7 +82,7 @@ week!}» \begin{frame}[fragile=singleslide] \frametitle{Code source} \begin{itemize} - \item Environnement \texttt{verbatim} + \item Environnement \code{verbatim} \begin{lstlisting} \begin{verbatim} Texte disposé exactement tel qu'il est tapé @@ -122,24 +93,22 @@ dans une police à largeur fixe \end{itemize} \end{frame} -\subsection{[~Exercice~]} - \begin{exercice} Utiliser le fichier \fichier{exercice\_complet.tex}. \begin{enumerate} \item Étudier le code source du fichier, puis le compiler. - \item Supprimer l'option \texttt{article} au chargement de la classe + \item Supprimer l'option \code{article} au chargement de la classe et compiler de nouveau le document. Observer l'effet de cette option. \item Effectuer les modifications suivantes au document. \begin{enumerate}[a)] \item Dernier paragraphe de la première section, placer toute la - phrase débutant par \texttt{«De simple dérivé»} à l'intérieur + phrase débutant par \code{«De simple dérivé»} à l'intérieur d'une commande \cs{emph}. - \item Changer la puce des listes en spécifiant le symbole - \texttt{\$>\$} pour \texttt{ItemLabeli} dans la commande - \cs{frenchbsetup} du préambule. + \item Changer la puce des listes pour le symbole \code{\$>\$} en + activant la commande \cs{frenchbsetup\{ItemLabeli=\$>\$\}} dans + le préambule. \end{enumerate} \end{enumerate} \end{exercice} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/apparence.tex b/Master/texmf-dist/source/latex/formation-latex-ul/apparence.tex index 4c35253f0f7..3563a66ec61 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/apparence.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/apparence.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/bases-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/bases-diapos.tex index 2b3bbbe66bb..75d8ea35778 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/bases-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/bases-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -11,9 +11,7 @@ \section{Principes de base} -\subsection{Règles de saisie} - -\begin{frame}[fragile=singleslide] +\begin{frame} \frametitle{Rédaction} L'apparence du document est prise en charge par {\LaTeX} et @@ -22,12 +20,6 @@ \begin{itemize} \item On se concentre sur le \alert{contenu} et la \alert{structure} du document - \bigskip - \begin{tabbing} - titre de section \qquad\= \faArrowRight \qquad\= \verb|\section{titre}| \\[6pt] - emphase \> \faArrowRight \> \verb|\emph{texte}| - \end{tabbing} - \bigskip \item Mots séparés par une ou plusieurs \alert{espaces} \item Paragraphes séparés par une ou plusieurs \alert{lignes blanches} \item Utilisation de \alert{commandes} pour indiquer la structure du texte @@ -40,10 +32,9 @@ \begin{itemize} \item Caractères réservés par {\TeX}: \begin{quote} - \verb=# $ & ~ _ ^ % { }= + \code{\#~\$~\&~\string~~\_~\string^~\%~\{~\}} \end{quote} - \item Pour les utiliser, précéder par \bs - \item On écrira donc + \item Pour les utiliser, précéder par «\bs» \begin{demo} \begin{texample} \begin{lstlisting} @@ -59,25 +50,23 @@ de 5~\%. \end{itemize} \end{frame} -\subsection{Structure d'un fichier} - \begin{frame}[fragile] \frametitle{Structure d'un document {\LaTeX}} Un fichier source {\LaTeX} est toujours composé de deux parties. \begin{minipage}{0.2\linewidth} - \color{alert} + %\color{alert} \onslide<2->{ \begin{minipage}{\linewidth} \hfill préambule \quad - \rule[-10mm]{2pt}{21mm} + \rule[-10mm]{1pt}{21mm} \end{minipage} \\[5mm] } \onslide<3->{ \begin{minipage}{\linewidth} \hfill corps \quad - \rule[-15mm]{2pt}{30mm} + \rule[-15mm]{1pt}{30mm} \end{minipage} } \end{minipage} @@ -101,12 +90,10 @@ vitae ipsum vel, fermentum pellentesque orci. \end{minipage} \end{frame} -\subsection{Commandes et environnements} - \begin{frame}[fragile=singleslide] \frametitle{Commandes} \begin{itemize} - \item Débutent toujours par \bs + \item Débutent toujours par «\bs» \item Exemples de syntaxe \begin{lstlisting} \LaTeX % aucun argument @@ -116,7 +103,7 @@ vitae ipsum vel, fermentum pellentesque orci. \end{lstlisting} \item Commande sans argument: le nom se termine par tout caractère qui n'est \alert{pas une lettre} (y compris l'espace!) - \item Portée d'une commande limitée à la zone entre \verb={ }= + \item Portée d'une commande limitée à la zone entre \code{\{~\}} \end{itemize} \end{frame} @@ -135,18 +122,6 @@ vitae ipsum vel, fermentum pellentesque orci. \end{itemize} \end{frame} -\subsection{[~Exercice~]} - -\begin{exercice} - Modifier le fichier \fichier{exercice\_commandes.tex} afin de - produire le texte ci-dessous. - - \bigskip - \centering - \fbox{\includegraphics[viewport=108 551 502 665,% - clip=true,width=0.9\linewidth]{auxdoc/exercice_commandes-solution}} -\end{exercice} - \begin{frame}[fragile] \frametitle{{\LaTeX} en français} @@ -162,6 +137,16 @@ vitae ipsum vel, fermentum pellentesque orci. \end{itemize} \end{frame} +\begin{exercice} + Modifier le fichier \fichier{exercice\_commandes.tex} afin de + produire le texte ci-dessous. + + \bigskip + \centering + \fbox{\includegraphics[viewport=108 551 502 665,% + clip=true,width=0.9\linewidth]{auxdoc/exercice_commandes-solution}} +\end{exercice} + %%% Local Variables: %%% TeX-master: "formation-latex-ul-diapos" %%% TeX-engine: xetex diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/bases.tex b/Master/texmf-dist/source/latex/formation-latex-ul/bases.tex index c87729d1f96..0986d2a8674 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/bases.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/bases.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -826,7 +826,7 @@ l'action de la touche % %% simili touche de clavier faite main à partir; utilisation de %% \ooalign tirée de comprehensive.pdf, section 10.3 \raisebox{-2pt}{% - \ooalign{\hfil\Large\faSquareO\hfil\cr\hfil\ttfamily\textquotedbl\hfil}} % + \ooalign{\hfil\Large\faSquare[regular]\hfil\cr\hfil\ttfamily\textquotedbl\hfil}} % du clavier pour insérer les symboles appropriés selon la langue du document. diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/bibliographie.tex b/Master/texmf-dist/source/latex/formation-latex-ul/bibliographie.tex index f900df3b28b..1af57d5f231 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/bibliographie.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/bibliographie.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -564,7 +564,7 @@ pdf{\LaTeX} ou {\XeLaTeX}: \sffamily \begin{minipage}[t]{0.12\linewidth} \centering - {\LARGE\faFileTextO} \\ \medskip + {\LARGE\faFile[regular]} \\ \medskip code source \end{minipage} \quad\faArrowRight\quad @@ -576,7 +576,7 @@ pdf{\LaTeX} ou {\XeLaTeX}: \quad\faArrowRight\quad \begin{minipage}[t]{0.12\linewidth} \centering - {\LARGE\faFilePdfO} \\ \medskip + {\LARGE\faFilePdf[regular]} \\ \medskip fichier PDF \end{minipage} \end{center} @@ -587,7 +587,7 @@ une étape de compilation du document avec {\BibTeX}: \sffamily \begin{minipage}[t]{0.12\linewidth} \centering - {\LARGE\faFileTextO} \\ \medskip + {\LARGE\faFile[regular]} \\ \medskip code source \end{minipage} \quad\faArrowRight\quad @@ -606,13 +606,13 @@ une étape de compilation du document avec {\BibTeX}: \begin{minipage}[t]{0.12\linewidth} \centering {\LARGE\faCogs}\; - \raisebox{-2pt}{\parbox[b]{1em}{\centering\large\faRepeat\tiny\\ $\times 2$}} \\ \medskip + \raisebox{-2pt}{\parbox[b]{1em}{\centering\large\faRedo\tiny\\ $\times 2$}} \\ \medskip \code{pdflatex} \\ \code{xelatex} \end{minipage} \quad\faArrowRight\quad \begin{minipage}[t]{0.12\linewidth} \centering - {\LARGE\faFilePdfO} \\ \medskip + {\LARGE\faFilePdf[regular]} \\ \medskip fichier PDF \end{minipage} \end{center} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/boites.tex b/Master/texmf-dist/source/latex/formation-latex-ul/boites.tex index e11dee2e58a..93a985760fb 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/boites.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/boites.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/colophon-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/colophon-diapos.tex index b19fd123bda..d8c4c3c52c4 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/colophon-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/colophon-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/colophon.tex b/Master/texmf-dist/source/latex/formation-latex-ul/colophon.tex index 56b213c3e2c..b562bfb6b4c 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/colophon.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/colophon.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/commandes.tex b/Master/texmf-dist/source/latex/formation-latex-ul/commandes.tex index 7d2464334dd..d8b8a9549cf 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/commandes.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/commandes.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -41,7 +41,7 @@ trois raisons suivantes: \begin{enumerate} \item Une nouvelle commande \cmdprint{\doc} facilite et systématise l'insertion de liens vers la documentation. D'un seul appel, elle - crée un hyperlien dans le texte suivi de l'icône {\faExternalLink} + crée un hyperlien dans le texte suivi de l'icône {\faExternalLink*} et elle ajoute le nom du fichier de documentation dans la marge précédé de l'icône {\faBookmark}. \item Une nouvelle commande sémantique \cmdprint{\pkg} sert pour la diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere-diapos.tex index 4b7003ee6df..6812e5522af 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere.tex b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere.tex index a24d65bf770..8bef39daf89 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-arriere.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant-diapos.tex index bca073983da..b38ecbe8946 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -89,7 +89,7 @@ %% image de fond \begin{textblock*}{\paperwidth}(0mm,0mm) - \includegraphics[height=\imageheight,width=\paperwidth]{images/Meerkat_stare-diapos} + \includegraphics[height=\imageheight,width=\paperwidth]{images/Suricates_Namibia-2-diapos} \end{textblock*} %% titre diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex index 8df0bd2616f..6d53214d8ed 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/couverture-avant.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -86,7 +86,7 @@ %% image de fond \begin{textblock*}{\paperwidth}(0mm,0mm) - \includegraphics[height=\imageheight,keepaspectratio=true]{images/Meerkat_stare.jpg} + \includegraphics[height=\imageheight,keepaspectratio=true]{images/Suricates_Namibia-2} \end{textblock*} %% titre diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul-diapos.tex index 02ad816e1df..fae8a1fe708 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -16,7 +16,7 @@ \usepackage{changepage} % page licence \usepackage{tabularx} % page licence \usepackage{booktabs} % beaux tableaux - \usepackage{fontawesome} % icônes + \usepackage{fontawesome5} % icônes \usepackage{awesomebox} % \tipbox et autres \usepackage{listings} % code source \usepackage[export]{adjustbox} % cadre autour image @@ -27,8 +27,8 @@ %% Informations de publication %% (titre et al. dans couverture-avant.tex) %% ========================================== - \renewcommand{\year}{2019} - \renewcommand{\month}{03} + \renewcommand{\year}{2020} + \renewcommand{\month}{10} \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/} \newcommand{\reposurl}{https://gitlab.com/vigou3/formation-latex-ul/} @@ -76,14 +76,15 @@ BoldItalicFont = {Fira Sans SemiBold Italic}]{Fira Sans Book} %% Couleurs - \definecolor{comments}{rgb}{0.7,0,0} % commentaires - \definecolor{link}{rgb}{0,0.4,0.6} % liens internes - \definecolor{url}{rgb}{0.6,0,0} % liens externes - \definecolor{codebg}{named}{LightYellow1} % fond code source - \definecolor{rouge}{rgb}{0.85,0,0.07} % rouge bandeau identitaire - \definecolor{or}{rgb}{1,0.8,0} % or bandeau identitaire - \colorlet{alert}{mLightBrown} % alias pour couleur Metropolis - \colorlet{dark}{mDarkTeal} % alias pour couleur Metropolis + \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 \colorlet{shadecolor}{codebg} %% Hyperliens @@ -178,34 +179,28 @@ %% Exercices \newenvironment{exercice}{% \begin{frame}[fragile=singleslide] - \frametitle{Exercice}}{\end{frame}} - - %% Rubriques conseil du TeXpert - \newenvironment{conseil}{% - \begin{frame}[standout,fragile=singleslide] - \textcolor{alert}{Conseil du {\TeX}pert}\normalsize - \begin{block}{}}% - {\end{block}\end{frame}} + \frametitle{\faCogs\; Exercice}}{\end{frame}} %% ===================== %% Nouvelles commandes %% ===================== %% Noms de fonctions, code, environnement, etc. - \newcommand{\fichier}[1]{\texttt{#1}} + \newcommand{\code}[1]{\textcolor{code}{\texttt{#1}}} + \newcommand{\fichier}[1]{\code{#1}} \newcommand{\class}[1]{\textbf{#1}} \newcommand{\pkg}[1]{\textbf{#1}} - \newcommand{\link}[2]{\href{#1}{#2~\raisebox{-0.2ex}{\faExternalLink}}} + \newcommand{\link}[2]{\href{#1}{#2~\raisebox{-0.2ex}{\faExternalLink*}}} %% Pour documenter des commandes LaTeX; dérivé de memoir.cls - \def\bs{\texttt{\char`\\}} + \def\bs{\code{\char`\\}} \newcommand{\meta}[1]{% \ensuremath\langle{\normalfont\itshape #1\/}\ensuremath\rangle} \newcommand{\marg}[1]{% {\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}} \newcommand{\oarg}[1]{% {\ttfamily\char`\[}\meta{#1}{\ttfamily\char`\]}} - \newcommand{\cs}[1]{\texttt{\char`\\#1}} + \newcommand{\cs}[1]{\code{\char`\\#1}} %% Lien vers Gitlab dans la page de notices \newcommand{\viewsource}[1]{% @@ -234,8 +229,6 @@ \include{apparence-diapos} \include{tableaux-diapos} \include{mathematiques-diapos} -\include{sweave-diapos} -\include{ulthese-diapos} \include{suite-diapos} \include{colophon-diapos} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.bib b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.bib index d82a9f06935..ef315ba28b3 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.bib +++ b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.bib @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.tex b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.tex index 0ad9f1cd4cf..618ceb786c5 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -20,7 +20,8 @@ \usepackage{dirtree} % arbre pour exercice sur \include \usepackage{metalogo} % logo de \XeLaTeX \usepackage{mflogo} % logo de Metafont - \usepackage{fontawesome} % plusieurs icônes + \usepackage{relsize} % \smaller et al. + \usepackage{fontawesome5} % plusieurs icônes \usepackage{awesomebox} % boites info, important, etc. \usepackage{applekeys} % touches Mac \usepackage{answers} % exercices et solutions @@ -35,8 +36,8 @@ %%% ============================= \title{Rédaction avec \LaTeX} \author{Vincent Goulet} - \renewcommand{\year}{2019} - \renewcommand{\month}{03} + \renewcommand{\year}{2020} + \renewcommand{\month}{10} \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/} \newcommand{\reposurl}{https://gitlab.com/vigou3/formation-latex-ul/} @@ -89,13 +90,13 @@ %% Couleurs \usepackage{xcolor} - \definecolor{comments}{rgb}{0.7,0,0} % rouge foncé - \definecolor{link}{rgb}{0,0.4,0.6} % ~RoyalBlue de dvips - \definecolor{url}{rgb}{0.6,0,0} % rouge-brun - \definecolor{citation}{rgb}{0,0.5,0} % vert foncé - \definecolor{ULlinkcolor}{rgb}{0,0,0.3} % de ulthese.cls - \definecolor{rouge}{rgb}{0.85,0,0.07} % rouge bandeau identitaire - \definecolor{or}{rgb}{1,0.8,0} % or bandeau identitaire + \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 + \definecolor{citation}{rgb}{0,0.5,0} % citations + \definecolor{ULlinkcolor}{rgb}{0,0,0.3} % de ulthese.cls + \definecolor{rouge}{rgb}{0.90,0,0.1} % rouge bandeau UL + \definecolor{or}{rgb}{1,0.8,0} % or bandeau UL %% Hyperliens \usepackage{hyperref} @@ -365,10 +366,10 @@ %% Boite additionnelle (basée sur awesomebox.sty) pour liens vers %% des vidéos \newcommand{\videobox}[1]{% - \awesomebox{\faYoutubePlay}{\aweboxrulewidth}{url}{#1}} + \awesomebox{\aweboxrulewidth}{\faYoutube}{url}{#1}} %% Hyperlien avec symbole de lien externe juste après - \newcommand{\link}[2]{\href{#1}{#2~\raisebox{-0.2ex}{\faExternalLink}}} + \newcommand{\link}[2]{\href{#1}{#2~\smaller\faExternalLink*}} %% Lien vers documentation dans la marge %% usage: \doc[documentation]{nom_fichier}{url} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare-diapos.jpg b/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare-diapos.jpg deleted file mode 100644 index 80ef47482ee..00000000000 Binary files a/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare-diapos.jpg and /dev/null differ diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare.jpg b/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare.jpg deleted file mode 100644 index ca33487d9de..00000000000 Binary files a/Master/texmf-dist/source/latex/formation-latex-ul/images/Meerkat_stare.jpg and /dev/null differ diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2-diapos.jpeg b/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2-diapos.jpeg new file mode 100644 index 00000000000..7b538dd1a04 Binary files /dev/null and b/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2-diapos.jpeg differ diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2.jpeg b/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2.jpeg new file mode 100644 index 00000000000..404fffcc7ad Binary files /dev/null and b/Master/texmf-dist/source/latex/formation-latex-ul/images/Suricates_Namibia-2.jpeg differ diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/images/formation-latex-ul.png b/Master/texmf-dist/source/latex/formation-latex-ul/images/formation-latex-ul.png index 2ba654ffb07..912c12de61d 100644 Binary files a/Master/texmf-dist/source/latex/formation-latex-ul/images/formation-latex-ul.png and b/Master/texmf-dist/source/latex/formation-latex-ul/images/formation-latex-ul.png differ diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/introduction.tex b/Master/texmf-dist/source/latex/formation-latex-ul/introduction.tex index 8454a22f1db..ee60b130b87 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/introduction.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/introduction.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -52,7 +52,7 @@ plusieurs fonctionnalités interactives. la bibliographie. Ces intraliens sont marqués par la couleur \textcolor{citation}{\rule{1.5em}{1.2ex}}. \item Hyperliens vers des ressources externes marqués par le symbole - {\faExternalLink} et la couleur + {\faExternalLink*} et la couleur \textcolor{url}{\rule{1.5em}{1.2ex}}. \item Table des matières, liste des tableaux et liste des figures permettant d'accéder rapidement à des ressources du document. diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques-diapos.tex index 0c1986380a2..956bcb57bc2 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -55,16 +55,15 @@ comme $(a + b)^2 = a^2 + 2ab + b^2$ \end{enumerate} \end{frame} +\begin{frame}[plain] + \tipbox{En ligne ou hors paragraphe, les équations font partie intégrante de + la phrase. -\begin{conseil} - En ligne ou hors paragraphe, les équations font partie intégrante de - la phrase. + Les règles de ponctuation usuelles s'appliquent donc aux + équations. \newline - Les règles de ponctuation usuelles s'appliquent donc aux équations. - - \bigskip - \fbox{\includegraphics[width=0.95\linewidth]{images/ponctuation}} -\end{conseil} + \fbox{\includegraphics[width=0.95\linewidth]{images/ponctuation}}} +\end{frame} \begin{frame}[fragile] \frametitle{Quelques règles de base} @@ -154,8 +153,6 @@ $x = 0 \text{ si } y < 2$ \end{equation*} \end{frame} -\subsection{[~Exercice~]} - \begin{exercice} Utiliser le fichier \fichier{exercice\_mathematiques.tex}. diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques.tex b/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques.tex index ae522b61999..8c7ca765047 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/mathematiques.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/notices-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/notices-diapos.tex index b9920b01653..c3feab071c0 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/notices-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/notices-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -53,16 +53,14 @@ \viewsource{\reposurl} \textbf{Couverture} \\ - Suricate (\emph{Suricata suricatta}), parfois surnommé «sentinelle - du désert» (ici un spécimen du zoo de Newquay, en Cornouailles). - Ce petit carnivore vit dans le sud-ouest de l'Afrique. Très - prolifique, le suricate vit en grands groupes familiaux au sein - d'une colonie. - - Crédit photo: {\textcopyright} Francis C.~Franklin - \href{https://creativecommons.org/licenses/by-sa/3.0/deed.fr}{CC - BY-SA 3.0} via - \href{https://commons.wikimedia.org/w/index.php?curid=31209438}{% + Suricates (\emph{Suricata suricatta}) en Namibie. Parfois surnommé + «sentinelle du désert», ce petit carnivore vit dans le sud-ouest + de l'Afrique. Très prolifique, le suricate vit en grands groupes + familiaux au sein d'une colonie. Crédit photo: {\textcopyright} + Sara\&Joachim\&Mebe, + \href{https://creativecommons.org/licenses/by-sa/2.0/deed.fr}{CC + BY-SA 2.0} via + \href{https://commons.wikimedia.org/w/index.php?curid=15305478}{% Wikimedia Commons}. Concept original du titre: Marie-Ève Guérard. diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/notices.tex b/Master/texmf-dist/source/latex/formation-latex-ul/notices.tex index 195c767f13f..38c45ebe7fd 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/notices.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/notices.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2019 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -54,15 +54,14 @@ \viewsource{\reposurl} \textbf{Couverture} \\ - Suricate (\emph{Suricata suricatta}), parfois surnommé «sentinelle - du désert» (ici un spécimen du zoo de Newquay, en Cornouailles). Ce - petit carnivore vit dans le sud-ouest de l'Afrique. Très prolifique, - le suricate vit en grands groupes familiaux au sein d'une colonie. - - Crédit photo: {\textcopyright} Francis C.~Franklin - \href{https://creativecommons.org/licenses/by-sa/3.0/deed.fr}{CC - BY-SA 3.0} via - \href{https://commons.wikimedia.org/w/index.php?curid=31209438}{% + Suricates (\emph{Suricata suricatta}) en Namibie. Parfois surnommé + «sentinelle du désert», ce petit carnivore vit dans le sud-ouest de + l'Afrique. Très prolifique, le suricate vit en grands groupes + familiaux au sein d'une colonie. Crédit photo: {\textcopyright} + Sara\&Joachim\&Mebe, + \href{https://creativecommons.org/licenses/by-sa/2.0/deed.fr}{CC + BY-SA 2.0} via + \href{https://commons.wikimedia.org/w/index.php?curid=15305478}{% Wikimedia Commons}. Concept original du titre: Marie-Ève Guérard. diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/organisation-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/organisation-diapos.tex index e798d71efbb..99abbd69e78 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/organisation-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/organisation-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -11,12 +11,10 @@ \section{Organisation d'un document} -\begin{conseil} - Utilisez impérativement les commandes {\LaTeX} pour identifier les - différentes parties (la structure) d'un document. -\end{conseil} - -\subsection{Parties d'un document} +\begin{frame}[plain] + \tipbox{Utilisez impérativement les commandes {\LaTeX} pour + identifier les différentes parties (la structure) d'un document.} +\end{frame} \begin{frame}[fragile] \frametitle{Titre et page de titre} @@ -96,8 +94,6 @@ \end{itemize} \end{frame} -\subsection{Renvois automatiques} - \begin{frame} \frametitle{Étiquettes et renvois automatiques} @@ -105,8 +101,8 @@ d'équation, de tableau, etc. \begin{itemize} - \item «Nommer» un élément avec \cs{label} - \item Faire référence par son nom avec \cs{ref} + \item Étiquetter un élément avec \cs{label} + \item Faire référence par son étiquette avec \cs{ref} \item Requiert 2 à 3 compilations \end{itemize} \end{frame} @@ -135,14 +131,12 @@ on a... \fbox{\includegraphics[viewport=124 550 484 664,clip=true,width=0.98\linewidth]{auxdoc/exemple-renvoi}} \end{frame} -\subsection{[~Exercice~]} - \begin{exercice} Utiliser le fichier \fichier{exercice\_renvois.tex}. \begin{enumerate} \item Insérer dans le texte un renvoi au numéro d'une section. \item Activer le paquetage \pkg{hyperref} avec l'option - \texttt{colorlinks} et comparer l'effet d'utiliser \cs{ref} ou + \code{colorlinks} et comparer l'effet d'utiliser \cs{ref} ou \cs{autoref} pour le renvoi. \end{enumerate} \end{exercice} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/organisation.tex b/Master/texmf-dist/source/latex/formation-latex-ul/organisation.tex index a62f2693ed9..6c940820215 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/organisation.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/organisation.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/prerequis-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/prerequis-diapos.tex index cc8b916bccb..eab6d24b2d9 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/prerequis-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/prerequis-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -9,30 +9,14 @@ %%% International de Creative Commons. %%% https://creativecommons.org/licenses/by-sa/4.0/ -\begin{frame} - \frametitle{Fichiers d'accompagnement} - - \begin{adjustwidth}{10mm}{10mm} - Ce document devrait être accompagné des fichiers nécessaires pour - compléter les exercices. - - Si vous n'avez pas obtenu ces fichiers avec le document, vous - pouvez les récupérer dans le site \emph{Comprehensive TeX Archive - Network} (CTAN). - - \begin{center} - \link{\ctanurl}{Accéder aux fichiers dans CTAN} - \end{center} - \end{adjustwidth} -\end{frame} - \begin{frame} \frametitle{Prérequis à cette formation} \begin{adjustwidth}{8mm}{10mm} \begin{enumerate} \item Installer une distribution {\LaTeX} sur votre poste de - travail; nous recommandons la distribution {\TeX}~Live + travail; je recommande la distribution + \link{https://tug.org/texlive/}{{\TeX}~Live} \begin{itemize} \item \link{https://youtu.be/uJFbhQkDbU8}{% Vidéo d'installation sur macOS} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/presentation-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/presentation-diapos.tex index d08e4727d4f..4ed973f6510 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/presentation-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/presentation-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -11,8 +11,6 @@ \section{Présentation de {\TeX} et {\LaTeX}} -\subsection{Description sommaire} - \begin{frame} \frametitle{Ce que c'est} \begin{columns} @@ -68,49 +66,48 @@ \end{itemize} \end{frame} -\subsection{Processus de création} +\begin{frame}[fragile=singleslide] + \frametitle{Faits amusants} + \begin{itemize} + \item {\TeX} est aujourd'hui considéré exempt de bogue + \item Récompense si vous en trouvez un! + \item Numéro de version de {\TeX} converge vers $\pi$: +\begin{lstlisting} +$ tex --version +TeX `\textbf{3.14159265}' (TeX Live 2020) +kpathsea version 6.3.2 +Copyright 2020 D.E. Knuth. +[...] +\end{lstlisting} %$ + \end{itemize} +\end{frame} \begin{frame} \frametitle{Processus de création d'un document {\LaTeX}} \Huge - \begin{minipage}[t]{0.6\linewidth} - \begin{minipage}[t]{0.4\textwidth} - \centering - \faFileTextO \\ \bigskip - \footnotesize - rédaction du texte et balisage avec un \emph{éditeur de texte} - \end{minipage} - \hfill\faArrowRight\hfill - \begin{minipage}[t]{0.4\textwidth} - \centering - \faCogs \\ \bigskip - \footnotesize - compilation avec un \emph{moteur} {\TeX} depuis la ligne de commande - \end{minipage} \\ \bigskip - - \onslide<2>{% - \color{alert} - \rule[6pt]{\linewidth}{2pt} \\ - \footnotesize\centering - facilité par l'utilisation d'un \\ - logiciel intégré de rédaction \\ - (Texmaker, TeXShop, Emacs, \dots) - } + \begin{minipage}[t]{0.25\textwidth} + \centering + \faFile*[regular] \\ \bigskip + \small + rédaction du texte et balisage avec un \alert{éditeur de texte} \end{minipage} - \begin{minipage}[t]{0.35\linewidth} - \hfill\faArrowRight\hfill - \begin{minipage}[t]{0.7\textwidth} - \centering - \faFilePdfO \\ \bigskip - \footnotesize - visualisation avec visionneuse externe (Aperçu, - SumatraPDF, etc.) - \end{minipage} + \hfill\faArrowRight\hfill + \begin{minipage}[t]{0.25\textwidth} + \centering + \faCogs \\ \bigskip + \small + compilation avec un \alert{moteur} {\TeX} depuis la ligne de commande + \end{minipage} + \hfill\faArrowRight\hfill + \begin{minipage}[t]{0.3\textwidth} + \centering + \faFilePdf[regular] \\ \bigskip + \small + visualisation avec une visionneuse PDF (Aperçu, + SumatraPDF, etc.) \end{minipage} \end{frame} -\subsection{[~Exercice~]} - \begin{exercice} Démarrer le logiciel \alert{Texmaker} (Windows), \alert{TeXShop} (macOS) ou tout autre éditeur ou logiciel intégré de rédaction de @@ -123,55 +120,13 @@ \end{enumerate} \end{exercice} -\subsection{Outils de production} - -\begin{frame} - \frametitle{Moteurs et formats} - \centering - - \begin{tabular}{r} - \\ \addlinespace[8pt] \\ \\ - \color{alert}\faArrowRight \\ - \color{alert}\faArrowRight - \end{tabular} - \hspace{-4mm} - \begin{tabularx}{0.7\linewidth}{Xlc} - \toprule[2pt] - Moteur & Format & Fichier de sortie \\ - \midrule - \texttt{tex} & plain \TeX & DVI \\ - \texttt{tex} (\texttt{latex}) & \LaTeX & DVI \\ - \texttt{pdftex} (\texttt{pdflatex}) & pdf\LaTeX & PDF \\ - \texttt{xetex} (\texttt{xelatex}) & \XeLaTeX & PDF \\ - \bottomrule[2pt] - \end{tabularx} -\end{frame} - -\begin{frame}[fragile=singleslide] - \frametitle{Faits amusants} - \begin{itemize} - \item {\TeX} est aujourd'hui considéré exempt de bogue - \item Récompense si vous en trouvez un! - \item Numéro de version de {\TeX} converge vers $\pi$: -\begin{lstlisting} -$ tex --version -TeX `\textbf{3.14159265}' (TeX Live 2018) -kpathsea version 6.3.0 -Copyright 2018 D.E. Knuth. -[...] -\end{lstlisting} %$ - \end{itemize} -\end{frame} - -\subsection{[~Exercice~]} - \begin{exercice} Question de voir ce que {\LaTeX} peut faire, compiler le document élaboré \fichier{exercice\_demo.tex} de la manière suivante: \begin{enumerate}[i)] - \item une fois avec \texttt{LaTeX}; - \item une fois avec \texttt{BibTeX}; - \item deux à trois fois avec \texttt{LaTeX}. + \item une fois avec \code{LaTeX}; + \item une fois avec \code{BibTeX}; + \item deux à trois fois avec \code{LaTeX}. \end{enumerate} \end{exercice} diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/presentation.tex b/Master/texmf-dist/source/latex/formation-latex-ul/presentation.tex index 067ec32683e..d51fc7896ea 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/presentation.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/presentation.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» @@ -56,7 +56,7 @@ distinguer le système de mise en page du matériau élastique. \notebox{L'histoire courte \emph{Paul apprenti typographe} publiée dans \citet{Rabagliati:1999:campagne} explique formidablement bien - le processus de composation d'un texte avec la Linotype. Quelques + le processus de composition d'un texte avec la Linotype. Quelques séquences du très recommandable film \emph{The Post} (2017) illustrent également la composition d'une page de journal.} @@ -180,7 +180,7 @@ ainsi: \begin{center} \begin{minipage}[t]{0.25\linewidth} \centering - {\Huge\faFileTextO} \\ \medskip + {\Huge\faFile*[regular]} \\ \medskip rédaction du texte et balisage avec un \emph{éditeur de texte} \end{minipage} \quad{\Large\faArrowRight}\quad @@ -192,7 +192,7 @@ ainsi: \quad{\Large\faArrowRight}\quad \begin{minipage}[t]{0.25\linewidth} \centering - {\Huge\faFilePdfO} \\ \medskip + {\Huge\faFilePdf[regular]} \\ \medskip visualisation avec une visionneuse externe (Aperçu, SumatraPDF, etc.) \end{minipage} @@ -331,7 +331,7 @@ demeure également très populaire sur Windows. \begin{exercice}[nosol] Composer un premier document très simple de type \emph{Hello World!} tel qu'expliqué dans les vidéos mentionnées à la - \autoref{sec:presentation:outils}. + \autoref{sec:presentation:processus}. \end{exercice} \begin{exercice}[nosol] diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/solutions.tex b/Master/texmf-dist/source/latex/formation-latex-ul/solutions.tex index 17ebe301c2f..b6714a5e3cd 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/solutions.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/solutions.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/suite-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/suite-diapos.tex index e5dfa5aa4be..e108f49480b 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/suite-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/suite-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/sweave-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/sweave-diapos.tex deleted file mode 100644 index a18245ae26b..00000000000 --- a/Master/texmf-dist/source/latex/formation-latex-ul/sweave-diapos.tex +++ /dev/null @@ -1,63 +0,0 @@ -%%% Copyright (C) 2018 Vincent Goulet -%%% -%%% Ce fichier fait partie du projet -%%% «Rédaction avec LaTeX» -%%% https://gitlab.com/vigou3/formation-latex-ul -%%% -%%% Cette création est mise à disposition sous licence -%%% Attribution-Partage dans les mêmes conditions 4.0 -%%% International de Creative Commons. -%%% https://creativecommons.org/licenses/by-sa/4.0/ - -\section{Programmation lettrée} - -\begin{frame}[fragile=singleslide] - \frametitle{Document source combinant {\LaTeX} et code R} - - \fichier{fichier.Rnw} -\begin{lstlisting}[emph={Sexpr}] -... - -L'utilisateur de R interagit avec l'interprète en entrant -des commandes à l'invite de commande: -<>= -2 + 3 -@ -La commande \verb=exp(1)= donne \Sexpr{exp(1)}, -la valeur du nombre $e$. - -... -\end{lstlisting} -\end{frame} - -\begin{frame}[fragile=singleslide] - \frametitle{Après traitement par Sweave dans R} - - \texttt{Sweave("fichier.Rnw")} - $\rightarrow$ \fichier{fichier.tex} -\begin{lstlisting}[emph={Schunk,Sinput,Soutput}] -... - -L'utilisateur de R interagit avec l'interprète en entrant -des commandes à l'invite de commande: -\begin{Schunk} -\begin{Sinput} -> 2 + 3 -\end{Sinput} -\begin{Soutput} -[1] 5 -\end{Soutput} -\end{Schunk} -La commande \verb=exp(1)= donne 2.71828182845905, -la valeur du nombre $e$. - -... -\end{lstlisting} - -\end{frame} - -%%% Local Variables: -%%% TeX-master: "formation-latex-ul-diapos" -%%% TeX-engine: xetex -%%% coding: utf-8 -%%% End: diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/tableaux+figures.tex b/Master/texmf-dist/source/latex/formation-latex-ul/tableaux+figures.tex index 8e8157db3e5..f73d51329ab 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/tableaux+figures.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/tableaux+figures.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/tableaux-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/tableaux-diapos.tex index 03bc0c78d45..88487b9a3b4 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/tableaux-diapos.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/tableaux-diapos.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/trucs+astuces.tex b/Master/texmf-dist/source/latex/formation-latex-ul/trucs+astuces.tex index ba1d74450d8..2938c1403c9 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/trucs+astuces.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/trucs+astuces.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/ulthese-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/ulthese-diapos.tex deleted file mode 100644 index 5845fed19e5..00000000000 --- a/Master/texmf-dist/source/latex/formation-latex-ul/ulthese-diapos.tex +++ /dev/null @@ -1,57 +0,0 @@ -%%% Copyright (C) 2018 Vincent Goulet -%%% -%%% Ce fichier fait partie du projet -%%% «Rédaction avec LaTeX» -%%% https://gitlab.com/vigou3/formation-latex-ul -%%% -%%% Cette création est mise à disposition sous licence -%%% Attribution-Partage dans les mêmes conditions 4.0 -%%% International de Creative Commons. -%%% https://creativecommons.org/licenses/by-sa/4.0/ - -\section{Classe ulthese} - -\begin{frame} - \frametitle{Un document conforme en un tournemain} - - \begin{itemize} - \item \class{ulthese} livrée dans {\TeX}~Live donc déjà - installée sur votre ordinateur - \item Mise en page conforme aux règles de présentation de la FESP - \item Basée sur la classe \class{memoir} - \item Quelques nouvelles commandes pour la création de la page de - titre - \item Partir d'un gabarit (classés avec la documentation dans - {\TeX}~Live) - \item Utiliser des fichiers séparés pour chaque chapitre de la thèse - ou du mémoire - \end{itemize} -\end{frame} - -\subsection{[~Exercice~]} - -\begin{exercice} - Utiliser le fichier \fichier{exercice\_ulthese.tex} --- qui est basé - sur le gabarit \texttt{gabarit-doctorat.tex} livré avec - \class{ulthese}. - - Ce fichier insère \fichier{b-a-ba-math.tex} dans le document avec la - commande \cs{include}. - \begin{enumerate} - \item Étudier le code source des deux fichiers et identifier à quel - endroit \texttt{b-a-ba-math.tex} est chargé dans le document. - \item Activer les paquetages \pkg{amsmath} et \pkg{icomma}, puis - compiler \texttt{exercice\_ulthese.tex}. - \item Modifier un environnement \texttt{align*} pour \texttt{align} - dans \texttt{b-a-ba-math.tex} et observer le résultat dans la - compilation de \texttt{exercice\_ulthese.tex}. - \item Compiler de nouveau le fichier en utilisant une police - différente. - \end{enumerate} -\end{exercice} - -%%% Local Variables: -%%% TeX-master: "formation-latex-ul-diapos" -%%% TeX-engine: xetex -%%% coding: utf-8 -%%% End: diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/ulthese.tex b/Master/texmf-dist/source/latex/formation-latex-ul/ulthese.tex index 2646c61c03a..d7590f8b420 100644 --- a/Master/texmf-dist/source/latex/formation-latex-ul/ulthese.tex +++ b/Master/texmf-dist/source/latex/formation-latex-ul/ulthese.tex @@ -1,4 +1,4 @@ -%%% Copyright (C) 2018 Vincent Goulet +%%% Copyright (C) 2020 Vincent Goulet %%% %%% Ce fichier fait partie du projet %%% «Rédaction avec LaTeX» -- cgit v1.2.3