summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/formation-latex-ul
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-01-21 22:38:41 +0000
committerKarl Berry <karl@freefriends.org>2017-01-21 22:38:41 +0000
commit042efc3010d33703ce17f48948f9abd244eb5458 (patch)
tree2cae932ea173b9151252cfba42f4ecf308ba4549 /Master/texmf-dist/source/latex/formation-latex-ul
parent3492a9c6d532d4db3846b9aa9533b12a98990465 (diff)
formation-latex-ul (21jan17)
git-svn-id: svn://tug.org/texlive/trunk@43005 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/formation-latex-ul')
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul-diapos.tex100
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/formation-latex-ul.tex25
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/frontispice.tex2
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/licence-diapos.tex4
-rw-r--r--Master/texmf-dist/source/latex/formation-latex-ul/licence.tex4
5 files changed, 78 insertions, 57 deletions
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 2637a7682d7..14b47f764df 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
@@ -9,6 +9,17 @@
\usepackage[export]{adjustbox} % cadre serré autour d'une image
\usepackage[overlay,absolute]{textpos}
+ %% =============================
+ %% Informations de publication
+ %% =============================
+ \renewcommand{\year}{2016}
+ \renewcommand{\month}{11-3}
+ \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/}
+
+ %% =======================
+ %% Apparence du document
+ %% =======================
+
%% Polices de caractères
\usepackage{fontspec}
\usepackage{unicode-math}
@@ -89,27 +100,27 @@
%% Paramétrage de babel pour les guillemets
\frenchbsetup{og=«, fg=»}
- %% Nouvelles commandes
- \newcommand{\fichier}[1]{\fbox{\texttt{#1}}}
- \newcommand{\class}[1]{\textbf{#1}}
- \newcommand{\pkg}[1]{\textbf{#1}}
- \newcommand{\link}[2]{\href{#1}{#2~\raisebox{-0.2ex}{\faExternalLink}}}
- \newcommand{\capsule}[2]{\href{#1}{\faYoutubePlay~#2}}
+ %% Sections de code source
+ \lstloadlanguages{[LaTeX]TeX}
+ \lstset{language=[LaTeX]TeX,
+ escapeinside=`',
+ extendedchars=true,
+ inputencoding=utf8/latin1,
+ basicstyle=\small\ttfamily\NoAutoSpacing,
+ commentstyle=\color{comments}\slshape,
+ keywordstyle=\mdseries,
+ emphstyle=\color{emphasis}\bfseries,
+ backgroundcolor=\color{LightYellow1},
+ frame=none,
+ showstringspaces=false}
- %% «Bouton» de la page de copyright
- \newcommand{\browsebutton}{%
- \setlength{\fboxrule}{0.5pt}%
- \framebox[20mm][l]{%
- \makebox[2.5mm]{\raisebox{-1.5pt}{\scriptsize\faExternalLink}}\;%
- {\sffamily Accéder au dépôt}}}
+ %%% =========================
+ %%% Nouveaux environnements
+ %%% =========================
- %% «Bouton» pour accéder à CTAN
- \newcommand{\ctanbutton}{%
- \setlength{\fboxrule}{1pt}%
- \framebox[60mm][l]{%
- \rule[-5pt]{0mm}{16pt}%
- \makebox[7mm]{\raisebox{-2.5pt}{\Large\faExternalLink}}\;%
- {\sffamily Accéder aux fichiers dans CTAN}}}
+ %% Exercices
+ \theoremstyle{example}
+ \newtheorem{exercice}[theorem]{Exercice}
%% Environnements pour les demo de code; tirés du document
%% principal.
@@ -151,23 +162,35 @@
\begin{minipage}[t]{0.88\textwidth}}%
{\end{minipage}\end{alertblock}}
- %% Exercices
- \theoremstyle{example}
- \newtheorem{exercice}[theorem]{Exercice}
+ %% =====================
+ %% Nouvelles commandes
+ %% =====================
- %% Paramètres de listings
- \lstloadlanguages{[LaTeX]TeX}
- \lstset{language=[LaTeX]TeX,
- escapeinside=`',
- extendedchars=true,
- inputencoding=utf8/latin1,
- basicstyle=\small\ttfamily\NoAutoSpacing,
- commentstyle=\color{comments}\slshape,
- keywordstyle=\mdseries,
- emphstyle=\color{emphasis}\bfseries,
- backgroundcolor=\color{LightYellow1},
- frame=none,
- showstringspaces=false}
+ %% Noms de fonctions, code, environnement, etc.
+ \newcommand{\fichier}[1]{\fbox{\texttt{#1}}}
+ \newcommand{\class}[1]{\textbf{#1}}
+ \newcommand{\pkg}[1]{\textbf{#1}}
+ \newcommand{\link}[2]{\href{#1}{#2~\raisebox{-0.2ex}{\faExternalLink}}}
+ \newcommand{\capsule}[2]{\href{#1}{\faYoutubePlay~#2}}
+
+ %% «Bouton» de la page de copyright
+ \newcommand{\browsebutton}{%
+ \setlength{\fboxrule}{0.5pt}%
+ \framebox[20mm][c]{%
+ \makebox[2.5mm]{\raisebox{-1pt}{\footnotesize\faGithub}}\;%
+ {\sffamily Voir sur GitHub}}}
+
+ %% «Bouton» pour accéder à CTAN
+ \newcommand{\ctanbutton}{%
+ \setlength{\fboxrule}{1pt}%
+ \framebox[60mm][l]{%
+ \rule[-5pt]{0mm}{16pt}%
+ \makebox[7mm]{\raisebox{-2.5pt}{\Large\faExternalLink}}\;%
+ {\sffamily Accéder aux fichiers dans CTAN}}}
+
+ %%% =======
+ %%% Varia
+ %%% =======
%% Nouveaux compteurs requis pour ajouter les numéros d'exercices
%% dans la table des matières. Une page compte deux exercices;
@@ -175,9 +198,6 @@
\newcounter{exerciceref}
\newcounter{exercicerefb}
- %% URL du projet dans CTAN
- \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/}
-
%% Longueurs pour la composition des pages couvertures avant et
%% arrière.
\newlength{\banderougewidth} \newlength{\banderougeheight}
@@ -186,10 +206,6 @@
\newlength{\logoheight}
\newlength{\gapwidth}
- %% Année du copyright
- \renewcommand{\year}{2016}
- \renewcommand{\month}{11-1}
-
\begin{document}
\input{couverture-avant-diapos}
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 f2ec2d631d2..1fd0ead885e 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
@@ -19,6 +19,14 @@
\usepackage{ifthen} % exécution conditionnelle
+ %%% =============================
+ %%% Informations de publication
+ %%% =============================
+ \renewcommand{\year}{2016}
+ \renewcommand{\month}{11-3}
+ \newcommand{\ISBN}{978-2-9811416-7-5}
+ \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/}
+
%%% ===================
%%% Style du document
%%% ===================
@@ -363,10 +371,10 @@
%% «Bouton» de la page de copyright
\newcommand{\browsebutton}{%
\setlength{\fboxrule}{1pt}%
- \framebox[40mm][l]{%
+ \framebox[40mm][c]{%
\rule[-5pt]{0mm}{16pt}%
- \makebox[7mm]{\raisebox{-3pt}{\LARGE\faExternalLink}}\;%
- {\sffamily Accéder au dépôt}}}
+ \makebox[7mm]{\raisebox{-2pt}{\LARGE\faGithub}}\;%
+ {\sffamily Voir sur GitHub}}}
%% Pour le tableau des commandes d'espacement en mode mathématique.
%% Pris de la doc de amsmath.
@@ -408,9 +416,10 @@
\newlength{\logoheight}
\newlength{\gapwidth}
- %%% ==================================================
- %%% Page titre et autres informations de publication
- %%% ==================================================
+
+ %%% ============
+ %%% Page titre
+ %%% ============
\title{\protect\raggedright%
\sffamily\bfseries
\fontsize{40}{40}\selectfont
@@ -434,10 +443,6 @@
\date{%
\sffamily\mdseries\fontsize{15}{20}\selectfont
Édition {\fullcaps\year}.\month}
- \renewcommand{\year}{2016}
- \renewcommand{\month}{11-1}
- \newcommand{\ISBN}{978-2-9811416-7-5}
- \newcommand{\ctanurl}{https://ctan.org/pkg/formation-latex-ul/}
% \includeonly{couverture-avant,frontispice}
diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/frontispice.tex b/Master/texmf-dist/source/latex/formation-latex-ul/frontispice.tex
index 6232e6eacd8..69658fad2f3 100644
--- a/Master/texmf-dist/source/latex/formation-latex-ul/frontispice.tex
+++ b/Master/texmf-dist/source/latex/formation-latex-ul/frontispice.tex
@@ -17,7 +17,7 @@
\end{minipage}
\end{textblock*}
-%% éditionq
+%% édition
\begin{textblock*}{1.7\TPHorizModule}(0.3\TPHorizModule,30\TPVertModule)
\begin{minipage}{\textwidth}
\thedate
diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/licence-diapos.tex b/Master/texmf-dist/source/latex/formation-latex-ul/licence-diapos.tex
index ca01b5c00ee..9f11bdc624c 100644
--- a/Master/texmf-dist/source/latex/formation-latex-ul/licence-diapos.tex
+++ b/Master/texmf-dist/source/latex/formation-latex-ul/licence-diapos.tex
@@ -45,9 +45,9 @@
\textbf{Code source} \\
\begin{tabularx}{0.6\linewidth}{@{}Xl@{}}
Le code source de ce document est conservé dans un dépôt
- Subversion public. &
+ Git public. &
\raisebox{-3pt}{%
- \href{https://svn.fsg.ulaval.ca/svn-pub/vgoulet/formation_latex/}{%
+ \href{https://github.com/vigou3/formation-latex-ul/}{%
\browsebutton}}
\end{tabularx}
\vspace*{4mm}
diff --git a/Master/texmf-dist/source/latex/formation-latex-ul/licence.tex b/Master/texmf-dist/source/latex/formation-latex-ul/licence.tex
index e53ccf6b8a8..a21351ebb0c 100644
--- a/Master/texmf-dist/source/latex/formation-latex-ul/licence.tex
+++ b/Master/texmf-dist/source/latex/formation-latex-ul/licence.tex
@@ -45,9 +45,9 @@
\textbf{Code source} \\[4pt]
\begin{tabularx}{1.0\linewidth}{@{}Xl@{}}
Le code source de ce document est conservé dans un dépôt
- Subversion public. &
+ Git public. &
\raisebox{-7pt}{%
- \href{https://svn.fsg.ulaval.ca/svn-pub/vgoulet/formation_latex/}{%
+ \href{https://github.com/vigou3/formation-latex-ul/}{%
\browsebutton}}
\end{tabularx}
\vspace*{4mm}