summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/exam-n/exam-n.drv
blob: 7adfd8aca29c1270422d86a38cf9f9c0b2223284 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%%
%% This is file `exam-n.drv',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% exam-n.dtx  (with options: `driver')
%% exam-n: format exam questions
%% Release version exam-n-1.4.0, 2022 October 10.
%% See https://purl.org/nxg/dist/exam-n
%% and https://heptapod.host/nxg/exam-n
%% and https://www.ctan.org/pkg/exam-n
%%
%%%% File: exam-n.dtx
%%%% Copyright 2005--2022, Norman Gray
%%
%% 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.
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Norman Gray <https://nxg.me.uk>
%%
%% This work consists of the files exam-n.dtx and exam-n.ins,
%% the derived file exam-n.cls,
%% and the associated *.clo files.

%%%% Source: a91e9cff7cac, 2022-10-10T13:33:17+01:00
%%

\documentclass{ltxdoc}
\title{exam-n: exam papers}
\author{Norman Gray\\(\texttt{norman.gray@glasgow.ac.uk})}
\date{Version exam-n-1.4.0, 2022 October 10}% ...rather than exam-n-1.4.0, which isn't reader-focused
\usepackage{url}
\newcommand\Lopt[1]{\textsf {#1}} % options
\newcommand\file[1]{\texttt {#1}}
\newcommand\Lcount[1]{\textsl {\small#1}}
\newcommand\Lenv[1]{\texttt{\{#1\}}} %environments
\newcommand\Lpackage[1]{[\textsf{#1}]} %packages
{\catcode`\<=\active
  \gdef<#1>{{\ensuremath\langle\normalfont\textsl{#1}\ensuremath\rangle}}}
\def\cmd{\begingroup
 \catcode`\\=12 \catcode`\{=12 \catcode`\}=12 \catcode`\#=12
 \catcode`\<=\active \catcode`\|=12
 \docmd}
\def\docmd|#1|{\texttt{#1}\endgroup}

\def\secref#1{Sect.~\ref{#1}}

\usepackage{examndefs}

\begin{document}
\maketitle
\tableofcontents
\bigskip
\DocInput{exam-n.dtx}
\end{document}
 
 
 
\@ifl@t@r\fmtversion{2020/10/01}
                    {\typeout{Format is \fmtversion -- OK!}}
                    {\ClassError{exam-n}
                      {You need a more recent version of LaTeX}
                      {This class now requires a
                        LaTeX version at least 2020/10/01; version
                        \fmtversion\ is too old}}
\endinput
%%
%% End of file `exam-n.drv'.