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

Normalizing nested environments for cleaner design (LyX)

LyX supports nested environments (e.g., begin{itemize}...\item...) intuitively with the Tab key. I'd like to get this to work for questions in a layout with the Exam class. Exam nests questions with ...
0
votes
1answer
40 views

Counting choices in Exam

MWE \documentclass[11pt,paper=a4,answers]{exam} \usepackage{environ} \newtoks\allanswers \NewEnviron{answer} {% \edef\temp{% \the\allanswers % the previous ones \thequestion) \thechoice \...
0
votes
0answers
17 views

Typing MCQ using exam class and print question and answer seperated and continuously

Type I Printing Questions only Which of the following is/are true for the given numbers. 2, 5, 1, 5, 7, 9, 5, 6, 2. (a) Mean = 4.67 (b) Mode = 9 (c) Median = 5 (d) All ...
3
votes
1answer
29 views

Replace \choice[1] with \CorrectChoice (hacking around a LyX limitation)

I'm working on a simple layout in LyX 2.2 for the exam class. Many things work very well, especially with the LatexType Item_Environment style in LyX layouts. However, I'm stuck at how to deal with ...
2
votes
1answer
106 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 ...
6
votes
3answers
745 views

Labeling problems with exam class usage when using multiple chapters

Using the exam document class I'm trying to create a questions/answers-sheet for a book. When working on the first chapter, everything worked nicely. When I came to the second chapter, I realized I ...
5
votes
1answer
95 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} \begin{...
2
votes
1answer
268 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
33 views

Reset question numbering in exam class without affecting grade table

Purpose: I need to create a document that contains multiple individual exams. I have already applied heavy customisations to the exam class so I wish to continue using it rather than having to start ...
2
votes
0answers
24 views

Modify fillin command in exam class

When using the exam class, is there a way to change the formatting of \fillin[][] command so I can increase the vertical space between text and underline? please see the output of the following code \...
10
votes
4answers
808 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 ...
0
votes
0answers
37 views

How to make post processing changes?

I'm not a Latex expert so I might be using the wrong terminology. I would like to create a package that make some post processing calculation and write the result to the document. More specifically, I ...
1
vote
0answers
39 views

How to correct alignment in exam class page layout?

I'm creating MCQ paper using EXAM class. \begin{center} Section II \newline Multiple Correct Answer Type \newline This section contains 10 Multiple Choice questions. Each question has four choices (...
1
vote
0answers
14 views

How to output the solutions/answers in two or more columns in eqExam?

The default format for the solutions output in eqExam is in single column. Many times I just want to give an answer or a hint instead of a complete solution, so I would like to output the answers in ...
2
votes
1answer
57 views

Answers in table at the end of document in exam template

I am writing multiple choice paper in following format \documentclass{exam} \begin{document} \begin{questions} \question This is a multiple choice question \begin{choices} \choice this is a ...
5
votes
1answer
75 views

pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored

when compiling the following document: \documentclass[11pt]{exam} \usepackage{amsmath,amsbsy,amssymb,amsthm,cases,blkarray,mathrsfs,amsrefs,amsfonts,latexsym} \usepackage{enumerate,enumitem,textcomp,...
6
votes
1answer
83 views

exam template problems

I am trying to compile my exam paper in latex. I started from a template I found on the website and I made some changes. Actually, the code I am using is the following: \documentclass[11pt,paper=a4,...
6
votes
2answers
165 views

Different Header on each page

I'm creating MCQ Exam Paper using the exam class. I'm able to create different Header for first page and remaining pages. Let us assume there are 5 pages in MCQ Paper such as : Page 1 Header : ...
2
votes
1answer
49 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
2
votes
0answers
20 views

How to write below textheight and above footer [duplicate]

MCQ Paper is mentioned below (Thanks to Erik) ; \documentclass[addpoints,answers,10pt]{exam} \setlength\textheight{15cm} \setlength{\footskip}{8.5cm} \providecommand{\myquestion}{% \question ...
2
votes
1answer
51 views

How can I write something in a box with \makeemptybox{1.8in}?

I would like to write something in a box with \makeemptybox{1.8in}? I am using the \documentclass[addpoints]{exam}. Thank you.
0
votes
0answers
118 views

How to align the answer environment so that it has to look like Question Environment?

I am using these code to generate my Question paper... \documentclass[a4paper,addpoints]{exam} \newbox\allanswers \setbox\allanswers=\vbox{} \def\qn{\question} \newenvironment{answer} {% \...
6
votes
1answer
546 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 doesn't ...
1
vote
1answer
34 views

Exam package labels multiply defined

I am using the exam package to create a questionnaire. I have two sections with multiple choice questions. When I put two "questions" environment under each sections, I get latex warning mentioning ...
4
votes
1answer
81 views

Pathching \raggedright to solution environment does not work in exam class

Consider the MWE given below. I am trying to patch the solution environment with \raggedright. But it does not seem to work. However, when an explicit \raggedright is issued at the start of the same ...
2
votes
1answer
30 views

exam documentclass automated \choice on emacs auctex

I am using the exam class to write some multiple choice questions on emacs. How can I achieve some sort of automatic \choice key combination in the checkboxes environment etc. Just like that I can use ...
3
votes
1answer
45 views

combine documents of different classes

I need to add to an article another document, class exam. include and input don't work properly if the preamble is different. I must add some multiple choice and clozes as an appendix to the article I'...
1
vote
1answer
63 views

Sketching within a Solution Environment

I wish to sketch a set within a solution environment, but my attempts have led to the following error message: LaTeX Error: Float(s) lost. How do I fix this? Here is a snippet of my code \...
2
votes
1answer
77 views

Conflict between xwatermark and exam class

I want to print a watermark in exam class in the following way as I don't want water mark in the foreground and with some opacity. As soon as I uncomment the \usepackage[printwatermark]{xwatermark} it ...
3
votes
1answer
66 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
1answer
67 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 ...
1
vote
0answers
25 views

eqexam package: when showing answers tekst wobbles

When I change the option "nosolutions" to the option "answerkey" of "eqexam package" to show my answer after the question, tekst of the questions "wobbles" (shifts a small amount of space). How do I ...
1
vote
0answers
56 views

Difference “exam class” and “eqexam package”?

What's the difference? It looks like "eqexam package" is more advanced. The "exam class" just uses the identical commands from "eqexam package". Is one of the two outdated? Recent posts talk only ...
4
votes
1answer
41 views

Writing error analysis test in TOEFL

I am new to latex. I am working as a lecturer of English as a Foreign Language. I am writing a test for TOEFL. I do not know how to write questions like in the following picture. Is it possible to ...
2
votes
1answer
41 views

problem with minipages

I would like to have two minipages in the same row. One of them has a picture. There is an error in the compilation. Can you correct the code? Thank you. \documentclass[addpoints]{exam} \usepackage[...
1
vote
2answers
297 views

printanswer in table in exam class

In the exam class there is an option to \printanswer. I have no problems with that, but when I work with a table I can not put the answers in the cells. \documentclass[11pt,a4paper,addpoints,twoside]{...
2
votes
1answer
6k views

Multiple Choice Questions in Exam package

I am trying to write an exam with some multiple choice questions. Here is a minimal example of what I am doing \documentclass[addpoints]{exam} \begin{document} \begin{center} \gradetable \end{...
0
votes
1answer
51 views

How to include a box in the header? (Exam document class)

I have a box that I'd like to include in the header, instead of manually repeating it in every page. How can I achieve that? \documentclass[addpoints, 12pt]{exam} \usepackage{amsmath} \usepackage{...
1
vote
0answers
115 views

How to append answer sheet to exam? (Exam document class)

I want to append an answer sheet to an exam. However, I only managed to do so manually, which causes conflicts if I reference things (with \cref for instance). Also, if have to re-adjust the points in ...
4
votes
0answers
48 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} \...
0
votes
0answers
47 views

A quarter of point instead \half point in Exam document class

I would like to have a quarter of point (1/4) instead a half of point (1/2) in the exam document class. How can I obtain this? Thanks so much
3
votes
2answers
610 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 ...
2
votes
1answer
43 views

Unusual multicols behaviour within enumerate when using forloop to specify number of items

I'm using the exam document class, and I have observed unusual behaviour of column breaks in the enumerate environment when using a forloop to specify the number of items. When I use the forloop to ...
14
votes
6answers
7k views

Creating Multiple Choice Questions Without using 'Exam' Class

I am working on a document with class article and I want to have multiple choice questions in it. Is this hard enough to do that I should change it to exam class? If not, how do I accomplish this? ...
3
votes
2answers
131 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 ...
2
votes
3answers
148 views

Exam Paper Header

I would like to recreate something like this To make my students' papers are realistic and true to the real thing as possible. How would a header like that be achieved, would it be with the \...
2
votes
1answer
75 views

Answer environment should give different font and different size I want. How can I do?

I am working with this codes for my Question paper. \documentclass[10.5pt,a4paper,addpoints]{exam} \newbox\allanswers \setbox\allanswers=\vbox{} \newenvironment{answer} {% \global\setbox\...
1
vote
1answer
60 views

mcq's (exam package)

I want to create MCQ questions for my students. For that I have used the following code but I am facing difficulty (see comments at the end). \documentclass[10pt,a4paper]{exam} \usepackage{amsmath,...
5
votes
1answer
4k views

How to insert logo in exam document class?

I would like to insert a logo for the exam questionnaire on the upper right where the title is placed but i dont know how.. i would like to appear it this way.
3
votes
1answer
68 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} \question[...