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
0 answers
12 views

Align latex exam multiple choice of multi columns stuff

I'm typesetting a economics exam paper using \documentclass[exam]. I have some questions like the following Case 1: two column with short headline Case 2: two column with long headline Case 3: ...
user avatar
  • 111
0 votes
1 answer
34 views

landscape Header on the long side

Page 2 is to be displayed in landscape format. How to place the header on the top long side on this page? \documentclass[12pt,addpoints]{exam} \usepackage[a4paper,left=2cm, right=2cm, top=3cm,bottom=...
user avatar
  • 49
0 votes
2 answers
92 views

How can I replicate this question in Latex?

Does anyone know how I could replicate this exam question in Latex? It doesn't have to be exact, just something close to this format. Any help is greatly appreciated!
user avatar
0 votes
1 answer
37 views

Exam class points in margin at arbitrary positions

Using exam class I can assign points to questions, parts and subparts with \documentclass{exam} \begin{document} \begin{questions} \question[20] \begin{parts} \part[8] ...
user avatar
1 vote
1 answer
19 views

How to change alignment of \uplevel in exam class?

I am trying to mimic the exam style of the Dutch central exams (high school) in LaTeX so my students can get used to the exam format. I am using the exam package from LaTeX and I have almost nearly ...
user avatar
1 vote
1 answer
57 views

Fix vertical space [closed]

When I write between the 1st question and the 2nd question, I want to prevent the 2nd question from moving down. I want question 2 to remain fixed Like this: \documentclass{exam} \begin{document} \...
user avatar
  • 172
1 vote
0 answers
51 views

Macro for computing subtotal (hide subtotal)

I've been trying to modify the following code which I have obtained from Macro for computing subtotal Tex Question. My MWE with my not so great solution. \documentclass[addpoints]{exam} %%%%%%%%%%%%...
user avatar
0 votes
1 answer
44 views

Identify the previous question number

Using exam class, I want to identify the previous question number. For example when you have 3 questions. Q1 Q2 Q3 I want to insert a piece of code between Q1 and Q2 and the result of that code will ...
user avatar
0 votes
1 answer
50 views

Count total marks and questions

I'm trying to calculate the total number of questions and total marks based on an exam paper I'm currently writing. My MEW: \documentclass[10pt]{exam} \begin{document} \section*{Section 1} This ...
user avatar
0 votes
1 answer
113 views

Part 2: Custom Tags and Questions in Exam Class

This is an expansion of the problem I posted, which @John Kormylo has provided a solution for. https://tex.stackexchange.com/questions/640726/create-custom-tags-for-questions-in-exam-class Here is ...
user avatar
1 vote
2 answers
89 views

Create custom tags for questions in Exam Class

I've been trying to figure out how to create a tagging system for the questions I have and display the results in a summary table (see image attached). I have a sample .tex file that looks the ...
user avatar
0 votes
1 answer
73 views

Adding titles in exam class

I want to add sections and titles for questions in exam class. I used report class but I am wondering if I can get something similar with exam class . I want something like this (se also the picture), ...
user avatar
  • 145
0 votes
1 answer
27 views

How to configure footer on first page with Exam package?

With the following example, I cannot change the first page footer. \documentclass[addpoints]{exam} \firstpagefooter{left}{middle}{Page \thepage\ sur \numpages} \title{Exam} \begin{document} \maketitle ...
user avatar
  • 999
0 votes
0 answers
35 views

Exam Package Latex

I would like to have Questions, parts, and subparts not to break in between in a page, instead break after solution or the space... \begin{questions} \question \begin{solution} \end{solution} \vfill ...
user avatar
0 votes
1 answer
23 views

Change the appearance of AMCopen in separateanswersheet post-correct?

I am trying to make a template for post correction sheets, ( separateanswer sheet style) and i am running into some aesthetic issue. Right now when i use AMCopen it appears as shown. Presently Its ...
user avatar
  • 49
0 votes
1 answer
32 views

Watermark error in \documentclass[]{exam}

I'm adding a water mark to my assessments (\documentclass[11pt,answers,addpoints]{exam}), and I'm using the following commands, \usepackage[printwatermark]{xwatermark} \newwatermark*[allpages,% color=...
user avatar
  • 973
0 votes
2 answers
42 views

Exam class: make \fillin draw box instead of line

I am using the exam document class to create worksheets with fill-in-the-blank questions. By default, the \fillin command generates underlined empty space where students can write their answer. Is it ...
user avatar
  • 135
0 votes
1 answer
40 views

How to place dotfill and droppoints on the same line

I have these codes \documentclass[a4paper]{exam} \usepackage{chemfig} \usepackage[version=4,arrows=pgf-filled]{mhchem} \usepackage{chemmacros} \begin{document} \pointsdroppedatright \setlength\...
user avatar
0 votes
1 answer
92 views

Exam class: Each question on new page

I have an exam class document containing only questions (about 500 or so questions) using \begin{questions} \question[5] Question 1 text \question[10] Question 2 txt \question[10] Question 3 txt ... \...
user avatar
0 votes
1 answer
20 views

Number lines in fillwithlines command from exam package

I would like to add the line number of each line instead of the character "a" which I managed to add by tweaking the code a bit. The code is already modified according to How to continue ...
user avatar
  • 220
1 vote
1 answer
41 views

Retrieve value of class variable

I'm attempting to use exams' documentclass builtin variable in a formula, regrettably I get an error. ( ! Missing number, treated as zero. ) Is there a way to retrieve this variable so it can be used ...
user avatar
2 votes
1 answer
62 views

Create table with for loop (\Numpoint loops) and formula

Im trying to get a table added to my exam tex file that shows the grade earned based on all possible amounts of scorable points. I am running intwo two issues: The amount of \numpoints of the {exam} ...
user avatar
1 vote
1 answer
89 views

Error: LaTeX Error: Something's wrong--perhaps a missing \item for theorem like environment within the questions environment

I have used the exam document class with amsthm package. I have defined \lemma as follows - \newtheorem{theorem}{Theorem} \newtheorem{lemma}[theorem]{Lemma} And it has been used as - \begin{questions}...
user avatar
0 votes
1 answer
47 views

qformat for parts in exam?

In the exam package I would like to customize \part header. I know I can change the \qformat for questions, but I didn't find any similar command for parts. In my case my parts looks like: (a) (5 ...
user avatar
  • 999
0 votes
1 answer
45 views

I need automatic cross - referencing of question number with answer. so that if I click the question number it will lead to answer

\documentclass[12pt,a4paper]{exam} \usepackage{amsmath,amsthm,amsfonts,amssymb,dsfont} \usepackage{ifthen} \usepackage[margin = 0.8in]{geometry} \usepackage{gensymb} \newcommand{\ttt}{\textbf{- T}} \...
user avatar
0 votes
1 answer
41 views

How to use fillwithdottedlines with the number of lines?

With the exam package, I would like to know how many lines I want to give for an answer. Giving a height relies on the line-height parameter. Is it possible to say "I want to add 5 dotted lines&...
user avatar
  • 999
0 votes
0 answers
29 views

Exam class: different headers

How can I change the header per n-th page with the exam class. Sometimes I need headers on pages 1 - 3 - 5 and in other cases I need headers on pages 1 - 5 - 9. Additionally, headers on pages 3 and 5 ...
user avatar
  • 23
0 votes
0 answers
59 views

Question and answer two columns

I have searched the internet and found similar things but not an exact one. I want to create environments and other stuff required to make a pdf file as in the image. First comes the subsection title ...
user avatar
  • 203
0 votes
1 answer
31 views

Parskip before parts in exam?

I would like to add some space between the end of a paragraph and the beginning of parts. By default, this spacing is quite weird in comparison with traditional LaTeX. Here below you see that (a) Foo ...
user avatar
  • 999
0 votes
1 answer
64 views

Dealing with question name/number in exam packages

I quite like exam package, but in my use case, each question has a title and a number. The same as the \section of an article which has a name and a number. Thus, I would like to display the current ...
user avatar
  • 999
0 votes
1 answer
45 views

Consistent spacing in Exam package?

In the following example, I am not really happy with the indent. IMHO the indent should be as follow: Header aligned with the problem name No parindent for the text of the question No indent for the ...
user avatar
  • 999
0 votes
1 answer
58 views

Gradetable for each question?

We are writing an exam of 5 problems. Each problem should be on its own page and will be corrected by each teacher involved in this exam. To simplify the process I would like to display a gradetable ...
user avatar
  • 999
2 votes
3 answers
87 views

Getting rid of overfull \hbox message in exam class for wider footers

In an effort to increase the footer width in the exam class, I adapted the solution provided here. This works nicely. However, it is generating overfull \hbox warning messages. This is a bit personal, ...
user avatar
  • 16.7k
2 votes
2 answers
63 views

Is there a way to remove indents for question parts>

For the example above, how can I remove the indent from the parts so (a), (b), (c), (d) all line up with "Question 1"? \documentclass[addpoints, 12pt]{exam} \usepackage[a4paper, total={6in, ...
user avatar
  • 191
0 votes
0 answers
12 views

How do I get the marks and the text to have the same width from the edge?

In the above latex document, the margin size from "Question 12" and the marks on the side appear to be even. I was wondering how I can do this because currently I only know how to put points ...
user avatar
  • 191
0 votes
0 answers
37 views

Keep exam question or question subpart and solution in the same page

I will wish to have something like similar to \filbreak which works for questions and choices by putting a \filbreak before each \question as described HERE MWE below To preventing page breaks ...
user avatar
  • 193
0 votes
0 answers
31 views

Classe Exam com gabarito no final

utilizando a classe exam, há possibilidade de colocar as resoluções no final do texto? Mas escrevendo elas logo após as questões?
user avatar
0 votes
0 answers
28 views

How to make an exam grading table with optional parts?

I am giving an exam with 20 multiple-choice questions followed by four free-response questions. Students get to choose two of the four free-response questions to attempt (each worth 4 pts), and the ...
user avatar
  • 1,139
1 vote
1 answer
79 views

How to modify the \question command in exam class

I create math exams using \documentclass[legalpaper, 12pt]{exam} and \usepackage[bookmarks]{hyperref}. Each question is created by inserting \question[points] in the document and the enumeration of ...
user avatar
  • 189
0 votes
1 answer
61 views

Error Caused by The \makebox Command When Used Inside an Exam Document Header

I am using the exam package for the first time. I wanted to edit the header as mentioned on page 117 of the documentation. The \makebox command is causing an error of the type: Missing \begin{document}...
user avatar
1 vote
0 answers
19 views

How to change the layout of the grading table in the exam document class (follow-up)

This 8-year old answer doesn't seem to work anymore with the most recent version of exam class. So, I would like to understand what changes are needed to get the desired output of point tables ...
user avatar
  • 8,759
0 votes
1 answer
38 views

How to continue lines on next page in exam class \fillwithdottedlines

My question is basically the same question as this one previously asked: How to continue lines on next page in exam class \fillwithlines Except its for \fillwithdottedlines "I use the exam class ...
user avatar
0 votes
1 answer
65 views

Need help for exam header layout (LaTeX newbie)

I am a mathematics teacher in a Swiss secondary school. Until today I used to write my tests on LibreOffice using the TexMath extension to create the mathematical parts in LaTeX. I would like to write ...
user avatar
  • 137
3 votes
2 answers
236 views

Generate a grading table for exam using tabularray

I would like to have two commands that automate the generation of both vertical and horizontal grading tables to look the same as those manually written by me below. \documentclass[a4paper,addpoints,...
user avatar
  • 8,759
1 vote
1 answer
33 views

paracol/exam: How to continue the numbering of choices when switching between columns/rows?

I would like to make the choices list continue the numbering when moving from one column/row to another instead of labeling those of the first row as A and those of the second row as B. \...
user avatar
  • 8,759
1 vote
1 answer
79 views

additional row for percentage of points in package exam

MWE \documentclass[addpoints ,12pt]{exam} \usepackage{amsmath} \pagestyle{head} \runningheader{\class}{\examnum\ - Page \thepage\ of \numpages}{\examdate} \runningheadrule \pointname{ Pkt.} \...
user avatar
0 votes
1 answer
38 views

Uplevel with a stretch in \fillwithlines exam does not appear

When using the \fillwithlines{\stretch{1}} command inside an \uplevel-esque environment, the lines do not appear. This issue does not happen when a length is specified to fillwithlines instead. \...
user avatar
0 votes
0 answers
53 views

How to make sections in Answer key table in Automultiplechoice?

How do i make sections in answer key table in AMC. For example the exam, may contain section such as physics, chemistry and maths and supposedly 10 questions in each. the sections may also have any ...
user avatar
  • 49
1 vote
1 answer
56 views

Hide/unhide questions using a command like \printquestions in exam.cls

I am trying to customize the question environment of exam.cls. I want to have a command like \printquestions to hide/unhide the questions, while retaining the points and question labels. I have used ...
user avatar
  • 415
3 votes
1 answer
70 views

Macros passed as arguments for randomizechoices does not work

This is a highly simplified version of a large work. Please see the MWE given at the end. In the first case, when the macros are provided directly as choices inside randomizechoices it works fine. ...
user avatar
  • 16.7k

1
2 3 4 5
16