lm204 : introductionàlatexmainguy/enseignement/latex/partie1/sl… · présentationducours. . . ....
TRANSCRIPT
![Page 1: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/1.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
LM204 :Introduction à LATEX
Thomas Mainguy
ENS
![Page 2: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/2.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Qui suis-je ?
Thésard au Département deMathématiques et Applications de l’ÉNS. C’est latroisième année que je m’occupe de ce cours, en collaboration avec SamuelBaumard (IMJ) et Éric Balandraud (IMJ).
Page web : www.math.jussieu.fr/~baumard/latex.html
Pour me joindre : [email protected]
![Page 3: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/3.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Objectif
Savoir produire des documents écrits de qualité professionnelle,contenant notamment des mathématiques, et gérant efficace-ment les bibliographies et les références internes.
![Page 4: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/4.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
L’imprimerie, parenthèse historique
But de l’imprimerie : pour quoi faire ?
Produire en masse et à moindres fraisdes documents lisibles (sur papier).
Un peu d’histoire : qui, comment ?
Xylographie : VIIe siècle, Chine
Caractères mobiles : XIe siècle, Chine
Caractères mobiles en plomb et presse :
![Page 5: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/5.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
L’imprimerie, parenthèse historique
But de l’imprimerie : pour quoi faire ? Produire en masse et à moindres fraisdes documents lisibles (sur papier).
Un peu d’histoire : qui, comment ?
Xylographie : VIIe siècle, Chine
Caractères mobiles : XIe siècle, Chine
Caractères mobiles en plomb et presse :
![Page 6: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/6.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
L’imprimerie, parenthèse historique
But de l’imprimerie : pour quoi faire ? Produire en masse et à moindres fraisdes documents lisibles (sur papier).
Un peu d’histoire : qui, comment ?
Xylographie : VIIe siècle, Chine
Caractères mobiles : XIe siècle, Chine
Caractères mobiles en plomb et presse :
![Page 7: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/7.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
L’imprimerie, parenthèse historique
But de l’imprimerie : pour quoi faire ? Produire en masse et à moindres fraisdes documents lisibles (sur papier).
Un peu d’histoire : qui, comment ?
Xylographie : VIIe siècle, Chine
Caractères mobiles : XIe siècle, Chine
Caractères mobiles en plomb et presse : , Gutenberg
![Page 8: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/8.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Quelques fontes historiques
Gutenberg
Garamond
Didot –
Gill Sans
Computer Modern
![Page 9: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/9.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
L’imprimerie, parenthèse historique : les temps modernes
Xylographie : VIIe siècle, Chine
Caractères mobiles : XIe siècle, Chine
Caractères mobiles en plomb et presse : , Gutenberg
Automatisation et informatisation progressives
TEX : , Donald Knuth(Prononcer tèque comme dans pastèque.)
LATEX : , Leslie Lamport
![Page 10: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/10.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Ce qu’on peut faire
The Art of Computer Programming :
Une bible de
![Page 11: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/11.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Ce qu’on peut faire
Des choses compliquées :
Une bible de
![Page 12: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/12.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Ce qu’on peut faire
Des choses compliquées :
Une bible de en LATEX
![Page 13: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/13.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Ce qu’on peut faire
Des choses un peu plus simples :
Extrait des publications de l’IHÉS, tirage au plomb
![Page 14: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/14.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Ce qu’on peut faire
Des choses un peu plus simples :
Extrait des publications de l’IHÉS, copie en LATEX
![Page 15: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/15.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Programme
Bases théoriques
Formatage de texte
Mathématiques
Tableaux
Bibliographies
![Page 16: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/16.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Le Manuel
La référence pour le cours : Apprentissage et pratique de LATEX,par Manuel Pégourié-Gonnard, sur
www.math.jussieu.fr/~mpg/lm204
![Page 17: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/17.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Validation
Validation : un partiel avec questions à faire à la maison (rendu vers le octobre), un examen libre à rendre à la fin du semestre.
![Page 18: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/18.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Et vous, à quoi LATEXva-t-il vous servir ?
![Page 19: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/19.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
LATEX, c’est…
Une façon de transformer du texte brut
J’ai vu un punk afghan et deux clowns auxzygomatiques incroyables.
en texte affiché à l’écran ou imprimé
J’ai vu un punk afghanet deux clowns
aux zygomatiques incroyables.
en l’incluant dans un code source :
\begin{flushright}
J’ai vu un punk afghan \\et deux clowns \\aux zygomatiques \emph{incroyables}.
\end{flushright}
À proprement parler, c’est un langage à balises, comme le HTML.
![Page 20: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/20.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
LATEX, c’est…
Une façon de transformer du texte brut
J’ai vu un punk afghan et deux clowns auxzygomatiques incroyables.
en texte affiché à l’écran ou imprimé
J’ai vu un punk afghanet deux clowns
aux zygomatiques incroyables.
en l’incluant dans un code source :
\begin{flushright}
J’ai vu un punk afghan \\et deux clowns \\aux zygomatiques \emph{incroyables}.
\end{flushright}
À proprement parler, c’est un langage à balises, comme le HTML.
![Page 21: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/21.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
LATEX, c’est…
Une façon de transformer du texte brut
J’ai vu un punk afghan et deux clowns auxzygomatiques incroyables.
en texte affiché à l’écran ou imprimé
J’ai vu un punk afghanet deux clowns
aux zygomatiques incroyables.
en l’incluant dans un code source :
\begin{flushright}
J’ai vu un punk afghan \\et deux clowns \\aux zygomatiques \emph{incroyables}.
\end{flushright}
À proprement parler, c’est un langage à balises, comme le HTML.
![Page 22: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/22.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Niveaux
) Distribution : ensemble de logiciels. TeX Live, MiKTeX…
) Éditeurs : interface utilisateur. Texmaker, Kile…
) Moteurs : exécutables de bas niveau. pdfTeX, TeX, XeTeX…
) Formats : langages employés. pdfLaTeX, LaTeX, ConTeXt…
) Paquets : ajouts indépendants au noyau. lmodern, amsmath…
![Page 23: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/23.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Niveaux
) Distribution : ensemble de logiciels. TeX Live, MiKTeX…
) Éditeurs : interface utilisateur. Texmaker, Kile…
) Moteurs : exécutables de bas niveau. pdfTeX, TeX, XeTeX…
) Formats : langages employés. pdfLaTeX, LaTeX, ConTeXt…
) Paquets : ajouts indépendants au noyau. lmodern, amsmath…
![Page 24: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/24.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Niveaux
) Distribution : ensemble de logiciels. TeX Live, MiKTeX…
) Éditeurs : interface utilisateur. Texmaker, Kile…
) Moteurs : exécutables de bas niveau. pdfTeX, TeX, XeTeX…
) Formats : langages employés. pdfLaTeX, LaTeX, ConTeXt…
) Paquets : ajouts indépendants au noyau. lmodern, amsmath…
![Page 25: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/25.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Niveaux
) Distribution : ensemble de logiciels. TeX Live, MiKTeX…
) Éditeurs : interface utilisateur. Texmaker, Kile…
) Moteurs : exécutables de bas niveau. pdfTeX, TeX, XeTeX…
) Formats : langages employés. pdfLaTeX, LaTeX, ConTeXt…
) Paquets : ajouts indépendants au noyau. lmodern, amsmath…
![Page 26: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/26.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Niveaux
) Distribution : ensemble de logiciels. TeX Live, MiKTeX…
) Éditeurs : interface utilisateur. Texmaker, Kile…
) Moteurs : exécutables de bas niveau. pdfTeX, TeX, XeTeX…
) Formats : langages employés. pdfLaTeX, LaTeX, ConTeXt…
) Paquets : ajouts indépendants au noyau. lmodern, amsmath…
![Page 27: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/27.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
À retenir
code source (LaTeX)
compilateur (pdfLaTeX)
))RRRRRRR
RRRRRRR
utilisateur (vous)
éditeur (Texmaker)
66lllllllllllllrésultat final (pdf)
![Page 28: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/28.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Codages
Il va falloir expliquer à LATEX quels protocoles utiliser pour coder les caractèreset pour les afficher.
Codage d’entrée (inputenc) : ce sera l’Unicode (utf). § à ç Œ Þ
Codage de sortie (fontenc) : ce sera le type (T). § à ç Œ Þ
![Page 29: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/29.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Réglages
+ Paramétrer l’éditeur pour qu’il accepte l’utf et produise du pdf.
Barre des tâches > Options > Configurer Texmaker
![Page 30: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/30.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Réglages
+ Paramétrer l’éditeur pour qu’il accepte l’utf et produise du pdf.
Barre des tâches > Options > Configurer Texmaker
![Page 31: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/31.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Trois notions-clé
Terme Explication Exemples
Commande Fonction. Peut avoir zéro, un ouplusieurs arguments, et prendre desoptions. Commence par \ et utilise {}.
\documentclass,\emph, \medskip
Paquet Module apportant certainesfonctionnalités. Appelé par lacommande \usepackage.
inputenc, lmodern,amsmath
Environnement Bloc encadré par lescommandes \begin et \end.
document, theorem,proof
![Page 32: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/32.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Trois notions-clé
Terme Explication Exemples
Commande Fonction. Peut avoir zéro, un ouplusieurs arguments, et prendre desoptions. Commence par \ et utilise {}.
\documentclass,\emph, \medskip
Paquet Module apportant certainesfonctionnalités. Appelé par lacommande \usepackage.
inputenc, lmodern,amsmath
Environnement Bloc encadré par lescommandes \begin et \end.
document, theorem,proof
![Page 33: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/33.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Trois notions-clé
Terme Explication Exemples
Commande Fonction. Peut avoir zéro, un ouplusieurs arguments, et prendre desoptions. Commence par \ et utilise {}.
\documentclass,\emph, \medskip
Paquet Module apportant certainesfonctionnalités. Appelé par lacommande \usepackage.
inputenc, lmodern,amsmath
Environnement Bloc encadré par lescommandes \begin et \end.
document, theorem,proof
![Page 34: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/34.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
![Page 35: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/35.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
C’est parti !
![Page 36: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/36.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Le cap « code »
+ Commencez par créer un document intitulé minimal.tex dans un ré-pertoire de votre choix, et ouvrez-le avec Texmaker.
![Page 37: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/37.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Le cap « code »
\documentclass{minimal} type du document \usepackage[utf8]{inputenc} codage d’entrée \usepackage[T1]{fontenc} codage de sortie \begin{document} début du document Hello World! texte brut \end{document} fin du document
![Page 38: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/38.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Compilation & astuces
On peut compiler et visualiser en cliquant sur des boutons… mais latouche F1 du clavier fait par défaut le même travail.
À la compilation, le code source est automatiquement enregistré, et lefichier pdf est sauvegardé dans le même répertoire.
L’autocomplétion évite d’avoir à mémoriser complètement la syntaxedes commandes.
![Page 39: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/39.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Un texte plus long
+ Sur la page http://enneagon.org/phrases, vous pouvez générerdes phrases aléatoires (faux-texte). Mettez-les dans votre code source à laplace de « Hello World! », et expérimentez :
Que donnent les espaces et les sauts de lignes à la compilation ?
Comment obtenir du gras ? De l’italique ?
Comment commencer un nouveau paragraphe ?
Comment centrer du texte ?
![Page 40: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/40.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Installation
+ Pour la prochaine fois, installez une distribution LATEX sur votreordinateur si vous en avez un, ainsi qu’une version de Texmaker.+ Vérifiez que tout marche bien en refaisant les exercices.
Si vous avez un portable, vous pouvez l’amener à la séance.La distribution que vous allez devoir installer dépend de votre systèmed’exploitation :
Système d’exploitation Distribution LATEX
Unix/Linux TEXLiveWindows MiKTEXMac OS MacTEX
B Les distributions peuvent être assez volumineuses.
![Page 41: LM204 : IntroductionàLATEXmainguy/enseignement/latex/partie1/sl… · Présentationducours. . . . . . . Commentçamarche?. . . Unexempleminimal. . Suiteetfin Objectif Savoirproduiredesdocumentsécritsdequalitéprofessionnelle,](https://reader036.vdocument.in/reader036/viewer/2022062606/5fe77cf006093b367575b71d/html5/thumbnails/41.jpg)
.....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
....
.
....
.
.....
.
....
.
.....
.
....
.
....
.
. . . . . . . . . . . .Présentation du cours
. . . . . . .Comment ça marche ?
. . .Un exemple minimal
. .Suite et fin
Installation
+ Pour la prochaine fois, installez une distribution LATEX sur votreordinateur si vous en avez un, ainsi qu’une version de Texmaker.+ Vérifiez que tout marche bien en refaisant les exercices.
Si vous avez un portable, vous pouvez l’amener à la séance.La distribution que vous allez devoir installer dépend de votre systèmed’exploitation :
Système d’exploitation Distribution LATEX
Unix/Linux TEXLiveWindows MiKTEXMac OS MacTEX
B Les distributions peuvent être assez volumineuses.