Text Formatting ⇒ 5 selection switch question
5 selection switch question
(excuse me, my English is very bad!)
i need to define 5 selection question in my book, for example:
2+2=?
1)1 2)2 3)3 4)4 5)5
i use this template,everything in this template is automatically, and i have not any problem in 4-choice exam, but i need to design a 5-choice exam on this templete. everything can help me?
- Attachments
-
- exam.tex
- (5.57 KiB) Downloaded 415 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
5 selection switch question
Code: Select all
\documentclass[
% answers %JB: Comment this in and see the difference
]{exam}
\begin{document}
\begin{questions}
\question $2+3=$
\begin{choices}
\choice 1
\choice 4
\choice 8
\CorrectChoice 5
\choice 42
\end{choices}
\question $1+3=$
\begin{oneparchoices}
\choice 1
\CorrectChoice 4
\choice 8
\choice 5
\choice 42
\end{oneparchoices}
\end{questions}
\end{document}
My personal Opinion: Don't use this for maths.
Re: 5 selection switch question
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: 5 selection switch question
What is the problem with xepersian and exam? I added the package and everything seems fine (nothing exploded, no blood in the pdf file, but then again i can't read persian, so i need your input on what is wrong

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: 5 selection switch question
EDIT: http://tex.stackexchange.com/questions/ ... ion-in-exa
Re: 5 selection switch question
when i use exam, choice number is hide, but when i use final answer in this page all is OK!
thank you