A table of contents is produced with the \tableofcontents command. You put the command right where you want the table of contents to go; LaTeX does the rest for you. It produces a heading, but it does not automatically start a new page. If you want a new page after the table of contents, include a \newpage command after the \tableofcontents command.
There are similar commands \listoffigures and \listoftables for producing a list of figures and a list of tables, respectively. Everything works exactly the same as for the table of contents.
NOTE: | If you want a any of these items to be generated, you can not have the \nofiles command in your document. |
Obsah vysazi prikaz \tableofcontents . Umistete tento prikaz tam, kde chcete mit obsah. LaTeX ho tam udela za vas. Vytvori hlavicku na urovni kapitol, vysazi vlastni obsah, ale neodstrankuje. Pokud chcete novou stranku po obsahu, zapiste prikaz \newpage za prikaz \tableofcontents .
Obdobne prikazy jsou \listoffigures a \listoftables . Tyto zpusobi vysazeni seznamu obrazku resp. seznamu tabulek. Jejich pouzivani je stejne jako u prikazu \tableofcontents .
POZOR: | Jestlize chcete aby libovolna z techto polozek byla generovana, nesmite mit ve svem dokumentu prikaz \nofiles . |