18
18
\author {Christian Schliz \& Julian Keck}
19
19
\date {\today }
20
20
21
+ \makeindex [name=alternative, title=Alternative]
22
+ \newcommand {\altindex }{alternative}
23
+
21
24
\begin {document }
22
25
23
26
\maketitle
@@ -83,7 +86,8 @@ \section{Elite Definitions}
83
86
84
87
\definition {Definition}{%
85
88
A definition is created with the command \texttt {\textbackslash {}definition\{ \textit {name }\}\{ \textit {content }\} }.
86
- All styles are based on \texttt {\textbackslash {}abstractDefinition }
89
+ All styles are based on \texttt {\textbackslash {}abstractDefinition }. All definitions have one optional argument:
90
+ Specify 1 or 0 for bottom spacing or nothing respectively (default is 1: bottom spacing)
87
91
}
88
92
89
93
\defwarn {Warnung}{%
@@ -98,6 +102,16 @@ \section{Elite Definitions}
98
102
is created by \texttt {\textbackslash {}defhint\{ \textit {Hinweis }\}\{ \textit {content }\} }
99
103
}
100
104
105
+ \defindex [1]{\altindex }{Different Index}{
106
+ Definitions can be grouped into different indices.\hfill\break
107
+ Use \texttt {\textbackslash {}defindex\{ \textit {indexname }\}\{ \textit {name }\}\{ \textit {content }\} }
108
+ }
109
+
110
+ \defproblem {Paragraphs and Emergency Stops}{You cannot end a paragraph regularly from inside a definition.
111
+ This is happening due to the use of parboxes. In order to insert a line break, use double-backslash or
112
+ preferably \code {\textbackslash {}break}. It is worth mentioning that two line breaks in the source code
113
+ have the same effect as inserting a paragraph manually. You will need to avoid this!}
114
+
101
115
\newpage
102
116
103
117
\section {Include Graphics and Figures }
@@ -243,7 +257,8 @@ \subsection{language=riscv}
243
257
\end {CodeListing }
244
258
\endcode
245
259
246
- \printindices
260
+ % \printindices
261
+ \printindex [definition]
247
262
248
263
\defwarn {Please Note}{that the index might split a definition over two columns. This can be avoided by inserting
249
264
a \code {\textbackslash {}filbreak} at the top of the index element definition. Since this has some side effects if
@@ -252,4 +267,6 @@ \subsection{language=riscv}
252
267
\lstlistoflistings
253
268
\listoffigures
254
269
270
+ \printindex [\altindex ]
271
+
255
272
\end {document }
0 commit comments