| 1 |
\documentclass[a4paper, 11pt, |
| 2 |
% twoside, |
| 3 |
formal title, |
| 4 |
title in boldface, |
| 5 |
% title in sffamily, |
| 6 |
% theorem in new line, |
| 7 |
% remove qed, |
| 8 |
colored solution, |
| 9 |
hide solution, % Use this option to hide the solutions/answers |
| 10 |
]{homework} |
| 11 |
|
| 12 |
|
| 13 |
% EDIT THE FOLLOWING INFORMATION AS NEEDED |
| 14 |
|
| 15 |
\pretitle{% |
| 16 |
\scshape |
| 17 |
The University |
| 18 |
\hfill |
| 19 |
The Program \& Level |
| 20 |
\\ |
| 21 |
Course ID \& Course Name |
| 22 |
\hfill |
| 23 |
Year 2026--27 |
| 24 |
} |
| 25 |
|
| 26 |
\title{% |
| 27 |
Sheet 1. Title of the current file |
| 28 |
} |
| 29 |
\author{} |
| 30 |
\date{% |
| 31 |
% \TheDate{2026-01-01} |
| 32 |
} |
| 33 |
|
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
|
| 38 |
Here starts the main text. |
| 39 |
|
| 40 |
|
| 41 |
\section*{First theme} |
| 42 |
|
| 43 |
We shall show that... |
| 44 |
|
| 45 |
\begin{problem} |
| 46 |
A preliminary result. |
| 47 |
\end{problem} |
| 48 |
|
| 49 |
\begin{solution} |
| 50 |
\blindtext |
| 51 |
\end{solution} |
| 52 |
|
| 53 |
\begin{problem}[Brief description] |
| 54 |
One step ahead. |
| 55 |
|
| 56 |
\blindtext |
| 57 |
\end{problem} |
| 58 |
|
| 59 |
\begin{solution} |
| 60 |
\blindtext[2] |
| 61 |
\end{solution} |
| 62 |
|
| 63 |
At this stage, we may conclude that... |
| 64 |
|
| 65 |
|
| 66 |
\section*{Second theme} |
| 67 |
|
| 68 |
Now we look at... |
| 69 |
|
| 70 |
\begin{problem}[Some prepration] |
| 71 |
|
| 72 |
This is the prepration for... |
| 73 |
|
| 74 |
\begin{enumerate} |
| 75 |
|
| 76 |
\item |
| 77 |
First question. |
| 78 |
|
| 79 |
\begin{solution} |
| 80 |
\blindtext |
| 81 |
\end{solution} |
| 82 |
|
| 83 |
\item |
| 84 |
Second question. |
| 85 |
|
| 86 |
\begin{solution} |
| 87 |
\blindtext |
| 88 |
\end{solution} |
| 89 |
|
| 90 |
\item |
| 91 |
Third question. |
| 92 |
\qedhere |
| 93 |
|
| 94 |
\begin{solution} |
| 95 |
\blindtext |
| 96 |
\end{solution} |
| 97 |
|
| 98 |
\end{enumerate} |
| 99 |
\end{problem} |
| 100 |
|
| 101 |
\begin{problem}[Another problem with many sub-questions] |
| 102 |
\leavevmode % so that the first item start in new line |
| 103 |
\begin{enumerate} |
| 104 |
|
| 105 |
\item |
| 106 |
First question. |
| 107 |
|
| 108 |
\blindtext |
| 109 |
|
| 110 |
\begin{solution} |
| 111 |
\blindtext[2] |
| 112 |
\end{solution} |
| 113 |
|
| 114 |
\item |
| 115 |
Second question. |
| 116 |
|
| 117 |
\begin{enumerate} |
| 118 |
\item |
| 119 |
First sub-question. |
| 120 |
|
| 121 |
\blindtext |
| 122 |
|
| 123 |
\begin{solution} |
| 124 |
\blindtext[2] |
| 125 |
\end{solution} |
| 126 |
|
| 127 |
\item |
| 128 |
Second sub-question. |
| 129 |
|
| 130 |
\blindtext |
| 131 |
|
| 132 |
\begin{solution} |
| 133 |
\blindtext[2] |
| 134 |
\end{solution} |
| 135 |
|
| 136 |
\end{enumerate} |
| 137 |
|
| 138 |
\item |
| 139 |
Third question. |
| 140 |
|
| 141 |
\blindtext[2] |
| 142 |
|
| 143 |
\begin{solution} |
| 144 |
\blindtext[2] |
| 145 |
\end{solution} |
| 146 |
|
| 147 |
\item |
| 148 |
Conclusion. |
| 149 |
\qedhere |
| 150 |
|
| 151 |
\begin{solution} |
| 152 |
\blindtext |
| 153 |
\end{solution} |
| 154 |
|
| 155 |
\end{enumerate} |
| 156 |
\end{problem} |
| 157 |
|
| 158 |
|
| 159 |
\end{document} |