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
1
vote
0answers
19 views

Generate n-many sets of exam by choosing question from m-many banks

This question is an extension of the topic discussed in Generate exam from a question bank?. What I want is as follows: I have three question banks: BankA.tex, BankB.tex and BankC.tex which have three ...
0
votes
0answers
18 views

Modify the \question \part \subparts environment in exam class

I would like to modify the \question \part and \subpart environment to include an extra optional argument. For example currently exam class has the following \question[1] which displays the mark of ...
0
votes
2answers
66 views

Provide Students with TeX Question Template

I am an instructor, and I prepare homework assignments using the \documentclass{exam}. I know that when I compile to PDF I can use \documentclass[answers]{exam} to generate a compiled PDF that ...
1
vote
1answer
27 views

Doc class Exam: how to control horizontal width of answer box / frame

The MWE below specifies 2 column format - one problem per column. As presently coded, the step-by-step solution box is a bit narrow, causing hyphenation that negatively impacts readability (IMHO) and ...
0
votes
0answers
18 views

Margins overlap in side by side minipages

Trying to put two minipages side by side in the examclass, but the droppoints and part numbers are overlapping (see image). I can't find any info anywhere on how to solve this/edit margin sizes within ...
1
vote
1answer
22 views

How to include the question number to the gradetable in an exam?

For an exam, each problem is named. So I would like to include the question in the grade table including question number and name left-aligned. With the following example, the questions are centred ...
0
votes
0answers
19 views

How to increase spacing after a question title in exam? [duplicate]

