Coder Social home page Coder Social logo

exam's Introduction

A more up to date version of this class is available on the website of the original author: https://math.mit.edu/~psh/#ExamCls

This version is mostly including some modifications I needed at some point, that I did not push upstream since there was not git repository to make a pull request to. I am not the original author of this class, and I do not intend to maintain it. I am just sharing it in case it might be useful to someone else.

This is version 2.402 of the exam document class, dated February 10, 2015.

The exam document class, together with its user's guide examdoc.tex, attempts to make it easy for even a LaTeX novice to prepare exams. Simple commands are provided to:

  1. Create questions, parts of questions, subparts of parts, and subsubparts of subparts, all with optional point values.

  2. Create a grading table, indexed either by question number (listing each question and the total possible points for that question) or by page number (listing each page with points and the total possible points for that page). A grading table can cover the entire exam or just a part of the exam.

  3. Create headers and footers that are each specified in three parts: One part to be left justified, one part to be centered, and one part to be right justified.

  4. Have headers and/or footers that are different on the first page of the exam, different on the last page of the exam, and that vary depending on whether the page number is odd or even, or on whether the current page continues a question from a previous page, or on whether the last question on the current page continues onto the following page.

  5. Have multiple line headers and/or footers, and to increase the part of the page devoted to headers and/or footers to allow for this.

  6. Include solutions and have these solutions either printed or ignored (or replaced automatically by space in which the students can write their answers) depending on a single command.

  7. Change the words that are inserted by the document class (for, e.g., point values, or table headings), so that they can be adapted to personal taste and/or languages other than English.

The user's guide examdoc.tex attempts to explain all of the possibilities in a readable way, with many specific examples.


This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 of this license or (at your option) any later version.

exam's People

Contributors

xaf avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

exam's Issues

Force \Alph to Latin symbols in exam class

I have an exam written in Arabic. Need Latin numbering for choices (A, B, C, D).

MWE:

\documentclass[12pt]{exam}
            
\usepackage{polyglossia}
\usepackage{fontspec}

% Language setup
\setmainlanguage[numerals=maghrib]{arabic}
\setotherlanguage{english}
\newfontfamily\arabicfont[Script=Arabic,Scale=0.9]{Amiri}

% Questions setup
\usepackage{alphalph}
\renewcommand{\thechoice}{\AlphaAlph{\value{choice}}}

\begin{document}

\begin{questions}
    \question
        أوجد قيمة $x$ في المقدار اﻵتي:
    \begin{choices}
        \choice 1
        \choice 2
        \choice 3
        \choice 4
    \end{choices}
\end{questions}

\end{document}

Yields undefined control sequence for \choice.

Tried this, and this.

Grade table add points error in exam class

When assigning points to both the question AND the parts of that question, gradetable generation displays the points for that question twice as much the correct value as it adds BOTH the points for question AND the parts therein.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.