Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[addpoints]{exam}
- usepackage{blindtext}
- begin{document}
- begin{questions}
- question
- blindtext[3]
- begin{choices}
- choice
- choice
- choice
- choice
- choice
- end{choices}
- %
- question
- blindtext
- begin{choices}
- choice
- choice
- choice
- choice
- choice
- end{choices}
- %
- question
- blindtext
- begin{choices}
- choice
- choice
- choice
- choice
- choice
- end{choices}
- %
- end{questions}
- end{document}
- documentclass[%answers,
- addpoints,12pt]{exam}
- boxedpoints
- % pointsinmargin % Not compatible with the minipaging of multichoice questions
- newenvironment{mcquestion}[3]{ begin{minipage}{linewidth} question[#1][#2] #3 begin{choices}}{ end{choices} end{minipage}}
- begin{document}
- gradetable[h]
- begin{questions}
- begin{mcquestion}{1}{2 min}{Foodle:}
- choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A end{mcquestion}
- begin{mcquestion}{1}{2 min}{Foodle:}
- choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A end{mcquestion}
- begin{mcquestion}{1}{2 min}{Foodle:}
- choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A choice fish A end{mcquestion}
- end{questions}
- end{document}
- newenvironment{multichoice}[3]{
- question[#1][#2]#3
- begin{choices}}{ end{choices}
- }
- usepackage{etoolbox}
- AtBeginEnvironment{multichoice}{%
- parmedskipbegin{minipage}{linewidth}}
- makeatletter
- AtEndEnvironment{multichoice}{%
- if@correctchoice endgroup fi%
- end{minipage}}
- makeatother
- begin{minipage}{linewidth}
- question dots
- end{minipage}
Add Comment
Please, Sign In to add comment