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

6
votes
3answers
745 views

Labeling problems with exam class usage when using multiple chapters

Using the exam document class I'm trying to create a questions/answers-sheet for a book. When working on the first chapter, everything worked nicely. When I came to the second chapter, I realized I ...
6
votes
1answer
624 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 ...
6
votes
1answer
84 views

exam template problems

I am trying to compile my exam paper in latex. I started from a template I found on the website and I made some changes. Actually, the code I am using is the following: \documentclass[11pt,paper=a4,...
6
votes
1answer
549 views

Exam class: answerspace for students same space as printed answers

I'm a professor and I use the exam class very often in LaTeX. \begin{solutionorlines}[4cm] creates 4cm of space for students to answer. When I type \printanswers it shows the answers but it doesn't ...
6
votes
1answer
280 views

Custom \bonusqformat in exam class not level with question text

I am creating a set of problems, with the bonus problems starred with an *, but when I use \bonusqformat to customize the mark, it pushes the text onto a new line. Is there any way to prevent this ...
6
votes
1answer
201 views

List spacing is different inside and outside of minipage

I'm preparing an exam and I want an illustration next to a multiple-choice problem. Usually for this purpose I put the question and/or choices in a multicols environment; however for this particular ...
6
votes
1answer
462 views

Exam documentclass question title grading table

How can I give my question a name and a the same time show in the grading table only its number? For example, in the main text I'd like the question to be something like "Question 1: Cauchy-Schwartz ...
6
votes
1answer
275 views

How to reset the question number for different sections in exam class without getting multiply defined labels

This is the minimal working example: \documentclass[a4paper,11pt]{exam} \begin{document} \section{ONE} \begin{questions} \question First question \question Second questoion \end{questions} \...
5
votes
2answers
1k views

How to prevent page breaks in lists? (“Exam” class)

I'm using the exam class to prepare a test. Unfortunately, the package allows page breaks inside the solution list of a question. Considering this toy example: \question Example of question. Choose ...
5
votes
1answer
2k views

How to include graphics with width in the exam class?

I am trying to compose an exam with a figure as part of the question. However, I am having trouble using the standard \includegraphics command with pdflatex. I can not specify the arguments to \...
5
votes
2answers
749 views

How can I adjust the total page count variable?

If I have a page count of 7, but the last page is a grading sheet (using the exam class). I do not actually want it to be counted as part of the exam, although I need one copy per printout. The ...
5
votes
2answers
207 views

Multiple choice with figure options in exam class

I am creating multiple choice questions using exam class however I faced two issues: 1). Want to have two columns choices but it displays by default as A, C, B, D, and 2). Figures in choices are ...
5
votes
3answers
310 views

How can I lay out multiple choice answers as a matrix with exam?

