diff options
author | Norbert Preining <norbert@preining.info> | 2023-11-07 03:02:46 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-11-07 03:02:46 +0000 |
commit | 02646b6e89ef69971235e0c883e86fd746955e2b (patch) | |
tree | 203df1a9b40b37e9452e03d936e392da7d03c7af /macros/latex/contrib/homework | |
parent | 240fd5fe8af67337e240c10434af4834fc86278f (diff) |
CTAN sync 202311070302
Diffstat (limited to 'macros/latex/contrib/homework')
-rw-r--r-- | macros/latex/contrib/homework/README.md | 16 | ||||
-rw-r--r-- | macros/latex/contrib/homework/homework.cls | 2 |
2 files changed, 14 insertions, 4 deletions
diff --git a/macros/latex/contrib/homework/README.md b/macros/latex/contrib/homework/README.md index 63c8e21806..f423470c23 100644 --- a/macros/latex/contrib/homework/README.md +++ b/macros/latex/contrib/homework/README.md @@ -37,7 +37,7 @@ Also, without these fonts installed, the compilation speed might be much slower ## Usage -> It is recommended that you start by looking at one of the demo documents that suits your need and edit the code there to get your own template. +> It is recommended that you start by looking at one of the [demo documents](https://github.com/Jinwen-XU/homework/tree/main/demo) that suits your need and edit the code there to get your own template. > If you don't find what you were expecting, or if you would like some elements to be changed or improved, feel free to post a feature request via [the GitHub issue](https://github.com/Jinwen-XU/homework/issues). @@ -111,26 +111,36 @@ A typical homework document looks like this: % If you wish to answer each sub-question of a problem separately... \begin{problem}[A problem with many sub-questions] - \begin{enumerate}[itemsep=.5\baselineskip] + \begin{enumerate} \item First question. + \begin{solution} The solution of the first question. \end{solution} + \item Second question. - \begin{enumerate}[itemsep=.3\baselineskip] + + \begin{enumerate} \item First sub-question. + \begin{solution} The solution of the first sub-question. \end{solution} + \item Second sub-question. + \begin{solution} The solution of the second sub-question. \end{solution} + \end{enumerate} + \item Third question. + \begin{solution} The solution of the third question. \end{solution} + \end{enumerate} \noQED % Use \noqed or \noQED at the end to suppress the Q.E.D. symbol that marks the end of the current problem. \end{problem} diff --git a/macros/latex/contrib/homework/homework.cls b/macros/latex/contrib/homework/homework.cls index ba1dd459e1..914ff614cf 100644 --- a/macros/latex/contrib/homework/homework.cls +++ b/macros/latex/contrib/homework/homework.cls @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2022-06-01] \ProvidesExplClass {homework} - {2023/10/15} {} + {2023/10/15a} {} {Document class for writing homework} \keys_define:nn { homework } |