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

Filter by
Sorted by
Tagged with
0
votes
0answers
21 views

exam class: Different qformat for questions with and without bonus parts

I'm trying to typeset an exam using the exam package, and want to show the points information in the question title. I tried to set \qformat using \qformat{Question \Roman{question}\dotfill \...
0
votes
1answer
33 views

Non-Latin numerals with Polyglossia and the exam class [XeLaTeX]

I am writing an exam with exam class and Polyglossia. For some reason the Hebrew numerals are produced with an apostrophe at the exam list. I need the numerals to be without the apostrophe or as in ...
2
votes
0answers
33 views

The exam class with babel

I am using babel and LaTeX extensively, but have encountered an error I do not understand and would be grateful to get your assistance on. I have prepared 2 MWE that demonstrate that merely changing ...
3
votes
3answers
152 views

exam/chickenize: How to convert every single word and image into a dummy one?

Following-up my previous question, I would like to make the command \chickenize: apply the draft option of graphicx convert every word such as Question 1, the text inside the table, super and sub ...
1
vote
1answer
27 views

@currenvir check returns false

Good day, I'm trying to check for the solution environment and close it if it's open. I have tried this answer and checking directly for the @insolution toggle that is set by solution environment ...
1
vote
1answer
35 views

How to sum up question parts for the score tables?

Good day, I'm making a customized grading table for the exam class. In particular, I want to delete the first column and append a new one to the end. It seemed that creating a new table altogether ...
4
votes
1answer
107 views

Dynamic filling the writable textheight by horizontal rules page-by-page

