Citations and bibliography · Citations et bibliographie
Citing your sources
- Academic writing must say where facts came from. LaTeX makes this tidy.
- You keep a list of sources, each with a key, and cite the key in your text.
Citer vos sources
- L'écriture académique doit indiquer l'origine des faits. LaTeX rend cela propre.
- Vous tenez une liste de sources, chacune avec une clé, et vous citez la clé dans votre texte.
The bibliography
- List your sources in a
thebibliographyenvironment, each as a\bibitem:
- The
{9}just says "numbers are one digit wide".lamportis the key you choose.
La bibliographie
- Listez vos sources dans un environnement
thebibliography, chacune sous la forme d'un\bibitem:
\begin{thebibliography}{9}
\bibitem{lamport} Leslie Lamport. \emph{LaTeX}. 1986.
\end{thebibliography}
- Le
{9}indique simplement "les numéros ont une largeur d'un chiffre".lamportest la clé que tu choisis.
Citing in the text
- Anywhere in the document, write
\cite{lamport}:
- LaTeX prints
[1]and keeps the numbers in order. Add a source and everything renumbers.
Citer dans le texte
- N'importe où dans le document, écris
\cite{lamport}:
LaTeX is powerful~\cite{lamport}.
- LaTeX imprime
[1]et garde les numéros en ordre. Ajoute une source et tout se renumérote.
Common mistakes
\cite{key}needs that key defined in your bibliography.- Compile twice, or the citations show as
?.
Erreurs courantes
\cite{key}nécessite que cette clé soit définie dans ta bibliographie.- Compile deux fois, sinon les citations s'affichent comme
?.
Cite the book in the sentence with \cite{lamport}, and add a matching \bibitem{lamport} entry inside the bibliography. The same key links the two. · Citez le livre dans la phrase avec \cite{lamport}, et ajoutez une entrée correspondante \bibitem{lamport} dans la bibliographie. La même clé lie les deux.
Add a second source. Give the second book a \bibitem{knuth} entry, then cite it in the sentence with \cite{knuth}. Watch LaTeX number them in citation order. · Ajoutez une deuxième source. Donnez au second livre une entrée \bibitem{knuth}, puis citez-la dans la phrase avec \cite{knuth}. Observez comment LaTeX les numérote par ordre de citation.