Sectioning

Cleneni textu


Sectioning commands provide the means to structure your text into units.

Nasledujici prikazy pro cleneni dokumentu rozdeli vas text na urcite casti.

All sectioning commands take the same general form, i.e.,

\chapter[optional]{title}

Vsechny prikazy pro cleneni textu maji stejnou formu syntaxe.

\chapter[volby]{nadpis}

In addition to providing the heading in the text, the mandatory argument of the sectioning command can appear in two other places:

Krome vysazeni jmena nadpisu casti do textu (napr. nazev kapitoly) clenici prikaz ovlivni dalsi sazbu na dvou mistech:

You may not want the same thing to appear in these other two places as appears in the text heading. To handle this situation, the sectioning commands have an optional argument that provides the text for these other two purposes.

The sectioning commands have *-forms that print a title, but do not include a number and do not make an entry in the table of contents. For example, the *-form of the \subsection command could look like:

\subsection*{Subsection Name}

Kdyz na techto dvou mistech nechcete stejny nadpis jako nadpis v textu, muzete tuto situaci vyresit prikazem s nepovinou volbou. Lze zde specifikovat primo text, ktery se ma vyskytnout v obsahu a v zahlavi stranek.

Prikazy pro cleneni textu maji hvezdickovou formu, kdy vysazi nadpis, ale bez ocislovani a nezanesou polozku do obsahu. Napriklad *kova forma od prikazu \subsection vypada takto:

\subsection*{Jmeno podsekce}

Subtopics

Podtemata