LaTeX: luo sisällysluettelo ja rakenne - miten se toimii
Haluatko luoda sisältöluettelon ja ääriviivat LaTeX: lle? Tässä käytännöllisessä kärjessä osoitamme sinulle miten edetä:
Kuinka saada sisällysluettelo ja rakenne LaTeX: stä
Jos haluat luoda sisällysluettelon ja ääriviivat TeX-ohjelmistopakettiin LaTeX, sinun on tiedettävä muutama komento eri asiakirjaluokille. Seuraa näitä vaiheita strukturoidaksesi luokkaartikkelin (scrartcl), kirjan (kirjanpito) tai raportin (scrreprt) tekstidokumentit LaTeX-editorissa Texmaker:
- Käynnistä LaTeX-dokumentti tavalliseen tapaan.
- Luo sisällysluettelo tekstitekstin alussa olevalla komennolla \ tableofcontents.
- Komento \ luku {*} on käytettävissä asiakirjaluokkille ja raportille. Tämän avulla luot uuden sivun raportissa, ja kirja luodaan seuraavalle vapaalle oikealle sivulle. \ luku {*} on näiden kahden asiakirjaluokan ylin taso.
- Tämän tason alapuolella on \ osa {*} -taso - tämän avulla voit luoda otsikoita. Artikkelikirjaluokassa tämä on korkein rakennetaso. Käytä \ subsection {*} alaotsikoita ja \ sububsection {*} alaotsikoiden luomiseen.
- Komennoilla \ kappale {*} ja \ alaosa {*} voit jakaa kappaleesi kappaleisiin ja alakohtiin.
- Nyt sinulla on kaikki komennot LaTeX-dokumentin jäsentelemiseksi ja sisällysluettelon luomiseksi.