For creating a test I use the exam class, which worked out fine so far. Now I need to implement a question with the possible answers beeing a matrix like this: However I can't manage to put the \...
5
votes
2answers
10k 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} \usepackage{amssymb,...
5
votes
1answer
326 views

Simple arithmetic in an exam

How can I do some simple calculations in LaTeX? Specifically, I want to divide \numpoints (part of the exam package) by 1.10. That is, I want to do something like this: Grade: \underline{\hspace{2cm}...
5
votes
2answers
255 views

Vertical space in table columns

I am creating following form. The table is meant to be filled manually using pen or pencil. But the space that becomes available in each line is limited (vertical). How can I increase vertical space ...
5
votes
1answer
140 views

How to prevent page breaks within between a question and its answer choices in Exam class?

I'd like to prevent page breaks between a question and its answer choices in the Exam class. There's a good solution to the problem of how to prevent page breaks within the answer choices here, but ...
5
votes
4answers
312 views

Exam Class: how to avoid question going beyond margin

I'm able to create question paper using LaTeX code mentioned below: \documentclass{exam} \usepackage[margin=0.7in,headheight=3.5\baselineskip,headsep=1\baselineskip,includehead]{geometry} \usepackage{...
5
votes
1answer
427 views

How do I use \titledquestion in the exam class with or without points?

When using the exam class, it is possible to have commands like \question[5] or simply \question (i.e. with no points). The former includes the points within parentheses by default, and the latter ...
5
votes
1answer
4k views

How to insert logo in exam document class?

I would like to insert a logo for the exam questionnaire on the upper right where the title is placed but i dont know how.. i would like to appear it this way.
5
votes
1answer
1k 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 ...
5
votes
2answers
868 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 ...
5
votes
1answer
346 views

Show solution to each part of a multipart question right after that part in exam package

I use the great exam package to write my exams as a teacher. It lets me typeset solutions too, but for multipart questions, I want the solution to each part printed right after that part. By default, ...
5
votes
1answer
466 views

Exam Class : Starting question with question number in circle [duplicate]

I'm studying exam class to generate question paper sample tex file is mentioned below: \documentclass[addpoints,answers,10pt]{exam} \usepackage{multicol} \usepackage[T1]{fontenc} \usepackage{...
5
votes
1answer
322 views

Curious behaviour of nested list environments

Could someone explain what is happening in the example below? It looks like a bug in the exam document class to me. \documentclass{exam} \begin{document} \begin{questions} \question This is a ...
5
votes
1answer
109 views

Why do we get undefined references warning in exam class when labels are defined and used in solutions (and answers are not printed)?

Let us consider this code which uses the exam class. \documentclass{exam} %\printanswers \begin{document} \begin{questions} \question Why do we get undefined references warning in this case? \...
5
votes
1answer
148 views

How to create an empty table as a template which I can populate using commands

I would like to create a template which I can use to create a booklet. I'd like a 5 row x 2 column table to fill the LH page, with room for a header, and the same on the RH page with room for a ...
5
votes
1answer
184 views

I want to decrease the indent to checkboxes in exam class

The indent to the checkbox is to big. I want it to be aligned with the first letter of the question. \documentclass[11pt,a4paper,addpoints]{exam} \usepackage[utf8]{inputenc} \usepackage{amsmath} \...
5
votes
1answer
330 views

How can I put a figure to the right of a multiple-choice question?

I have code to automatically align the four choices of a multiple choice question and put the answer after the question with dotted lines. It works quite well with the exam document class (see the ...
5
votes
1answer
76 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
5
votes
1answer
271 views

Create a “Choose between” in exam class, follow up question

This question was considered in an attempt to achieve what I want: Create a "choose between " questions with exam class Background: I'm a math teacher with (very) mixed ability classes. I ...
5
votes
1answer
95 views

Selecting a subset of questions among a long TeX file

I have a big list of questions and solutions and I want to select a subset of them to use in exams. I am using documentclass exam. See the following example \documentclass[12pt]{exam} \begin{...
4
votes
2answers
267 views

What is the simplest way to get graphs for each answer choice like in the example below

I am trying to make an exam with multiple questions having graphs as answer choices. I want them to be aligned as shown below. Thank you in advance!
4
votes
2answers
286 views

How to use a symbol above a word without a larger linespacing?

Because of the "1" symbol above "test", the space between the first two lines is bigger than between the last two lines. I don't want a bigger interline spacing! How do I solve this? \documentclass[...
4
votes
2answers
495 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 ...
4
votes
3answers
381 views

Exam Class: Make math expressions in \correctchoice bold

I'm using the exam package to create a mathematics question paper. When printing answers, the \correctchoice command makes the choice letter as well as the text in the choice bold. However, it does ...
4
votes
1answer
704 views

Conflict between exam class and fancyhdr package

With the code below: \documentclass[answers,a4paper]{exam} \usepackage{fancyhdr} \begin{document} hello world \end{document} I get the build error: ! LaTeX Error: Command \lhead already defined. ...
4
votes
1answer
128 views

Multiple option short-answer exam question

I'm using Philip Hirschhorn's exam document class for an exam paper, and I'd like to include a question in which students can choose two options from a range of questions. My approach is as shown ...
4
votes
3answers
208 views

TikZ figure in parts-environment

I'd like to have a TikZ figure in a parts-environment, but the figure appears above part (a) instead of below. How can I get the picture to follow the (a)? Thanks for your help! \documentclass[...
4
votes
2answers
856 views

Latex Table in Exam Class

I'm trying to add Question Type : Match the Pairs using EXAM Class use code mentioned below : [FYI: I'm converting HTML Table into Latex table. I'm using pdflatex to get pdf from tex file mentioned ...
4
votes
2answers
633 views

Customize \ answerline in Exam class

I would like to create a quiz item that resembles this example: ____ 1. (p. 63) In a grouped frequency distribution, the mode falls in the most frequently occurring class interval, more ...
4
votes
1answer
81 views

Pathching \raggedright to solution environment does not work in exam class

Consider the MWE given below. I am trying to patch the solution environment with \raggedright. But it does not seem to work. However, when an explicit \raggedright is issued at the start of the same ...
4
votes
1answer
46 views

Content of \setbox does not respect pagebreaks

The following MWE demonstrates that the list of answers accumulated into a box does not respect page breaks when printed (code adapted from Multiple Choice Answer Key in exam package at the end of ...
4
votes
1answer
199 views

Trying to achieve the Word equivalent of “style for following paragraph”

In MSWord, when defining a paragraph style, it's possible to define the style of the following paragraph (the style that will chosen when I type return after entering the text of the style). This is ...
4
votes
1answer
267 views

multiple choice with showanswers

Can somebody please change these codes for choices so that the choices show vertically in line and not in one paragraph? \documentclass{article} %----------------------------------------------------...
4
votes
1answer
59 views

part number alignment in exam class with tcolorbox

I have two questions on the following package combination of the MWE: First, how to shift part number/label while using tcolorbox? \documentclass[a4paper,12pt]{exam} \usepackage{tikz} \usetikzlibrary{...
4
votes
2answers
154 views

\parbox, minipage and wrapfigure issues in exam class

I could not get a proper alignment using either \parbox command or minipage environment as far as wrapping text with figure in the question command or solution environment is concerned. Does anyone ...
4
votes
1answer
84 views

How to programmatically comment out environments?

I write multiple-choice exams using the Exam class and I would like to be able to print the exam without printing the answer choices. At the moment, I manually comment out everything from \begin{...
4
votes
2answers
363 views

Exam with multiple choice using exsheets

I have seen many examples of multiple choice exams setting the correct with exam. But, is there anyway of doing a mulitple choice with exsheets? I would like something like: 1. Question 1 a) b) ...
4
votes
1answer
160 views

Wrong spacing of circled numbers using Tikz and exam class

I am using XeLaTex. I am also using the package exam. I am preparing a multiple choice test, but I have no Scantron and I want students to tick the desired circled answer by pen. This is the relevant ...