LaTeX: създайте съдържанието и структурата - как работи
Искате ли да създадете съдържание и контур за LaTeX? В този практичен съвет ви показваме как да продължите:
Как да получите съдържанието и структурата в LaTeX
Ако искате да създадете съдържание и контур в TeX софтуерен пакет LaTeX, трябва да знаете няколко команди за различните класове документи. Следвайте тези стъпки, за да структурирате текстовите си документи от статията за класовете (scrartcl), книга (scrbook) или отчет (scrreprt) в редактора на LaTeX Texmaker:
- Стартирайте вашия LaTeX документ както обикновено.
- Използвайте командата \ tableofcontents в началото на текстовия документ, за да създадете съдържанието.
- Командата \ глава {*} е достъпна за книгите и отчетите за класове на документи. С това създавате нова страница в отчет, с книга това се създава на следващата безплатна дясна страница. \ глава {*} е най-горното ниво за тези два класа документи.
- Под това ниво е ниво \ section {*} - можете да го използвате за създаване на заглавия. В класа на статията на документа това е най-високото ниво на структура. Използвайте \ subsection {*}, за да създадете подзаглавия, и \ sububsection {*}, за да създадете подзаглавия.
- С командите \ параграф {*} и \ алинея {*} можете да разделите параграфите си на параграфи и алинеи.
- Сега имате всички команди да структурирате вашия LaTeX документ и да създадете съдържание.