|
| 1 | +\documentclass[numbers]{xourse} |
| 2 | + |
| 3 | +\usepackage{titlesec} |
| 4 | +\usepackage{lipsum} |
| 5 | + |
| 6 | +\author{Bart Snapp} |
| 7 | + |
| 8 | + |
| 9 | +\title{Basic Table of Contents (tocdepth=1)} |
| 10 | + |
| 11 | + |
| 12 | +\setcounter{secnumdepth}{6} |
| 13 | +\setcounter{tocdepth}{1} |
| 14 | + |
| 15 | +\begin{document} |
| 16 | +\begin{abstract} |
| 17 | +\end{abstract} |
| 18 | +\maketitle |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | +% \part{The first part} |
| 23 | + |
| 24 | +\chapterstyle |
| 25 | +\activity{basicActivity} |
| 26 | +% \origsection{Section with only sectionstyle-activities} |
| 27 | +\chapter{Chaptertitle for (only!) sectionstyle-activities} |
| 28 | +\sectionstyle |
| 29 | +\activity{basicActivity} |
| 30 | +\activity{basicActivity} |
| 31 | + |
| 32 | + |
| 33 | +\chapterstyle |
| 34 | +\activity{basicActivity} |
| 35 | +\sectionstyle |
| 36 | +\activity{basicActivity} |
| 37 | +\activity{sectionLevelActivity} |
| 38 | + |
| 39 | + |
| 40 | +\chapterstyle |
| 41 | +\activity{chapterLevelActivity} |
| 42 | +\sectionstyle |
| 43 | +\activity{basicActivity} |
| 44 | +\activity{sectionLevelActivity} |
| 45 | + |
| 46 | +% \activity{basicActivity} |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | +\part{A first part} |
| 51 | +\chapterstyle |
| 52 | +\activity{chapterLevelActivity} |
| 53 | +\activity{chapterLevelActivity} |
| 54 | + |
| 55 | +\chapter{Chapter with only sectionstyle-activities} |
| 56 | +\sectionstyle |
| 57 | +\activity{basicActivity} |
| 58 | +\activity{basicActivity} |
| 59 | + |
| 60 | +\chapterstyle |
| 61 | +\activity{chapterLevelActivity} |
| 62 | +\sectionstyle |
| 63 | + |
| 64 | +\activity{sectionLevelActivity} |
| 65 | +\activity{sectionLevelActivity} |
| 66 | + |
| 67 | + |
| 68 | +\part{A second part} |
| 69 | +\chapterstyle |
| 70 | +\activity{chapterLevelActivity} |
| 71 | + |
| 72 | + |
| 73 | +\sectionstyle |
| 74 | +\activity{sectionLevelActivity} |
| 75 | +\activity{sectionLevelActivity} |
| 76 | +% \activity{sectionLevelActivity} |
| 77 | + |
| 78 | + |
| 79 | +\chapterstyle |
| 80 | +\activity{chapterLevelActivity} |
| 81 | +\sectionstyle |
| 82 | +\activity{sectionLevelActivity} |
| 83 | +\activity{sectionLevelActivity} |
| 84 | + |
| 85 | + |
| 86 | +% \chapterstyle |
| 87 | +% \activity{chapterLevelActivity} |
| 88 | +% \sectionstyle |
| 89 | +% \activity{sectionLevelActivity} |
| 90 | +% \activity{sectionLevelActivity} |
| 91 | + |
| 92 | +\part{And now for basicActivity as a section} |
| 93 | +\chapterstyle |
| 94 | +\activity{basicActivity} |
| 95 | +\sectionstyle |
| 96 | +\activity{basicActivity} |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | +\end{document} |
0 commit comments