SHARE
TWEET

LaTeX exam class extensions

Vermiculus Oct 25th, 2012 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % for the `exam` class
  2. \newcommand{\xquestion}[1]{
  3.     % Set the questionlabel to the user's choice
  4.     \renewcommand{\questionlabel}{#1}
  5.     \question % do the question thing
  6.     % and reset it back to default
  7.     \renewcommand{\questionlabel}{\thequestion.}
  8. }
  9. \newcommand{\xpart}[1]{
  10.     % Set the partlabel to the user's choice
  11.     \renewcommand{\partlabel}{#1}
  12.     \part % do the part thing
  13.     % and reset it back to default
  14.     \renewcommand{\partlabel}{(\thepartno)}
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top