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

4
votes
1answer
72 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
75 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
48 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
46 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 ...
19
votes
2answers
408 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
23 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
20 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
2answers
165 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
53 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
67 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
115 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
84 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
110 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
39 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
71 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
68 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
97 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
101 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
91 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
88 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
131 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
71 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
69 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
127 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
130 views

Can somebody edit this so it works

\documentclass{article} %-------------------------------------------------------------------- %-------------------------------------------------------------------- \newcounter{choice} ...
7
votes
2answers
179 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
131 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
3answers
223 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
120 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
113 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
153 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 ...
3
votes
1answer
55 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: ...
2
votes
1answer
62 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 ...
2
votes
2answers
119 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 ...
4
votes
2answers
174 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 ...
1
vote
0answers
641 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} %-------------------------------------------------------------------- ...
4
votes
1answer
174 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
165 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} ...
1
vote
1answer
152 views

EXAM Class : Choice next to each other

Currently using multicol and exam class I'm able to generate MCQ question paper in the formats mentioned below: Q.1 : Quiescent centre is found in plants at : A. Shoot tip C. Root tip ...
1
vote
0answers
78 views

Exam class: wrong \totalpoints [closed]

I have a problem with the exam class. Almost all of my questions have parts and I intend to mention, not only the points given for each part, but also the points total at the beginning of the ...
5
votes
1answer
169 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 ...
2
votes
1answer
157 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. ...
18
votes
4answers
586 views

How to automatically align the four choices of a multiple choice question in exam?

We can have three types of column typeset. See the image below: The above image was created using the LaTeX code below: \documentclass{article} \usepackage{ifthen} \usepackage{calc} ...
1
vote
2answers
128 views

Exam : Extras space above and below question

I'm trying to write exam paper using Latex, sample tex file is mentioend below: \documentclass[a4paper,addpoints,answers,11pt]{exam} \usepackage[T1]{fontenc} \usepackage{multicol} \usepackage{tikz} ...
7
votes
1answer
168 views

exam class : question with circles of same size

Using code mentioned below : i'm able to circle question numbers : \documentclass{exam} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ ...
0
votes
0answers
40 views

PDFLATEX : Cover Page Image with No Margin [duplicate]

I'm creating exam paper using exam class as mentioned below: \documentclass[a4paper,addpoints,answers,10pt]{exam} \usepackage{tikz} \usepackage{graphicx} \usepackage{wallpaper} ...
6
votes
1answer
99 views

How to count the number of questions separately for different parts in exam class?

I am creating an exam with two parts, the first part is short questions and the second part is essay question, and I would like to automatically count the number of questions for the two parts ...
2
votes
1answer
200 views

Exam class: Header on odd pages - including first - footer on all

How do I get my header to appear on only the odd pages, including the first one, and my footer to appear on all pages? I'm using the exam and I have a title with \maketitle. I've tried various ...
11
votes
3answers
453 views

Exam Class : With Question with images and border

I'm learning Exam Class to generate question paper. Sample tex code is mentioned below: \documentclass{exam} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ ...
4
votes
1answer
201 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} ...