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
128 views

Exam class: same space solution vs. no solution [duplicate]

In exam class, by inserting a fixed minipage same size of your answerslines for students you create the same space when answers are printed or when answers are not printed. How come the depth is still ...
0
votes
0answers
21 views

Exam class: solutionorlines-environment same space when only the lines are shown or only the solution [duplicate]

I use the exam class. I want something like in this picture where the solutions not shown with lines or solutions shown take the same amount of space. I want to adjust the exam.cls code so I don't ...
2
votes
1answer
123 views

How to show multi-choice answer key at the end of the document?

I want to show the answer keys at the end of the (multiple-choice) exam page. I have a bank of questions and answers (always the first answer in the bank is assumed to be the right choice), and some ...
4
votes
1answer
231 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 ...
1
vote
0answers
206 views

How to generate an answer key of a multiple-choice exam? [closed]

I have a number of multiple-choice questions. I want to produce an answer key (a small table with nx5 cells where the answer places are somehow highlighted). My code (from another post ) is shown ...
0
votes
1answer
73 views

question environment in other classes except exam class

I need to have an environment like \begin{question} to sort questions as what \begin{enumerate} does. I mean something like this: Problems: 1) Prove that .... 2) Show that .... 3) ... ...
5
votes
2answers
126 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 ...
3
votes
2answers
99 views

Too much white space around column!

\documentclass[a4paper, 11pts]{exam} \usepackage{multicol, setspace} \usepackage{textcomp, booktabs,colortbl} \usepackage[table]{xcolor} \setlength\columnsep{40pt} \onehalfspacing \begin{document} ...
5
votes
1answer
92 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} ...
1
vote
1answer
232 views

Shuffling questions in exam

If I want to shuffle the question to prepare four different questions papers having same questions but with the different question numbers, what should I do? \documentclass[12pt,a4paper]{exam} ...
2
votes
2answers
58 views

Image inside exam environment above question

I am wondering how can I fix the constant problem in inserting an image for a question. When I insert the image, I always have the image being above the question number. I want the question number to ...
2
votes
1answer
97 views

Decimal points in exam class

I would like to have decimal half points, not fractions, in the exam class. How can I obtain this? MWE: \documentclass[]{exam} \begin{document} \begin{questions} \addpoints \question[\half] ...
4
votes
2answers
229 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!
2
votes
1answer
111 views

Why the \section*{Past History} and \section*{Present problem} are compiling differently?

Why the \section*{Past History} and \section*{Present problem} are compiling differently in a following code? The present problem is getting indented on compiling. \documentclass[a4paper]{exam} ...
1
vote
2answers
59 views

How can I get an in-line in exam class

I need to draw an horizontal line for the answer. Here is MWE \documentclass{exam} \usepackage{multicol} \begin{document} \begin{center} \fbox{\fbox{\parbox{5.5in}{\centering OPD ENCOUNTER FORM}}} ...
4
votes
1answer
127 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 ...
5
votes
1answer
89 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? ...
2
votes
2answers
319 views

exam class with exercises and points in range

I use the exam class for writing my exam ctan exam The problem regards the counting of points when you have several exercises (so several question environments) Normally you have solutions in the ...
3
votes
1answer
236 views

Grade table add points error in exam class

In the exam class, I would like to assign points to both the question and the parts of that question. But when generating the grade tables, the points for that question will be two times of the ...
0
votes
0answers
84 views

examdesign document class not working in texmaker?

I am using texmaker in ubuntu 14.04 it is working fine for article report and other classes but only examdesign class is not working, I will appreciate any help or idea.
1
vote
1answer
54 views

Why am I having this problem with exam class and the package newicktree?

I'm having trouble getting phylogenetic trees to display correctly within the solution environment of the exam class. For some reason, they are positioned way far to the right (running off the page) ...
2
votes
3answers
282 views

How to typeset subquestions and the corresponding answers

I would like to typeset exercises with subquestions so that in the code I have an answer immediately following each subquestion, but in the output all the answers will be in the end. Also I want both ...
3
votes
1answer
534 views

Preparing true/false questions with exam class

I use the exam document class to prepare my question papers. While it may have some limitations compared to the similar others available, it has nicely fulfilled my purpose so far. Now, I need to ...
0
votes
1answer
121 views

Question on Subdivision?

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

LaTeX using the matching environment in the exam documentclass

Could someone please share a working example of using the matching environment in a document class exam. I am new to using the exam document class and am unable to find a way to set up the matching ...
3
votes
1answer
116 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 ...
1
vote
1answer
217 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
230 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 ...
0
votes
0answers
61 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 ...
0
votes
1answer
62 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 ...
5
votes
1answer
160 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} ...
2
votes
1answer
218 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 ...
4
votes
1answer
188 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 ...
2
votes
3answers
431 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
182 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
81 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 ...
25
votes
2answers
590 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
139 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
63 views

Redefine \question command in exam class to wrap in an environment [closed]

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 ...
1
vote
3answers
490 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
143 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 ...
2
votes
1answer
109 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$} ...
2
votes
2answers
215 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} ...
1
vote
0answers
328 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
162 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
97 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
192 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 ...
3
votes
1answer
401 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 ...
3
votes
2answers
127 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
4answers
165 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 ...