Advertisement
Guest User

Untitled

a guest
May 21st, 2016
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 1.09 KB | None | 0 0
  1.     \documentclass{exam}
  2.  
  3.    \usepackage[dvipsnames]{xcolor}
  4.    \usepackage[colorlinks]{hyperref}
  5.  
  6.     \printanswers
  7.     \addpoints
  8.  
  9.     % For the exam package
  10.     \newcommand{\qs}{\question[1\half]}
  11.    \newcommand{\ch}{\choice}
  12.    \newcommand{\cc}{\CorrectChoice}
  13.    \CorrectChoiceEmphasis{\slshape\color{OliveGreen}}
  14.    \renewcommand{\thechoice}{\alph{choice}}
  15.    \renewcommand{\choicelabel}{(\thechoice{})}
  16.  
  17.    \begin{document}
  18.  
  19.    \begin{questions}
  20.  
  21.      \qs Which one
  22.      \begin{choices}
  23.        \cc According
  24.        \ch For
  25.        \ch IF
  26.        \ch All
  27.      \end{choices}
  28.  
  29.      \qs Based on
  30.      \begin{choices}
  31.        \ch mou
  32.        \cc ske
  33.        \ch s
  34.        \ch un
  35.      \end{choices}
  36.  
  37.      \qs Suppose
  38.      \begin{oneparchoices}
  39.        \ch $0.67$
  40.        \cc $0.56$
  41.        \ch $0.48$
  42.        \ch $0.64$
  43.      \end{oneparchoices}
  44.  
  45.      \qs You a
  46.      \begin{oneparchoices}
  47.        \ch $-1/16$
  48.        \cc $-1/8$
  49.        \ch $-3/16$
  50.        \ch $-1/2$
  51.      \end{oneparchoices}
  52.  
  53.    \end{questions}
  54.  
  55.    \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement