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

1
vote
3answers
219 views

How to make a fancy exam at LaTeX?

I'm very interested make a fancy exam at LaTeX? , You can see this example like this : But, i don't know How to start it ? Can you explain How to make it ? or What is the package at LaTeX ?
1
vote
1answer
75 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 ...
2
votes
1answer
44 views

Writing tutorials with exam document class, with and without solutions

I would like to write some tutorials for my students, and for this I am using the exam document class, and the solution environment. now the problem is I have a statement \printanswers that I need ...
4
votes
1answer
95 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 ...
0
votes
0answers
20 views

How do I disable headers and footers in the exam class?

I am writing a very large class file for my University, which can generate different kinds of documents (depending on the kind of options). One of the types is an exam. All these documents have to ...
6
votes
2answers
236 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 ...
3
votes
1answer
45 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} ...
0
votes
0answers
18 views

problem: showkeys printing labels on top of text in exam class questions

This is the example: \documentclass[a4paper,11pt,spanish,answers]{exam} \usepackage{showkeys} \begin{document} \begin{questions} \question This is a question This is a question with ...
2
votes
1answer
55 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 ...
8
votes
2answers
302 views

Set indentation of choice in exam documentclass

I want to create an multiple choices question with this indenting format 1. ######## A. ### B. ### C. ### 2. ######## ######## A. ### B. ### C. ### The choices have same ...
1
vote
1answer
880 views

Multiple Choice Questions in Exam package

I am trying to write an exam with some multiple choice questions. Here is a minimal example of what I am doing \documentclass[addpoints]{exam} \begin{document} \begin{center} \gradetable ...
1
vote
1answer
66 views

Using \extrawidth in exam class results in unwanted margin changes (per page)

I'm trying out the Exam class after seeing good things about it on this site following the guide: Using the exam document class by Philip Hirschhorn . However, I've run into some problems with the ...
6
votes
1answer
342 views

Generating gradetables with parts using the exam class

I've just started using the exam class to typeset, well, an exam, and when using the \gradetable command to create the final grade table, it only shows me the points at the granularity of a question, ...
3
votes
1answer
141 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 ...
1
vote
3answers
102 views

multiple choice questions type setting querries

I need to have four different question papers in which the order of the above questions only changed and i need to give the answer for the respective question paper in a separate sheet. so kindly ...
2
votes
1answer
81 views

Even horizontal distribution of choices in exam document class

I want to display the options for multiple choice questions horizontally within the exam document class. The oneparchoices environment displays the options horizontally, but the choices remain ...
2
votes
1answer
73 views

Multiple choice questions type setting

See the fourth question: the choices are showing twice one is along horizontal and another is along vertical, but I need only one like the above three. The commands I have used is given below. ...
2
votes
1answer
54 views

I need these commands in my questions with the following alignments..that is the output should be like this

\documentclass[12pt,a4paper]{exam} \renewcommand{\baselinestretch}{1.2} \oddsidemargin 0in \evensidemargin 0in \topmargin 0in \textheight 9.2in \textwidth 6.5in %\hoffset -1in %\voffset -1in ...
23
votes
2answers
465 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 ...
1
vote
0answers
37 views

Customising question number position in exam document class

I am using the exam document class and have a few questions about customising the layout. Firstly I want to move the question number to the left so it is in line with the left header, and I want more ...
1
vote
0answers
28 views

Redefine \question command in exam class to wrap in an environment

I'd like to redefine the question command from the exam class to wrap each question in a new environment. That's the general description. What I'm trying to do is take a document that is written as an ...
2
votes
2answers
130 views

How to customize the solution of multichoice question in exam documentclass?

\documentclass[cancelspace,10pt]{exam} \usepackage{multicol} %********************************************************** End of Listing Setting \usepackage[explicit]{titlesec} ...
2
votes
1answer
76 views

Putting solutions next to T/F choices

Setup I have the following MWE: \documentclass[addpoints,12pt]{exam} \usepackage{color} \usepackage{amsmath} \usepackage{amssymb} \checkboxchar{$\Box$} \checkedchar{$\blacksquare$} ...
1
vote
0answers
105 views

How to hook to solution environment of exam class to put the answers in the end of document

I want to put the answers to the end of the document, just like the way Martin Scharrer did in his reply to the question tex core - Showing Solutions of the Questions "separately" - TeX - LaTeX Stack ...
4
votes
3answers
116 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! ...
1
vote
1answer
49 views

Entering figure in the header in exam class

I am using the exam class for preparing a question paper. Can anyone tell me how to insert a figure in the header? My aim is to insert the university's letterhead at the top of the paper. regards Leo ...
6
votes
1answer
81 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 ...
2
votes
4answers
110 views

Switching between environments

I teach at the university and I write exams in Tex. I'd like to write an exam with a number of questions, where for each question I include either empty lines and empty figures with axes (for the ...
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 ...
2
votes
1answer
100 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 ...
4
votes
1answer
94 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 ...
3
votes
1answer
76 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, ...
5
votes
1answer
73 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 ...
4
votes
1answer
133 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 ...
2
votes
1answer
142 views

Can somebody edit this so it works

\documentclass{article} %-------------------------------------------------------------------- %-------------------------------------------------------------------- \newcounter{choice} ...
7
votes
2answers
182 views

Exam - \only without beamer

I am looking for a way to generate different copies of the same exam. I usually prepare several exercises, with two versions for each exercise; then I divide my students in four groups (A,B,C,D) and ...
3
votes
2answers
157 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
1answer
64 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
3answers
246 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} ...
2
votes
1answer
126 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} ...
4
votes
1answer
122 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} ...
1
vote
0answers
165 views

LaTeX class for typesetting question paper [closed]

I came across the "exam" class for typesetting question papers in LaTeX. I have TeXLive 2013 distribution. The distribution provides me exam.cls file. But my TeXMaker doesn't recognize it. When I ...
2
votes
1answer
66 views

Exam environment: Alignment of subparts' label

Is it possible to change the alignment of the subparts labels in the exam class? I have changed my labels with the \renewcommand\subpartlabel{(\thesubpart)} so that it shows (i), (ii), etc. in ...
4
votes
2answers
185 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 ...
2
votes
2answers
122 views

Why is there only one question on the second page? Using Exam Class

I am trying to format this exam; however, the number of question per page is horrible. There is no logical reason why there is only one question on the second page and several on the next page and ...
1
vote
0answers
666 views

Creating multiple choice questions with answers without exam class

I am trying to make multiple choice questions and I saw your answer to a similar question. \documentclass{article} %-------------------------------------------------------------------- ...
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 ...
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$ ...
4
votes
1answer
189 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: ...
5
votes
4answers
172 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} ...