the {exam} document class provides a number of useful features for typesetting exams - in particular it provides a `Question` environment with `parts`, and can keep track of points

learn more… | top users | synonyms

7
votes
3answers
942 views

Showing Solutions of the Questions “separately”

There is a class for LaTeX called exam. Using this class, one can write questions and answers for exams. The answers are displayed under (after) each question. My goal is to have all answers in the ...
18
votes
4answers
645 views

How to automatically align the four choices of a multiple choice question in exam?

We can have three types of column typeset. See the image below: The above image was created using the LaTeX code below: \documentclass{article} \usepackage{ifthen} \usepackage{calc} ...
14
votes
3answers
1k views

Variations of an exam

I'm using the great exam package to create exams. But sometimes there are many students so I need to create different "versions" - Group A and Group B. Mainly the differences are only the numbers in ...
10
votes
2answers
669 views

Using circled numbers for answer choices in exam document class

I'm using the exam document class for an exam with a multiple choice section. To match the appearance of the scantron form, I'd like to use circled numbers in the choices and oneparchoices ...
6
votes
1answer
539 views

\answerline to the right of a question

using exam class. I want the answerline on the same line as the question, to be used in mid-sentence actually. I have this: \documentclass[a4paper]{exam} \begin{document} \begin{questions} ...
23
votes
5answers
5k 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$ ...
10
votes
5answers
4k views

Creating Multiple Choice Questions Without using 'Exam' Class

I am working on a document with class article and I want to have multiple choice questions in it. Is this hard enough to do that I should change it to exam class? If not, how do I accomplish this? ...
12
votes
4answers
2k views

exam class - permute mc answer choices, generate answer key

I happily use the exam document class to create exams and quizzes. I often make at least part of my exams multiple choice, and I'd like to be able to generate multiple versions of the exam by ...
7
votes
1answer
637 views

Textbook package compatible with examdoc

I really like the examdoc class. I almost always use it to create exams, tests, ... However... I'd like to make a textbook. In it should be several exercises, with (preferably) their solutions in an ...
4
votes
1answer
491 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 ...
4
votes
2answers
262 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 ...
28
votes
3answers
6k views

How can I typeset an exam or assignment paper?

I want to use LaTeX for exam and assignment papers for a class that I am teaching. I obviously could just do the whole thing myself. But, what alternatives are there for easily typesetting such ...
24
votes
2answers
485 views

Can LaTeX select a random line from another file?

Can LaTeX select a line from one file and include it in the main file? I use the exam class to make course exams. I like to include a brief quote related to the course in the footer of the last exam ...
14
votes
7answers
553 views

Automatic generation of pages with variable fields

I need to produce dozens of same pages, except for the part that each page has to have a different person's name on it. Imagine it as an exam, where the content is equal for every page, except that I ...
4
votes
2answers
5k views

Example/Solution Environment

In my document I wish to provide example questions with solutions. I am currently doing this using the amsthm package as follows: \documentclass{article} \usepackage{lmodern} ...
14
votes
1answer
534 views

Testing Framework API for LaTeX

As part of an online exam application, we need to automate the evaluation of LaTeX scripts written by the students. Essentially, the script should be evaluated against a set of test cases and if it ...
11
votes
1answer
529 views

Create a “choose between ” questions with exam class

I want to create an exam that has 2 parts: Part 1 will be some questions that students are force to do, and part 2 will be a choose x questions among y to do. If it weren't for the score, I could ...
6
votes
2answers
349 views

How do you determine what class to use?

So I am creating documents that have a mixture of paragraphs of text intermingled with numbered questions. I have been creating these using the 'exam' class. However, I decided to set the default ...
5
votes
2answers
1k views

Exam class: start true/false questions with “True False”

I'm using the exam class and I would like to write questions like this: 1. True False This statement is false. 2. True False This statement is true. It's a long, though, so it ...
6
votes
1answer
581 views

how to put figures on a page in exam class!

I am trying to put four figures in one page. I have tried using \clearpage, \afterpage{\clearpage} with afterpage package as suggested and worked successfully in many other cases. I have also tried ...
6
votes
1answer
379 views

Modifying \answerline in the exam class

When using the exam class, is there a way to change the formatting of the item answer blanks created by \answerline? For a question, the label is 1. For a part, the label is (a) For a subpart, the ...
5
votes
2answers
408 views

How to box the correct answer in Exam class?

I have tried using the following code: \documentclass[12pt]{exam} \CorrectChoiceEmphasis{\mbox{}} \begin{document} \begin{questions} \question Who is an idot? \begin{choices} \choice Not the writer ...
2
votes
1answer
132 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
1answer
285 views

\answerline to the right of a question with dot line between answer line and question

I see a nice feature \answerline to the right of a question. The answer is put to the right of a question. What I want is: the number before the answer line should be removed, because I think the ...
1
vote
1answer
161 views

EXAM Class : Choice next to each other

Currently using multicol and exam class I'm able to generate MCQ question paper in the formats mentioned below: Q.1 : Quiescent centre is found in plants at : A. Shoot tip C. Root tip ...
7
votes
1answer
447 views

Lost float in exam class

For some reason, I can't seem to put a figure or a table environment inside a solution environment while using the exam class. It produces a float is lost error. Has anyone found a way to bypass this ...
5
votes
2answers
770 views

Multiple choice with answers at the end of the chapter

I would like to set up an environment for multiple choice questions, such that the list of the correct answers, and some lines of comments, will be typeset at the end of the chapter. Something like ...
4
votes
1answer
118 views

Randomize a section of code lines

This is similar to a previous question, but I didn't really understand the answer given. One possible use of what I'm asking is in the following code for a Matching style of question, where lines of ...
1
vote
1answer
117 views

A new figure environment for the exam class

The incompatibility of having a float inside the solutions box of the exam class is somewhat well known. Multiple solutions for this exist, almost all of which use some variant of the caption package ...