For the following, how to calculate the number of horizontal rules (i.e. 19 and 11) based on the remaining writable textheight for each page? \documentclass{exam} \usepackage[ a4paper, left = 10 mm, ...
2
votes
1answer
168 views

Exam paper in A3 booklet format

I use the exam class for my tests. I usually give them in a booklet format which is the folded version of A3 paper. Here is a sample 4-page test: \documentclass[addpoints, 10pt, a4paper]{exam} %\...
3
votes
1answer
121 views

Exam: How to replace every word with a dummy one on demand?

Many times, I need to print an exam with a public printer to check its format and layout. However, it would be great to have a switch that replaces all the text with dummy text so that the exam ...
0
votes
1answer
37 views

How to type matrices as options in a Multiple choice question paper?

I want to set a multiple choice question paper for a series test on matrices and determinants. In some of the questions I have to give matrices as options. For other options I am using \begin{...
0
votes
0answers
22 views

Filling Score Cells on Gradtable

How to put the maximum ``scores'' of the solutions and total of them on the gradtable score? \documentclass[a4paper,10pt]{exam} \usepackage[hmargin=1.5cm,bmargin=1.5cm]{geometry} \usepackage[...
0
votes
1answer
57 views

What's the best way to adapt this to question-solution environment?

I have a full document with about 200 questions, set up using the enumerate package. \begin{enumerate}[Q1.] % Q1 - Q5 \item XXXXXXXXX \item XXXXXXXXX XXXXXXXXX \item XXXXXXXXXXXXXXXXXX \...
2
votes
1answer
107 views

exam: Change the name of the output PDF file when answers option is enabled

If I have a document whose name is my exam.tex, is it possible to make its output PDF file have a name of my exam [solved].pdf by appending the word [solved] only when the answers class option is ...
2
votes
1answer
152 views

Adding a question category and make it appear in the gradetable in exam class

We want to categorize the questions in our exams according to the learning outcomes. Each question will have one or more category numbers. And these numbers should appear in the grade table. For ...
0
votes
0answers
30 views

The leftbar environment and enumerate

I'm looking to work on my homework template, and I've come to a wall. I'm trying to make the leftbar environment from the mdframed package work with the questions environment such that the bar is ...
1
vote
1answer
53 views

exam/extsizes: How to create a new <size*>.clo file for unavailable font-size?

Following up this answer, how can I create a font size that extsizes doesn't have? In other words, what should be done to create, for example, size12.clo out of the existing size9.clo and size14.clo? ...
1
vote
0answers
36 views

Assign marks to questions and then add them all up

I would like to assign and tally up points on LaTeX. Here is a snip it of my exam paper. \documentclass{exam} \begin{document} \begin{enumerate}[label=\textbf{\arabic*}\hspace{4mm}] \item Given $z=\...
1
vote
1answer
41 views

Duplicate text in multiple places in different environments (lstlisting?)?

folks--- I got a question I'm not sure how to solve. I'm putting together a compendium of my exam questions in a single pdf that I'd like to share with other teachers who also use LaTeX. The pickle ...
0
votes
0answers
30 views

Exam document class - Question numbering and questionlabel

I am trying to format the question number in the exam class, I want the word "Question" and the question number in bold but the question itself in normal text. Reading the Exam class document I found ...
0
votes
0answers
43 views

Overfull hbox with exam class on `\hrulefill`

I'm working with the exam class using pdflatex and for some reason am getting an overfull hbox error on the following example presented in the documentation: \documentclass[10pt,letterpaper,final]{...
0
votes
0answers
23 views

Aligning the choice answers with text question

I want to know what options into multicols environment to set the right align the second column to the text above. \documentclass[11pt]{exam} \usepackage{multicol} \usepackage{amsmath,amssymb,...
0
votes
1answer
44 views

showallanswers doesn't print my document. No answer key

I am trying to make a nice exam template and everything is fine except that I can't print the answer key. When I use answer (class option) or \printanswers there is an error. \documentclass[11pt]{...
0
votes
1answer
61 views

How to create a Title Answer using exam package?

I've been a user of this place for a long time and searched several solutions about typing latex correctly. I've tried to write a simple exam paper and similar to this @Phil Hirschorn's answer like ...
3
votes
1answer
48 views

Points Format in examclass — add time

I have been trying to find a way to add time per question within the points option (so that each question shows [X points, Y mins.] but I still have no idea how. Is there any way to add a second ...
0
votes
0answers
24 views

Importing `oneparcheckboxes` environment into another class or alternatives to it

Well, first of all I'm currently working in a family of docs primarily written using exam class, but as part of this family I need to typeset one doc using leaflet class to obtain six minipages, but I ...
4
votes
2answers
82 views

exam/geometry: How to use \iflastpage to change the geometry of the last page?

How to make \iflastpage{\newgeometry{bottom=40mm}}{} work to have a specific bottom offset for only the last page? \documentclass{exam} \usepackage[14pt]{extsizes} \usepackage{lipsum} \usepackage[...
5
votes
2answers
160 views

Wrap text around tikzpicture environment

I've been trying to use the exam environment to produce nice solutions for an exam. My hope is to have the solution include a figure using tikzpicture and pgfplots and then have text wrapped around ...
5
votes
2answers
356 views

Automate Box Method / Area Model for Polynomial Division in LaTeX

I am writing worksheets with polynomial division using area models (often called "box method"): The process is very slow for making dozens of problems, especially when the problems are bigger, like ...
0
votes
0answers
25 views

Making a breakable empty box in exam class

In the following MWE, the empty box appears in the second page because it doesn't fit the first one: \documentclass[11pt,a4paper]{exam} \begin{document} \begin{questions} \question Text ...
0
votes
0answers
22 views

How do I create different answers for every section using the exam package

I'm trying to create exam questions and answers under different sections. How do I get answers separated into different sections? \documentclass[a4paper]{exam} \usepackage[utf8]{inputenc} \...
0
votes
2answers
61 views

Exam question with \fbox

I'm trying to replicate this format for my exam questions, but I really don't know how to do it. I tried with \fbox, but I can't put "QUESTION 2" on the box : \qformat{ \fbox{\parbox{5.5in}{\...
0
votes
0answers
49 views

How could I put a different gradetable in the exam package on the begining of the document?

I want to DIY the gradetable in the exam package but it is hard for me to deal with the source code. Here is my solution but I have to put it on the end of the document. In order to put it in the ...
1
vote
0answers
42 views

Exam Class: \vsword

I can already fill in the values of \pointpoints, \vqword, \vpword and \vtword for \gradetable. How to fill in the \vsword column? I want to fill it like this. \documentclass[a4paper,10pt]{exam} \...
0
votes
0answers
27 views

Exam class - Create two short tests on the same .tex file

I want to compile a test on an A4 paper page. It's a short test (1 or 2 questions) so that i can put them one below the other to cut the paper test afterwards in two A5 pages. I want to use examclass ...
0
votes
1answer
42 views

newcommand multiple choices exam

I have to make several multiple choice test and to make my life easier I defined this new command \newcommand{\preg}[6]{ \question {#1} \begin{choices} \choice \({#2}\) \choice \({#3}\) \choice \({#4}...
1
vote
1answer
72 views

How can I align the corresponding options (vertically) in the exam class?

I am trying to prepare a question paper for a test, and I'd like the choices of the multiple choice questions to be aligned, that is, I'd like all the A's, B's, C's and D's to be aligned just like in ...
2
votes
2answers
64 views

How to pass the contents of a newcommand to answers package?

I've got the following code, which uses the exam document class and the answers package. I'd like to pass the point value of the question into a separate file so that I can make use of the question's ...
1
vote
1answer
57 views

Exam doc. class: how to number solutions?

I'm trying to produce an answer key for an exam. What I'd like to do is to produce a list of only the answers. (Technically I'm planning on putting a grading checklist into the solutions - I want to ...
4
votes
1answer
102 views

exam: Macros for printing the values of \labelwidth and \labelsep for question/part

How can I print the values of \labelwidth/\labelsep for both questions and parts? \documentclass{exam} \usepackage{verbatim} \renewcommand{\questionshook}{% \setlength{\leftmargin}{0pt}% \...
0
votes
1answer
47 views

exam doc. class: making a grading key / grading guide?

I'm using LaTeX and the exam document class to put together an exam. I know that I can use the solution environments to create a copy of the exam that has the solutions included (in addition to the ...
0
votes
2answers
53 views

Horizontal alignment using multicols and parts (exam package)

I'm having trouble with horizontal alignment using multicols and exercises parts in the exam package. The items that I'm writing are not aligning horizontally as show the minimal example bellow \...
1
vote
0answers
106 views

Using LaTeX to create quiz questions and then export to QTI format

My university uses Canvas LMS which includes the ability to admin quizzes online. One drawback is the interface for writing quizzes is web based and rather primitive. For example one can't imbed any ...
3
votes
0answers
54 views

Exam class: Remove line breaks for \titledquestion?

I would like to (a) remove the line break between the colon and the start of the question and (b) remove the line break between the end of the question and the start of the solution as in the below ...
7
votes
2answers
283 views

Nicely-spaced multiple choice options

I am maxing an exam using LaTeX and use this command for making multiple-choice options: \newcommand{\mc}[5]{(\textbf{A}) #1 \qquad \qquad (\textbf{B}) #2 \qquad \qquad (\textbf{C}) #3 \qquad \qquad (...
0
votes
0answers
35 views

MCQ exam in multicols has different vertical alignment

I am currently entering the choices for questions using exam class. To align the choices for every question, I used multicols, but facing difficulty that the gaps between choices pair A & B and C &...
3
votes
1answer
62 views

Questions which include answers within the Question

I want to create Questions wherein each will include a series of fill in the blanks. I want to display a worksheet which has an answer line in place of the answers. And then a worksheet where the ...
1
vote
1answer
67 views

Numbering for Alternative Solutions in `exam` class

I am currently writing up solutions for past year exam, and found out there is no way to numbering the solutions for the same question, if necessary. (Some question ends up with numerous solutions.) \...
0
votes
1answer
71 views

Package to be used for `question` environment

I am working in document class book. I want to add exercises in each section of each chapter. My following code (I am sharing only part of cde due to which I am getting an error) is not getting ...
3
votes
1answer
43 views

Inconsistent linebreaks in similar situations

Below is a part of my output file The inconsistency is there at the end of the second line of each question. The word diameters is intact and broken in the first and the second question respectively. ...
3
votes
1answer
70 views

Exam package: add title only for \titledquestion

I wanted to use the exam package and have titled and non-titled questions in the following format: \question Which sentence is true? should give **Question 1:** [1] (<-- in a ...

1 2 3 4 5 13