Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % for the `exam` class
- \newcommand{\xquestion}[1]{
- % Set the questionlabel to the user's choice
- \renewcommand{\questionlabel}{#1}
- \question % do the question thing
- % and reset it back to default
- \renewcommand{\questionlabel}{\thequestion.}
- }
- \newcommand{\xpart}[1]{
- % Set the partlabel to the user's choice
- \renewcommand{\partlabel}{#1}
- \part % do the part thing
- % and reset it back to default
- \renewcommand{\partlabel}{(\thepartno)}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement