blob: 5dbb4e9257d1df9b39e18896d7671ee0949ac5fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
\documentstyle[verbatim,exercise]{report}
\newcommand{\fivetimes}[1]{#1 #1 #1 #1 #1}
\numberexercises{chapter}
\exercisehead{\bf$\bullet$\,EXERCISE }{:}
\begin{document}
\chapter{First Chapter}
\fivetimes{\fivetimes{Some text.}}
\begin{exercise}
\fivetimes{This is the first exercise in Chapter~1.}
\answer
Answer to the first exercise in Chapter~1.
\end{exercise}
\begin{exercise} \label{x12}
\fivetimes{This is the second exercise in Chapter~1.}
\fivetimes{This is the second exercise in Chapter~1.}
\answer
Answer to the second exercise in Chapter~1.
\end{exercise}
\begin{exercise}
\fivetimes{This is the third exercise in Chapter~1.}
\end{exercise}
\chapter{Second Chapter}
\fivetimes{\fivetimes{Some more text.}}
\begin{exercise}
\fivetimes{This is the first exercise in Chapter~2.}
(See also exercise~\ref{x12}).
\answer
Answer to the first exercise in Chapter~2.
\end{exercise}
\begin{exercise}
\fivetimes{This is the second exercise in Chapter~2.}
\answer
Answer to the second exercise in Chapter~2.
\end{exercise}
\end{document}
|