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

2
votes
1answer
64 views

`Exam` class — \bonusquestion produces strange formatting

This code \documentclass[addpoints]{exam} \begin{document} \begin{questions} \fullwidth{\large Extra credit: define each of the terms below.} \bonusquestion [0.25] Irony \...
1
vote
1answer
49 views

Hot to reduce itemsep globally into choice environment?

\documentclass{exam} \begin{document} \begin{questions} \question This is a question \begin{choices} \choice one \choice two \choice two ...
6
votes
1answer
85 views

Prevent second line hanging in questions

How do I prevent the second line to be indented as in the following example? \documentclass{exam} \begin{document} \begin{questions} \setcounter{question}{100} \question This is a ...
2
votes
2answers
62 views

Specifying points in a question as m + n in exam class

See the following example. In the first question, points in assigned in the parts are specified separately, 6 in the first one, 4 in the second one. However, for some local requirements, I need this ...
2
votes
1answer
169 views

Multiple Choice Question type setting for options

In the following code we are getting answers of each questions in following ways [1] (a) (b) (c) (d) i.e. in (4-columns) [2] (a) (b) (c) (d) i.e. in (2-columns) according to the length of ...
2
votes
2answers
190 views

Format question in examclass

I want to format all the questions and subquestions in bold. \qformat only affects what's in front of the real text. MWE: \documentclass[answers]{exam} \begin{document} This should not be in ...
3
votes
2answers
368 views

How to make the Question Paper in LaTeX?

