LaTeX: créer une table des matières et une structure - comment cela fonctionne
Voulez-vous créer une table des matières et un plan pour un LaTeX? Dans cette astuce pratique, nous vous montrons comment procéder:
Comment obtenir la table des matières et la structure dans LaTeX
Si vous souhaitez créer une table des matières et un plan dans le progiciel TeX LaTeX, vous devez connaître quelques commandes pour les différentes classes de documents. Suivez ces étapes pour structurer vos documents texte de l'article des classes (scrartcl), livre (scrbook) ou rapport (scrreprt) dans l'éditeur LaTeX Texmaker:
- Démarrez votre document LaTeX comme d'habitude.
- Utilisez la commande \ tableofcontents au début du document texte pour créer une table des matières.
- La commande \ chapter {*} est disponible pour le livre et le rapport sur les classes de documents. Avec cela, vous créez une nouvelle page dans le rapport, avec le livre, cela est créé sur la prochaine page droite gratuite. \ chapter {*} est le niveau supérieur pour ces deux classes de documents.
- En dessous de ce niveau se trouve le niveau \ section {*} - vous pouvez l'utiliser pour créer des en-têtes. Dans la classe de document article, il s'agit du niveau de structure le plus élevé. Utilisez \ paragraph {*} pour créer des sous-titres et \ subsubsection {*} pour créer des sous-titres.
- Avec les commandes \ paragraph {*} et \ paragraph {*}, vous pouvez diviser vos paragraphes en paragraphes et sous-paragraphes.
- Vous disposez maintenant de toutes les commandes pour structurer votre document LaTeX et créer une table des matières.