| 1 |
%% |
| 2 |
%% This is file `exam-n.drv', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% exam-n.dtx (with options: `driver') |
| 8 |
%% exam-n: format exam questions |
| 9 |
%% Release version exam-n-1.4.0, 2022 October 10. |
| 10 |
%% See https://purl.org/nxg/dist/exam-n |
| 11 |
%% and https://heptapod.host/nxg/exam-n |
| 12 |
%% and https://www.ctan.org/pkg/exam-n |
| 13 |
%% |
| 14 |
%%%% File: exam-n.dtx |
| 15 |
%%%% Copyright 2005--2022, Norman Gray |
| 16 |
%% |
| 17 |
%% This work may be distributed and/or modified under the |
| 18 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 19 |
%% of this license or (at your option) any later version. |
| 20 |
%% The latest version of this license is in |
| 21 |
%% http://www.latex-project.org/lppl.txt |
| 22 |
%% and version 1.3 or later is part of all distributions of LaTeX |
| 23 |
%% version 2005/12/01 or later. |
| 24 |
%% |
| 25 |
%% This work has the LPPL maintenance status `maintained'. |
| 26 |
%% |
| 27 |
%% The Current Maintainer of this work is Norman Gray <https://nxg.me.uk> |
| 28 |
%% |
| 29 |
%% This work consists of the files exam-n.dtx and exam-n.ins, |
| 30 |
%% the derived file exam-n.cls, |
| 31 |
%% and the associated *.clo files. |
| 32 |
|
| 33 |
%%%% Source: a91e9cff7cac, 2022-10-10T13:33:17+01:00 |
| 34 |
%% |
| 35 |
|
| 36 |
\documentclass{ltxdoc} |
| 37 |
\title{exam-n: exam papers} |
| 38 |
\author{Norman Gray\\(\texttt{[email protected]})} |
| 39 |
\date{Version exam-n-1.4.0, 2022 October 10}% ...rather than exam-n-1.4.0, which isn't reader-focused |
| 40 |
\usepackage{url} |
| 41 |
\newcommand\Lopt[1]{\textsf {#1}} % options |
| 42 |
\newcommand\file[1]{\texttt {#1}} |
| 43 |
\newcommand\Lcount[1]{\textsl {\small#1}} |
| 44 |
\newcommand\Lenv[1]{\texttt{\{#1\}}} %environments |
| 45 |
\newcommand\Lpackage[1]{[\textsf{#1}]} %packages |
| 46 |
{\catcode`\<=\active |
| 47 |
\gdef<#1>{{\ensuremath\langle\normalfont\textsl{#1}\ensuremath\rangle}}} |
| 48 |
\def\cmd{\begingroup |
| 49 |
\catcode`\\=12 \catcode`\{=12 \catcode`\}=12 \catcode`\#=12 |
| 50 |
\catcode`\<=\active \catcode`\|=12 |
| 51 |
\docmd} |
| 52 |
\def\docmd|#1|{\texttt{#1}\endgroup} |
| 53 |
|
| 54 |
\def\secref#1{Sect.~\ref{#1}} |
| 55 |
|
| 56 |
\usepackage{examndefs} |
| 57 |
|
| 58 |
\begin{document} |
| 59 |
\maketitle |
| 60 |
\tableofcontents |
| 61 |
\bigskip |
| 62 |
\DocInput{exam-n.dtx} |
| 63 |
\end{document} |
| 64 |
|
| 65 |
|
| 66 |
|
| 67 |
\@ifl@t@r\fmtversion{2020/10/01} |
| 68 |
{\typeout{Format is \fmtversion -- OK!}} |
| 69 |
{\ClassError{exam-n} |
| 70 |
{You need a more recent version of LaTeX} |
| 71 |
{This class now requires a |
| 72 |
LaTeX version at least 2020/10/01; version |
| 73 |
\fmtversion\ is too old}} |
| 74 |
\endinput |
| 75 |
%% |
| 76 |
%% End of file `exam-n.drv'. |