In the following example, I would like to add a \vskip 1em after each question. The body is too close to the question title. \documentclass{exam} \qformat{\large\textbf{Question\thequestion~: \...
3
votes
1answer
35 views

Colors in Exam class?

I would like to configure the colours in the Exam class, but it is not working and I get no colours. \documentclass[french,a4paper,addpoints,12pt]{exam} \usepackage[dvipsnames]{xcolor} \definecolor{...
1
vote
0answers
32 views

Solution box in book class

I am writing a book, 95% completed, and I intend to change an environment as soon as it is over. I wrote the entire book with the exam class, because when I started I had no idea that it is very ...
1
vote
1answer
111 views

Toggle between dotted lines/solution/blank space

I want to learn how to create a command such that I can easily toggle between having dotted lines or solution or even blank space (no space) under my questions. I know exam class has the answer ...
1
vote
1answer
86 views

Align all marks/points to the right in exam class

I want to learn how to align marks (to the right) and start the question always on a new line. My MWE: \documentclass[a4paper,12pt]{exam} \usepackage{amsmath} \pointsinrightmargin \renewcommand\...
1
vote
0answers
22 views

Adding points without a question in the exam class

In a test, I want to add some points for skills which are tested throughout the entire test. Therefore, they should not be appointed to a certain question. I hence want to be able to write something ...
0
votes
0answers
31 views

How to make boxes for fill in the blank questions in exam document class?

I'm going to have a "complete the solution" type of questions where you're suppposed to fill in your answer in a box. These boxes would be filled with number or even an expression. It should ...
0
votes
0answers
52 views

Create a math quiz with LaTex by randomly choosing questions from a bank

I am looking for a simple solution to the following problem: I would like to create a math quiz with n questions via LaTex (printable, in pdf) where question 1 is chosen randomly from question bank #1,...
0
votes
0answers
20 views

Adaptive height and width for exam's solutionorbox environment in tabular environment

I'm writing an exam sheet in which some answers must be written next to the question, not below. This seems to force me to write the question and the answer box in separate columns of a tabular ...
0
votes
0answers
24 views

Defining new environment in a class with a process in exam class

I'm trying to edit the exam class to include a new environment called versions, it should be similar to the questions environment; i.e., if you type \begin{versions} \version : : : \version : : : \...
1
vote
1answer
138 views

Exam layout with geometry and tcolorbox

Here are several questions: 1- How to make the usage of \tcboxfit in the first raster row not distort the layout as shown below? 2- How to precisely calculate the dimensions summation passed to ...
0
votes
2answers
55 views

How to prevent bleeding with fractions in solution environment

I'm generating math worksheets dynamically with pyLaTeX, and stumbled upon a weird behaviour that I don't quite find how to correct. I have a code that puts all the answers for an exercise into a ...
3
votes
1answer
78 views

Fix sexam package

This package is a modified version of the "exam" package, compatible with the Arabic language (via XeLaTeX/polyglossia) for exams In the link there are the package files, but no one worked. ...
0
votes
1answer
43 views

Twoside option for exam class

I wrote an entire book, 700 pages long, which contains 1000 math questions solved. When I started the book, however, I had no idea what each document class meant. I recently tried to put the book with ...
0
votes
0answers
23 views

Is it possible to combine probsoln with skills package?

I am trying to include three packages togetther and is not possible but i do not know how to make. Probsoln, exam class, and skills. But they does not work fine. For me skills is very useful and ...
1
vote
1answer
24 views

Improvements in the customized question environment

I am following a customized question environment that ends with an empty square at the end of the question on the right side of the page. If questions end with some text instead of the math ...
1
vote
1answer
34 views

How to display the correct choice in red color in exam class?

\documentclass{exam} \printanswers \begin{document} \begin{questions} \question Sample Question 1 \begin{choices} \choice Option1 \choice Option2 \choice Option3 \...
0
votes
1answer
59 views

How to produce answer key in exam class for multiple choice type of question?

\documentclass{exam} \begin{document} \begin{questions} \question Sample Question 1 \begin{choices} \choice Option1 \choice Option2 \choice ...
1
vote
0answers
15 views

Using the \points with \totalpoints in titled question in the exam class

I'm trying to create a titled question in which the total number of points is calculated automatically. I've tried the following things and none achieve my objective: \documentclass[addpoints]{exam} \...
1
vote
0answers
29 views

exam/geometry: First footer is shifted below when setting geometry using \AtBeginDocument

This answer does the job for placing the header right. However, the first footer is unknowingly shifted way much down. So, why does \AtBeginDocument{\settototalheight\headerTotalHeight{\headerContents}...
4
votes
1answer
104 views

tcolorbox: error with \settototalheight when calculating the header height before passing it to the geometry package

Following up this answer, I would like to know why the following doesn't compile and gives this error ! Undefined control sequence. \tcb@startbox ...x }{\tcb@w@upper }\tcb@lua@color {tcbcolupper}\...
0
votes
0answers
16 views

How to do section “continued” headings after pagebreaks for starred sections

There are good examples (links below) of how to create section "(continued)" headings after page breaks. I am using \Section* headings, and so the solution using titlesec is the only one I ...
1
vote
1answer
97 views

Esami: Formatting the exam exercises

I posted a question recently about probsoln but since have tried to move my exam to the esami package as it seems more powerful and what I want. However, I've struggled a bit to modify the example to ...
0
votes
3answers
68 views

Exam class: best way to redefine \question command to apply custom formatting

EDIT: In summary the answer really turned out elegant and sipmle. Thanks to all the answers below! \usepackage{etoolbox} %... \renewcommand\questionshook{\preto{\question}{\large\bfseries}} % If we ...
2
votes
0answers
20 views

what about dual in `\pointpoints{SingularText}{PluralText}`

when you need to change the language from English to another language has dual names, what should you do? as In document class exam, when you need to change the points name, there is just singular&...
2
votes
0answers
50 views

grade table with question/parts/subparts

I am trying to modify the code I have obtained from sykora so that, I can add \question and subparts points to the grade table. So far I have modified the code as. My MWE \documentclass[addpoints]{...
0
votes
1answer
35 views

Modify grade table in exam class so that all questions have the same points

Is it possible to manually change the individual question points so that all questions have the same points? I don't want to allocate a specific point in \question[].? I know how to force the total ...
3
votes
0answers
45 views

error: Missing number, treated as zero. \question

\documentclass[addpoints]{exam} %============================================================================== \usepackage[bidi=basic,layout=sectioning.tabular,english]{babel} \usepackage{unicode-...
0
votes
0answers
29 views

How to modify the \questionshook for different sections in exam class

My document has two sections, I would like to change section one \questionshook by adding a \labelsep. However, when I add \renewcommand{\questionshook}{\setlength{\leftmargin}{2.5em}\setlength{\...
2
votes
1answer
111 views

how to add two variables in latex

Is it possible to add two unrelated variables that hold an integer value? For example, I have this MWE \documentclass[addpoints]{exam} \usepackage{enumitem} \begin{document} \begin{enumerate}[...
1
vote
1answer
29 views

How to make a footnote appear only when a solution is displayed?

I'm trying to add footnotes to the solution of an exam I write using the exam class. The following code displays the footnote mark but not the footnote: \documentclass[12pt,a4paper,answers]{exam} ...
2
votes
1answer
37 views

Changing indentation in exam class

I'm currently writing an exam and require specific indentation on the left to match the following: I have been using exam class and have now sorted out the right margin and exam marks but my left ...
0
votes
0answers
32 views

Exam class: points in right margin for parts of question

I'm trying to write an exam with the same formatting as a VCAA exam. In these exams, the total number of points for the question is in brackets after the question number, but the points for each ...
0
votes
1answer
100 views

How to create circle checkbox multiple choice exam with choice letters inside circle

I can't find any place where I can get an exam environment where I can make a multiple choice exam with circle checkbox where the options are in letters A,B,C,D and E, and these are inside the ...
0
votes
0answers
40 views

Create fancy multiple choice exam with circled options

I haven't been able to find any source where I can get a template for creating an exam with multiple choice. But the choices must be circled so student fill them....does anyone know any source?.
3
votes
2answers
107 views

Arabic font for documentclass{exam}

My code \documentclass{exam} \pagestyle{headandfoot} \firstpageheader{\bfseries\large رياضيات\\مأمون }{\includegraphics{example-image}}{\bfseries\large الإمتحان الأول } \begin{document} مرحبا كيف ...
3
votes
1answer
82 views

Could I do a different automatic exam copies -one for each student-?

If I wrote an exam of ten Multiple choice questions, and I have 20 student. so Could I do a different automatic -by jumble the questions- exam copies -one for each student-? \documentclass{exam} \...
0
votes
0answers
24 views

Class exam + marginnote: How to explain this indent problem?

I use the class exam and I want to use the marginnote package to put notes in the margin of some questions. When I use the last optional argument to change the vertical offset, it adds some indent at ...
0
votes
1answer
26 views

exam: paracol \setcolumnwidth doesn't work as expected for a two-column part

Why does the image in the second column not fill a width of 0.34\linewidth as expected? \documentclass{exam} \usepackage[a4paper, top=1.9cm, left=2cm, right=2cm, bottom=2.2cm,showframe]{geometry} \...
0
votes
1answer
42 views

xparse / wrapfigure: \intextsep doesn't affect the output when set inside a \NewDocumentEnvironment

For the following, why does \setlength{\intextsep}{#5} inside \NewDocumentEnvironment{mywrapfigure} not have any effect on the output, which makes me have to use \setlength{\intextsep}{0pt} locally ...
0
votes
1answer
40 views

exam: two-column questions

Following-up this question and considering the two-column MWE below, I would like to 1- understand why the inter-line spacing inside minipage is bigger than that of both tabular and paracol 2- know ...
1
vote
2answers
51 views

How to use \AtEndDocument with the class exam?

Using \AtEndDocument produces a new page with the class exam, if not put before \documentclass{exam}. I made a package that modifies some key elements of the class, but the package needs to write ...
3
votes
3answers
138 views

Fix the numbering in exam class with minipage

I am trying to put the figure beside the text in exam class using \minipage. The best I can do currently is as the following: With the MWE: \usepackage[a4paper, top=1.9cm, left=2cm, right=2cm, bottom=...
2
votes
1answer
82 views

How to embed \choices in tabular in exam class?

Similar to the question: Exam class multiple choice answers in table format, I'm trying to embed the \choices into a table format and looking like a table. \documentclass[11pt]{exam} \usepackage{...

1
2 3 4 5
15