summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-11-09 22:15:57 +0000
committerKarl Berry <karl@freefriends.org>2023-11-09 22:15:57 +0000
commitec0674326edd8d006124b683e8feecda5384a691 (patch)
treeff327381cb9d70215f75d129dc6a1762209cb3d9
parent30841c6a70b607d550f59db67fc1ed1c1e8905af (diff)
homework (6nov23)
git-svn-id: svn://tug.org/texlive/trunk@68773 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/homework/README.md16
-rw-r--r--Master/texmf-dist/tex/latex/homework/homework.cls2
2 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/homework/README.md b/Master/texmf-dist/doc/latex/homework/README.md
index 63c8e218064..f423470c23d 100644
--- a/Master/texmf-dist/doc/latex/homework/README.md
+++ b/Master/texmf-dist/doc/latex/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/Master/texmf-dist/tex/latex/homework/homework.cls b/Master/texmf-dist/tex/latex/homework/homework.cls
index ba1dd459e16..914ff614cff 100644
--- a/Master/texmf-dist/tex/latex/homework/homework.cls
+++ b/Master/texmf-dist/tex/latex/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 }