| 1 |
\documentclass{book} |
| 2 |
|
| 3 |
\usepackage[enablepatch={chapter,listoffigures}]{tocbasic} |
| 4 |
|
| 5 |
\DeclareNewTOC[% |
| 6 |
type=remarkbox,% |
| 7 |
types=remarkboxes,% |
| 8 |
float,% definiere floating environment |
| 9 |
counterwithin=chapter,% counter depends on chapter |
| 10 |
floattype=4,% |
| 11 |
name=Remark,% |
| 12 |
tocentryindent=1.5em,% |
| 13 |
tocentrynumwidth=2.3em,% |
| 14 |
listname={List of Remarks}% |
| 15 |
]{lor} |
| 16 |
|
| 17 |
% add entries to the table of contents |
| 18 |
\setuptoc{lof}{totoc}% list of figures |
| 19 |
\setuptoc{lor}{totoc}% list of remarks |
| 20 |
|
| 21 |
\usepackage{mwe} |
| 22 |
|
| 23 |
\begin{document} |
| 24 |
\tableofcontents |
| 25 |
\listoffigures |
| 26 |
\listofremarkboxes |
| 27 |
|
| 28 |
\chapter{First Example Chapter} |
| 29 |
\blindtext |
| 30 |
\begin{figure} |
| 31 |
\centering |
| 32 |
\rule{1cm}{1cm} |
| 33 |
\caption{First Figure} |
| 34 |
\end{figure} |
| 35 |
\begin{remarkbox} |
| 36 |
\caption{First Remark} |
| 37 |
\end{remarkbox} |
| 38 |
|
| 39 |
\blindtext |
| 40 |
\begin{figure} |
| 41 |
\centering |
| 42 |
\rule{1cm}{1cm} |
| 43 |
\caption{Second Figure} |
| 44 |
\end{figure} |
| 45 |
\begin{remarkbox} |
| 46 |
\caption{Second Remark} |
| 47 |
\end{remarkbox} |
| 48 |
|
| 49 |
\blindtext |
| 50 |
|
| 51 |
\chapter{Second Example Chapter} |
| 52 |
\blindtext |
| 53 |
\begin{figure} |
| 54 |
\centering |
| 55 |
\rule{1cm}{1cm} |
| 56 |
\caption{Third Figure} |
| 57 |
\end{figure} |
| 58 |
\begin{remarkbox} |
| 59 |
\caption{Third Remark} |
| 60 |
\end{remarkbox} |
| 61 |
|
| 62 |
\blindtext |
| 63 |
\begin{figure} |
| 64 |
\centering |
| 65 |
\rule{1cm}{1cm} |
| 66 |
\caption{Fourth Figure} |
| 67 |
\end{figure} |
| 68 |
\begin{remarkbox} |
| 69 |
\caption{Fourth Remark} |
| 70 |
\end{remarkbox} |
| 71 |
|
| 72 |
\blindtext |
| 73 |
|
| 74 |
\end{document} |