\documentclass[11pt,paper=a4,answers]{exam} \usepackage{graphicx,lastpage} \usepackage{upgreek} \usepackage{censor} \censorruledepth=-.2ex \censorruleheight=.1ex \hyphenpenalty 10000 \usepackage[...
2
votes
1answer
79 views

Multiple questions type setting querries

I have used the codes given in previous question by someone else on the same title. Exactly i want to produce all four options like (a) (b) (c) (d) because of the length of the option is large ...
3
votes
1answer
49 views

Listing parts horizontally in the exam document class

Right now, I have the following code that compiles to look as shown: \documentclass[12pt]{exam} \usepackage[T1]{fontenc} \usepackage[parfill]{parskip} \usepackage{tikz} \usetikzlibrary{shapes....
0
votes
1answer
90 views

Multiple choice question with figure choices gives error when used with \printanswers command in exam class

This question has been modified from this question with added feature. However, when I used \printanswers command, the code gives an error the following error: ! Extra }, or forgotten \endgroup. \...
3
votes
1answer
88 views

Use a class as a package? (or parts of the class)

Is there a way to get some of the functionality of a class without the document being based on that class? I use the exam class a good bit to typeset exams and problem sets. I'm trying to format a ...
5
votes
2answers
198 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 ...
3
votes
1answer
89 views

Numbered copies with exam class

I'm trying to create an exam with numbered copies in a single file, using the exam package. I've managed to get everything to work, except that the \gradetable contains as many copies of the questions ...
1
vote
3answers
107 views

Removing solutions in LaTeX source

Let's imagine I'm teaching a class, and I want to use the exam package to write up a homework assignment. I'm aware that I could compile two different PDF documents -- one containing solutions, using ...
2
votes
2answers
116 views

Constant Solution Spacing in the Exam Documentclass

I'm using the exam documentclass and I would like to keep the spacing between questions the same whether or not the solutions are printed using \printanswers (so it has the effect if the solutions ...
2
votes
1answer
100 views

Total number of Questions and Grads/Points in Exam class

I am using the exam template and wonder how to count the total number of questions and the total number of marks to provide the totals on a cover sheet (before declaring them)? Here is what I have. I ...
4
votes
1answer
122 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 ...
0
votes
0answers
43 views

Remove spacing for each question

I am using the exam class. How can I remove spacing after each choice?
0
votes
0answers
33 views

How can I edit this code so that no numbers display on the right hand side

\usepackage{tabularx} \newcounter{matchleft} \newcounter{matchright} \newenvironment{matchtabular}{% \setcounter{matchleft}{0}% \setcounter{matchright}{0}% \tabularx{\textwidth}{% >{\...
2
votes
1answer
331 views

\fillin command from exam class not working: Undefined control sequence

I'm trying to create my first exam using documentclass{exam}, and saw in their documentation (http://mirrors.ctan.org/macros/latex/contrib/exam/examdoc.pdf , page 44) that there is a \fillin command, ...
1
vote
0answers
67 views

Print Solution seperately in exam document class [duplicate]

I want to print answers separately after the end of the the questions in exam document class. Guide me. Which is/are the neighbouring countries of India? A. Nepal B. USA C. Thailand D. China Who ...
4
votes
2answers
140 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 ...
0
votes
0answers
46 views

Sections as tasks and titlepage with exam package

I'm currently typesetting an exam using the LaTeX exam package. I really like its functions like adding together points, providing solutions, making grade tables etc. Unfortunetely it still has some ...
3
votes
1answer
159 views

Exam Class: don't print questions

Suppose I am using the exam class. There is an option \printanswers to print solutions, otherwise solutions aren't printed. I would like to suppress questions and just print the solutions. Is this ...
2
votes
1answer
146 views

Add picture in Exam class

I am writing assignment using exam class. I am having difficulty in adding pictures. Could anyone help me with it, please? The following is my work. As a test, I attach the following picture. \...
6
votes
1answer
192 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 ...
4
votes
1answer
197 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 ...
0
votes
2answers
75 views

Increase header width in exam class

Haven't asked a question in a while, but I'm really struggling with this one in spite of all my googling. I need some text to run into the margin in my header and footer using the exam class. All the ...
1
vote
0answers
112 views

Exam document class

I have to include the exam.cls file in every single project folder I work on. Is there a way to load the exam.cls file into texstudio so I do not have to keep a copy of this file in every folder? I ...
2
votes
1answer
131 views

exam, headrule of first page is different to second?

I define a header in the preamble: \pagestyle{head} \runningheadrule \header{xxx\\ xxx\\ xxx} {} {xxx\\ xxx\\ Seite \thepage von 8} Page one is diffrent to the other pages, and I don't know why :-(...
2
votes
1answer
102 views

Using \CorrectChoice (exam package) inside tabularx Environment

For modelling a list of questions with yes/no answers I wanted to define an environment where I can setup a question with a command: \clO for an option that's not applicable and \clX for those that ...
2
votes
2answers
123 views

Put answer as an optional argument for multiple choice

I am using the following code at the moment to make Multiple Choice Questions with the options as the 5 arguments. \documentclass[a4paper,addpoints,answers,12pt]{exam} \usepackage{graphicx,tabularx,...
2
votes
1answer
260 views

Defining new command for Multiple Choice Questions

I checked out this page and they have very good answers but not exactly what I'd need. I would want the justification to be like it is in the answer they gave with everything in one line touching the ...
2
votes
1answer
120 views

Points not appearing in main question

For some reason, the points DO appear in the parts and subparts but it doesn't appear in the main questions in this document. I tried removing the 3 lines between the 2 ** too in case they were ...
3
votes
1answer
108 views

How to add logo at exam class with two column?

I have a problem about "How to add logo at Exam class with two column ?". My MWE like this : \documentclass[11pt,addpoints,answers,twocolumn]{exam} \usepackage{graphicx,lastpage} \usepackage{...
3
votes
1answer
160 views

Stating number of parts in an exam question

I'm trying to refactor some exam questions to use the exam class. Most of the time I have questions that are broken down into parts within a parts environment. E.g.: \documentclass[11pt,leqno,...
2
votes
1answer
90 views

How to change the enumeration of \subpart in exam document class?

By default, \subpart uses i. , ii. , etc. I would like to change it to (i),(ii),etc. How do I do that?
2
votes
1answer
89 views

Make \droptotalpoints look like \droppoints (exam documentclass)

To save typing, I have \newcommand{\q}{\question[1]} defined in my exam documentclass. Then, after the question, I use \droppoints to get [1 pt] printed in the right margin. But sometimes, my ...
0
votes
1answer
242 views

Question paper in LaTeX [duplicate]

Is it possible to type a question paper using MiKTeX version 2.9? How to install the exam package once I have already installed basic packages like article, thesis.
2
votes
0answers
167 views

Grading table with question parts

\documentclass[addpoints]{exam} \begin{document} \begin{questions} %\begingradingrange \question[16] \begin{parts} \part[8] question 1 \part[8] question 2 \end{parts} OR \begin{parts} \part[10] ...
5
votes
1answer
322 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}...
1
vote
1answer
47 views

table extrude from solution envrionment's frame in exam document

I'm using the exam class, and I have tables in it's solution environment, but I found that a table extrudes from the frame of the solution environment at the bottom of the page, see the image shot ...
2
votes
1answer
276 views

how to create book with multiple exam question papers in chapters?

I want to bundle together multiple exam question papers in the form of a bound book to be handed out as practice problems. The exam question papers are mainly objective MCQs. Each chapter will have ...
3
votes
1answer
479 views

Multiple Choice Answer Key in exam package at the end of document

I think this is a follow up question to: Print answer key to multiple choice questions I am trying to create an answer key at the end of my exam class document where all the questions are multiple ...
10
votes
4answers
782 views

Answers at the end of the exam document

I'm using the exam class, and I want to add answers. Right now the solutions are printet after the question, but before the next question. Ideally they would be presented at the end of a serie of ...
5
votes
3answers
299 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 \...
2
votes
1answer
272 views

Creating Multiple Choice Questions with Answers Without Exam Classs

I want to sort as seen in the photo above. But the results are as follows. Attention to the red frame. I've tried alot but I could not. Waiting for your help, thank you. \documentclass[9pt,a4paper,...
3
votes
1answer
68 views

I cannot control SolutionColor in exam \shadedsolution

I would like to choose solution color shading (green), and tried the following \documentclass[a4paper]{exam} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[danish]{babel} \...
0
votes
1answer
84 views

Writing the number of questions in exam class using words [duplicate]

I am creating an exam using the exam class. To conform with the standard format, I need to be able to count the number of questions (which can be done using \numquestions) and display them as words (i....
2
votes
1answer
126 views

Make table, point total work for exam with optional questions

I am writing an exam with the exam class, and I am including a single question where the students are supposed to choose only half to answer. There are six total parts, and they answer three. I ...