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

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 ...
5
votes
1answer
155 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
1k 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
77 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
174 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 ...
5
votes
1answer
181 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 ...
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 ...
4
votes
2answers
212 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 ...
4
votes
3answers
202 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
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
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} ...
4
votes
3answers
119 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! ...
4
votes
1answer
203 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 ...
4
votes
1answer
132 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
219 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} ...
4
votes
2answers
256 views

Exam document class

At the moment my document displays the marks for a bonus questions as, e.g. (3 (bonus)). I don't want the bonus to be there; I just want (3). I'm using the command \bonuspointpoints{mark}{marks} but ...
4
votes
1answer
202 views

Exam layout: lhead and rhead stop working after page 2

In exam documents where there are index pages and the page numbering restarts, I'm having trouble with getting the lhead and rhead to work correctly. Reference this example: ...
4
votes
1answer
194 views

Exam Lines (not with the exam package)

I'm a newbie to LaTeX as of a couple days ago, and was delighted to hear of an exam package that would ease my pain. However, I've worked out that the exam paper I am trying to emulate definitely did ...
4
votes
1answer
187 views

exam class - align problems horizontally using probsoln

I would like to create worksheets with problems filled by rows instead of columns. I am using probsoln to store and call the problems, but they always end up filling the worksheet vertically. I tried ...
4
votes
1answer
216 views

Two columns: one column for questions; the other for answers

I am using the exam class. \documentclass{12pt,a3paper,landscape}{exam} I would like to split my paper into two columns. One column should be for the question and across from that question would ...
4
votes
1answer
202 views

\fillwithlines{\stretch{1}} only .6\textwidth

I'm using the exam package and want to use \fillwithlines{\stretch{1}} but only so it goes .6\textwidth across the page. I've tried using minipage, parbox, and makebox, but none of them work with the ...
4
votes
1answer
99 views

Placing figures adjacent to exam choices

In the following mwe, I'd like the circular ohm formula figure to be positioned further to the right and the bottom of the figure lined up with choice D of question 4. I don't want the blank space ...
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 ...
4
votes
1answer
142 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 ...
4
votes
1answer
583 views

Using \InsertChunk on examdesign class to create testbank

I've using the examdesign class to create exams and it can do almost everything I want. But I find that I've been repeating myself as I reuse old exams as practice exams and quiz problems. I'd like ...
3
votes
3answers
571 views

Recommendation for homework use [closed]

I'm re-discovering LaTeX after an absence of 15-17 years. Sadly all my previous skills are gone so I'm starting from scratch. I am taking two grad courses for which I have to submit assignments every ...
3
votes
1answer
1k 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 ...
3
votes
3answers
258 views

Make an exam format with a logo

I am trying to make a header of an exam page but with logo. Below is my code. \usepackage{graphicx} \begin{document} \firstpageheadrule \begin{figure}[] \includegraphics[width=20mm]{logo.png} ...
3
votes
2answers
102 views

Using eqnarray (or similar) with exam class

I'm trying to use eqnarray in my solutions to questions using the exam class: \begin{questions} \printanswers \question What is $10 - 3$? \begin{solution} \begin{eqnarray} 10 ...
3
votes
2answers
179 views

How to change text on answerline in exam class

How to replace text on answerline As per exam class manual; i'm able to add answerline for MCQ using tex mentioned below \begin{questions} \question Who’s buried in Grant’s tomb? \answerline ...
3
votes
2answers
663 views

Create a name box on an exam

Is there an easy way to put a box in the upper right corner asking for student name/number on the first page? Is there something analogous to defining the location of something on a web-page in terms ...
3
votes
1answer
206 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. ...
3
votes
2answers
404 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 ...
3
votes
1answer
238 views

Ending a question in 'Exam' class

I am making a document in the 'exam' class and here's what I want to happen. \question This is part of the question This is no longer part of the question and is not indented as such. I know ...
3
votes
1answer
115 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
1answer
176 views

How to include exam class features in book class

I am currently writing up notes using the book class with three parts, one for lecturers notes, one for mine, and one for practice questions. I love the exam class for formatting questions, but I want ...
3
votes
1answer
366 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 ...
3
votes
2answers
582 views

Exam poll generator?

I need a recomendation for some good LaTeX document generator. I have two lists of questions - I want the Generator - to make a given number of exam polls which will have first question from the ...
3
votes
1answer
151 views

Random selection of file issues

I have tried to create an exam with random questions selected from different files as shown here. The code I used works but is only randomized on a random basis; i.e. for 1st round it gives a set of ...
3
votes
1answer
84 views

Exam class: aligning outline marks within solution flush right

I would like to get the marks e.g. [1/2] within the solution to appear flush right in the same way as the overall mark for the question. \documentclass[11pt,answers]{exam} \RequirePackage{amssymb, ...
3
votes
1answer
401 views

Header and Footer offset in Exam Document Class

I am using the exam document class and I want to implement a layout where the headers and footers span over both the text body and the margins. I tried using the \fancyhfoffset command from the ...
3
votes
1answer
148 views

Make \section*{} compatible with the exam class

I'd like to redefine the \section*{} command so that the section title are aligned left. I actually can achieve it with \fullwidth{\section*{my section title}} but y would like to do something like: ...
3
votes
1answer
33 views

modifying qformat: add the points at the end of the question in line with it

I'd like to modify the qformat so that the points of the questions appear in line with and at the end, but not in the right margin. Like in this word example. I've tried modifying qformat, but it ...
3
votes
1answer
72 views

How can I fine tune the spacing between the question and the start of the question's text in an exam environment

I want to make questions in my exams, some of which just ask a question, some have an intro then parts, and then others launch straight into parts. If I use the following: ...
3
votes
1answer
55 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} ...
3
votes
0answers
43 views

How can I change the thickness of \hrulefill [duplicate]

I am writing a worksheet for a math ed class. I am asking questions and would like the answer lines to start as soon as the question ends, and not the next line. This is partly because I want to start ...
2
votes
1answer
148 views

Can somebody edit this so it works

\documentclass{article} %-------------------------------------------------------------------- %-------------------------------------------------------------------- \newcounter{choice} ...
2
votes
2answers
962 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 ...
2
votes
1answer
134 views

Why is this simple exam document couldn't be compiled?

I am learning how to type an exam under the exam documentclass, below is how I typed it, but it couldn't be compiled and I have no clue why. \documentclass[11pt,addpoints,a4paper]{exam} ...
2
votes
1answer
65 views

pdflatex stuck compiling, gives no error

My case is: I have been typesetting tests with the exam class, I used to have problems with multiply defined labels for questions (but that is another problem). Recently I managed to change a few ...