Problems here are based off of gsypset
, a custom documentclass I made.
It uses a similar structure to hmcpset
, but looks (IMHO) nicer, and adds an additional feauture: subproblems.
By using the subproblems
environment within a problem
environment, gsypset
allows you write the solution to each part
of a large multi-part problem immediately under the problem statement for that part of the problem.
- PDF files are intended to be printed directly, and are what you get by passing the options
printing
andblanks
togsypset
before typseting the corresponding TeX file.- The consensed-format PDF is generated by also passing
condensed
togsypset
. - The hmcpset-format PDF is generated by also passing
hmc
togsypset
.
- The consensed-format PDF is generated by also passing
- Personalized PDF files can be generated by filling out
\name
and similar at the top of the document, passingprinting
togsypset
, then typesetting and printing the resulting document. - TeX files have a similar structure to
hmcpset
, where problems are given inproblem
environments and solutions go insolution
environments.-
For most problems, the
solution
environment goes immediately after theproblem
environment: e.g.\begin{problem}[problem number] The problem statement \end{problem} \begin{solution} Your solution \end{solution}
-
For a problem with subproblems, the
solution
environment goes inside thesubproblems
environment immediately after the subproblem's problem statement (given with\subproblem
): e.g.\begin{problem}[problem number] The general part of the problem statement \begin{subproblems} \subproblem A problem statement for the first subproblem \begin{solution} The solution to the first subproblem \end{solution} \subproblem Another subproblem \begin{solution} The solution to the second subproblem \end{solution} \end{subproblems} \end{problem}
- A problem with subproblems should not be followed by a
solution
environment, although nothing should break too badly if it is.
- A problem with subproblems should not be followed by a
-
problem
environments can take an optional argument for the problem number; if not given they will be numbered sequentially. -
The pset starts with four commands to define information about it:
\name{Your Name} \class{Class name}{Optional section number} \assignment{Assignment name} \duedate{the due date}
- The second set of curly brackets with the section number can be left off of
\class
- The second set of curly brackets with the section number can be left off of
-
There's more stuff; hopefully it's clear by looking at the source; ask me if you have questions.
-