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
829 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 ...
4
votes
1answer
302 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 ...
4
votes
1answer
530 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: ...
4
votes
1answer
1k views

Header and Footer offset in Exam Document Class

I am using the exam document class and I want to implement a layout where the headers and footers span over both the text body and the margins. I tried using the \fancyhfoffset command from the ...
4
votes
1answer
524 views

Exam Lines (not with the exam package)

I'm a newbie to LaTeX as of a couple days ago, and was delighted to hear of an exam package that would ease my pain. However, I've worked out that the exam paper I am trying to emulate definitely did ...
4
votes
1answer
248 views

exam class - align problems horizontally using probsoln

I would like to create worksheets with problems filled by rows instead of columns. I am using probsoln to store and call the problems, but they always end up filling the worksheet vertically. I tried ...
4
votes
1answer
327 views

Make \section*{} compatible with the exam class

I'd like to redefine the \section*{} command so that the section title are aligned left. I actually can achieve it with \fullwidth{\section*{my section title}} but y would like to do something like: ...
4
votes
1answer
241 views

Two columns: one column for questions; the other for answers

I am using the exam class. \documentclass{12pt,a3paper,landscape}{exam} I would like to split my paper into two columns. One column should be for the question and across from that question would ...
4
votes
1answer
325 views

\fillwithlines{\stretch{1}} only .6\textwidth

I'm using the exam package and want to use \fillwithlines{\stretch{1}} but only so it goes .6\textwidth across the page. I've tried using minipage, parbox, and makebox, but none of them work with the ...
4
votes
1answer
61 views

In the exam class, is there a way to keep questions on one page? [duplicate]

Using an exam class, Is there a way to keep questions on one page. Particularly with multiple choice questions, is there a way to keep a page break from occurring in the middle of the question?
4
votes
1answer
260 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 ...
4
votes
1answer
921 views

Using \InsertChunk on examdesign class to create testbank

I've using the examdesign class to create exams and it can do almost everything I want. But I find that I've been repeating myself as I reuse old exams as practice exams and quiz problems. I'd like ...
4
votes
0answers
41 views

Change margin points in leftmargin of exam class

How do I put the points on the leftmargin more to the left? Tried even changing some code in exam.cls but I failed. \documentclass[10pt,a4paper]{exam} \usepackage[latin1]{inputenc} \begin{document} ...
4
votes
0answers
93 views

problem with exam document

Hi I have two problems with this file. The first one is that I wish the order in each copy of the answers to question number 10 is random. The second one is that in the table with the \{bhpword Bonus ...
4
votes
1answer
88 views

Selecting a subset of questions among a long TeX file

I have a big list of questions and solutions and I want to select a subset of them to use in exams. I am using documentclass exam. See the following example \documentclass[12pt]{exam} ...
3
votes
3answers
948 views

Recommendation for homework use [closed]

I'm re-discovering LaTeX after an absence of 15-17 years. Sadly all my previous skills are gone so I'm starting from scratch. I am taking two grad courses for which I have to submit assignments every ...
3
votes
2answers
339 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 ...
3
votes
2answers
456 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
784 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} ...
3
votes
2answers
144 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 ...
3
votes
1answer
651 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. ...
3
votes
2answers
1k views

Create a name box on an exam

Is there an easy way to put a box in the upper right corner asking for student name/number on the first page? Is there something analogous to defining the location of something on a web-page in terms ...
3
votes
1answer
102 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} ...
3
votes
1answer
284 views

exam class: hide points but still be in grade table

I am using the exam class to write my exercise sheets. Now I want to have something like Exercise 1 (5+5 points) (a) lala (b) lulu but I still want to use \gradetable. My Question would be if ...
3
votes
2answers
140 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} ...
3
votes
1answer
1k 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 ...
3
votes
2answers
566 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
311 views

Ending a question in 'Exam' class

I am making a document in the 'exam' class and here's what I want to happen. \question This is part of the question This is no longer part of the question and is not indented as such. I know ...
3
votes
1answer
212 views

How to create an optional argument like the 'correctchoice` command in exam document class?

I want to create an alternative to CorrectChoice. That when [answers] command is used it will highlight the correct answer and be printed with the question together. I have seen this command by this ...
3
votes
1answer
132 views

Create command not using adjustbox package for inserting image

I am creating a test question using exam.cls and I think it would be different if i will include image in the question. But i dont really know how should I insert it. i found a solution code that ...
3
votes
1answer
333 views

How to include exam class features in book class

I am currently writing up notes using the book class with three parts, one for lecturers notes, one for mine, and one for practice questions. I love the exam class for formatting questions, but I want ...
3
votes
1answer
63 views

Strange slanting behavior in tikzpicture

I'm running LuaLaTeX and if I remove any of the packages below, or even change my layout control by loading the package directly, then my tikzpicture compiles as expected. With this precise setup, ...
3
votes
2answers
128 views

Automated Creation of Questions and Solutions for a Worksheet/Exam

Overview My title is the not the best, and I will edit it if there are any better suggestions! In a nutshell, what I am trying to achieve is to randomly change numbers in a maths question and have a ...
3
votes
1answer
66 views

Why the part question labels are not vertically left aligned in exam class

I'm using TexLive 2015 under Windows XP, and using the latest exam class. Here is the sample code build by Xelatex engine. \documentclass[a4paper]{exam} \begin{document} \begin{questions} ...
3
votes
1answer
48 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} ...
3
votes
1answer
115 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 ...
3
votes
1answer
109 views

Add asterisk in Exam class

I am writing some exercise for students using exam class. I want some question to be after-class exercise and indicate that by putting an asterisk after the question number, something like (a)*. I ...
3
votes
1answer
105 views

How can I effect the same horizontal alignment, here?

When I start with the code shown below, I experience the following alignment problem: How do I make it correct alignment? Also, I want to encircle some special question numbers... How can I do ...
3
votes
1answer
444 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 ...
3
votes
2answers
491 views

How do I keep questions from splitting between pages in exam?

How do I keep questions from splitting between pages in exam? For example in the MWE below, I'd like to have a page break after Question 2 so that Question 3 can start on a new page. I don't ...
3
votes
2answers
898 views

Exam poll generator?

I need a recomendation for some good LaTeX document generator. I have two lists of questions - I want the Generator - to make a given number of exam polls which will have first question from the ...
3
votes
1answer
62 views

Writing a multiple question test in TOEFL

I am writing a book and use book document class. I would like to write a multiple choice questions as in the following picture: I have tried to use standard enumerate but there are two things I ...
3
votes
1answer
86 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 ...
3
votes
1answer
81 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 ...
3
votes
1answer
148 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.: ...
3
votes
1answer
66 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} ...
3
votes
1answer
120 views

Encircle a question number

I wish to encircle the first question and third question only or i need to mark this is a favorite question by putting star on it. how do i do it?? \documentclass[]{exam} ...
3
votes
1answer
333 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
273 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, ...
3
votes
2answers
307 views

Align part questions in the exam class

I wonder how I can align the part questions in the exam class. MWE: \documentclass[12pt, norsk,a4paper]{exam} \usepackage{babel} \usepackage[utf8]{inputenc} \usepackage{fouriernc} ...