2
votes
1answer
68 views

Hacking into (internal) references in exam class

So far, I have used my homebrewn style file to create the examination papers which have multiple sets of questions. Recently, I switched to the exam class and immensely enjoying the additional power ...
1
vote
1answer
71 views

Create commands each of the text aligned horizontally?

I am using exam document class as my guide in creating my own documentclass but i have encountered a problem.How will i create a command for each of the four texts in a line. here is a sample image: ...
3
votes
1answer
345 views

Create an environment like the `checkboxes` in exam.cls

I am having trouble on how will i create something like the checkboxesor oneparcheckboxes environment in exam.cls. The only difference is that since the checkboxes gives circle, i'd like to create ...
2
votes
1answer
116 views

How to create an optional argument like the 'correctchoice` command in exam document class?

I want to create an alternative to CorrectChoice. That when [answers] command is used it will highlight the correct answer and be printed with the question together. I have seen this command by this ...
2
votes
0answers
145 views

How to prevent continuation to the next page? [closed]

i learned of the samepage environment based from this link Unbreakable block so i tried it on my case but i think this isn't what I am looking for. My problem is: with the exam class, i have created a ...
3
votes
1answer
107 views

Create command not using adjustbox package for inserting image

I am creating a test question using exam.cls and I think it would be different if i will include image in the question. But i dont really know how should I insert it. i found a solution code that ...
3
votes
2answers
201 views

Toggle visibility of solutions in LaTeX output for exams

So I have my own layout for my exams based on scrartcl and to prevent anomalies during some changes I want to have only one file per exam which holds both questions/excercises and solutions. Yet I ...
23
votes
5answers
4k views

How to write a multiple choice test book with LaTeX?

I want to write a book which will consist of many multiple choice exam sheets. Putting the codes below into my preamble, I wrote the question like as \begin{enumerate} \item $2+2=?$ \choice $1$ ...