Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [exam]

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

36 votes
4 answers
13k views

How can I typeset an exam or assignment paper?

I want to use LaTeX for exam and assignment papers for a class that I am teaching. I obviously could just do the whole thing myself. But, what alternatives are there for easily typesetting such ...
vanden's user avatar
  • 31.4k
27 votes
2 answers
1k 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 ...
Michael S Taylor's user avatar
27 votes
4 answers
11k views

Generate exam from a question bank?

I am looking for a LaTeX package that will allow me to generate an exam with questions drawn from a particular question bank. Each question within the bank would be a self-contained block of LaTeX ...
JohnD's user avatar
  • 2,259
26 votes
6 answers
27k 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? ...
Michael's user avatar
  • 513
26 votes
5 answers
12k views

How to write a multiple choice test book with LaTeX?

I want to write a book which will consist of many multiple choice exam sheets. Putting the codes below into my preamble, I wrote the question like as \begin{enumerate} \item $2+2=?$ \choice $1$ \...
Celal Cem's user avatar
  • 551
25 votes
5 answers
10k views

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

This question led to a new package: multiple-choice We can have three types of column typeset. See the image below: The above image was created using the LaTeX code below: \documentclass{article} \...
ollydbg23's user avatar
  • 1,208
23 votes
7 answers
7k views

exam class - permute mc answer choices, generate answer key

I happily use the exam document class to create exams and quizzes. I often make at least part of my exams multiple choice, and I'd like to be able to generate multiple versions of the exam by ...
Jason's user avatar
  • 485
21 votes
4 answers
5k views

Variations of an exam

I'm using the great exam package to create exams. But sometimes there are many students so I need to create different "versions" - Group A and Group B. Mainly the differences are only the numbers in ...
uzsolt's user avatar
  • 1,431
19 votes
5 answers
7k 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 ...
Holene's user avatar
  • 6,950
16 votes
2 answers
7k views

Command already defined

I came across an odd problem compiling LaTeX exam.cls document producing with knitr. Pasted below is minimal reproducible code. knitr compiles fine, but pdflatex terminated with: Command \framed ...
Andrej's user avatar
  • 2,772
16 votes
2 answers
3k views

Customized bonus questions in exam class

I'm using the exam class (with the addpoints option) to create assignments, and I want to create some bonus questions. I have a customized question format that looks like this: \qformat{Question \...
Suresh's user avatar
  • 16.7k
16 votes
3 answers
4k views

Determining total points in a section with exam class

In an exam I am writing, I have a short answer section and a multiple choice section. Each of these sections should have questions starting at 1. As pointed out in this question, if you want to do ...
SethMMorton's user avatar
16 votes
3 answers
4k views

Set indentation of choice in exam documentclass

I want to create an multiple choices question with this indenting format 1. ######## A. ### B. ### C. ### 2. ######## ######## A. ### B. ### C. ### The choices have same ...
Mas Adit's user avatar
  • 321
15 votes
6 answers
2k views

Automatic generation of pages with variable fields

I need to produce dozens of same pages, except for the part that each page has to have a different person's name on it. Imagine it as an exam, where the content is equal for every page, except that I ...
Filip's user avatar
  • 151
15 votes
1 answer
45k views

How to define environments for questions and answers

I wish to do a simple question and answer sheet for my students. I'd like to have something like this: \section{Differential Equations} \begin{questions} \begin{question} ...
Dorogz's user avatar
  • 173

15 30 50 per page
1
2 3 4 5
64