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
0answers
36 views

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

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
34 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
61 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
58 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} ...
4
votes
1answer
22 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
55 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
29 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
22 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
184 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
93 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
38 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
92 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
50 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? ...
0
votes
2answers
147 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 ...
1
vote
1answer
79 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
31 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
37 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
157 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 ...
1
vote
1answer
153 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
82 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
84 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 ...
0
votes
0answers
145 views

Cartesian Coordinate System In TikZ VS Pstricks

I have been using pstricks to add cartesian coordinates to my exam document class structures for years. But, now I have switched to a Macbook air and I am using Texpad. The newsiest version of Texpad ...
3
votes
1answer
59 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
143 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
104 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
39 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
44 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 ...
3
votes
1answer
85 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
89 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
142 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 ...
1
vote
3answers
222 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
125 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
71 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
530 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
79 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
42 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 ...
1
vote
3answers
328 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
92 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
89 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
157 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
176 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
138 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
63 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
104 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
1answer
185 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
112 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
134 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 ...
2
votes
1answer
118 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
135 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
175 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 ...