diff options
author | Karl Berry <karl@freefriends.org> | 2006-09-07 23:44:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-09-07 23:44:28 +0000 |
commit | 5c6d8279370b75ec409c087237a798f1fe547cf1 (patch) | |
tree | ca59f700388d2112bdf4c2ac712c7393c6dd1976 /Master/texmf-dist/source/latex/examdesign | |
parent | 76c5544ce671ef8e88ff14e9c9a8f99f196f4897 (diff) |
examdesign update for class name change (7sep06)
git-svn-id: svn://tug.org/texlive/trunk@2100 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/examdesign')
-rw-r--r-- | Master/texmf-dist/source/latex/examdesign/Bugs | 1 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/examdesign/Changes | 99 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/examdesign/Install | 8 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/examdesign/examdesign.dtx (renamed from Master/texmf-dist/source/latex/examdesign/exam.dtx) | 64 | ||||
-rw-r--r-- | Master/texmf-dist/source/latex/examdesign/examdesign.ins (renamed from Master/texmf-dist/source/latex/examdesign/exam.ins) | 8 |
5 files changed, 37 insertions, 143 deletions
diff --git a/Master/texmf-dist/source/latex/examdesign/Bugs b/Master/texmf-dist/source/latex/examdesign/Bugs deleted file mode 100644 index 3185b04f479..00000000000 --- a/Master/texmf-dist/source/latex/examdesign/Bugs +++ /dev/null @@ -1 +0,0 @@ -No known bugs. diff --git a/Master/texmf-dist/source/latex/examdesign/Changes b/Master/texmf-dist/source/latex/examdesign/Changes deleted file mode 100644 index ee638e37cce..00000000000 --- a/Master/texmf-dist/source/latex/examdesign/Changes +++ /dev/null @@ -1,99 +0,0 @@ -Version 1.1: - - Added the 'matching' environment - - - Continuous numbering of questions across sections is now - possible. - - - Removed the following environments: - = shortanswer* - = fillin* - = fixed* - = multiplechoice* - = truefalse* - (the functionality provided by these environments can now - be obtained in other ways) - - - Changed the syntax of the standard sections. The optional - argument now can be used to set a number of parameters - customizing that section. These parameters are described - at length in the documentation. (Previously, it specified - the section title.) - - - The format of the section number and identifier can now be - easily customized. - - - Cross-referencing works. - - - The 'block' environment now accepts an optional argument. - Right now, the only optional argument is "questions", which - specifies the number of questions in the block, and defines - two new commands (\thefirst and \thelast) which refer to the - range of questions which fall within that block. - - - The \pagebreak command can now be used to force pagebreaks - before sections and questions. - - - The \BreakPageOnVersion command can be used to introduce - pagebreaks before a question or section only on particular - versions of the test. - - - For many of the standard question types, the command \ShortKey - will produce a "shortened" answer key that contains only the - answers (no question or section introduction text), hence saving - paper. - - - A not-so-terribly-ugly hack has been provided in order to facilitate - the typesetting of any TeX code requiring catcode changes. - - - Fixed a bug that prevented the 'block' environment from - working correctly inside some of the sections. - - - The TeX source has been simplified. It's still not pretty, - but it should be a lot easier to understand. - - - Probably some other stuff that I've forgotten... - -Version 1.02: - - Fixed a bug that broke the cedilla (\c) command. - - - Added the following environments: - = frontmatter = shortanswer* - = endmatter = fillin* - = examtop = fixed* - = exampreface = multiplechoice* - = examclosing = truefalse* - = keytop - = keypreface - = keyclosing - = block - - - Added the following commands: - = \word - = \examname - = \key - = \examvspace - = \examvspace* - = \examhspace - = \examhspace* - = \keyvspace - = \keyvspace* - = \keyhspace - = \keyhspace* - - - Eliminated the \instructions command for inserting - instructions after the section header. The section - environments are now "smart" enough to recognize - when instructions appear. - - - The \exam command has been redefined. The old \exam - command, used for specifying the name of the exam, has - been replaced by \examname. - - - Added the following user-customizable lengths: - = \beforesectsep = \beforeinstsep - = \aftersectsep = \afterinstsep - - - Every question is now surrounded by \@beforequestionhook and - \@endquestionhook, in case the user wants to use them for - anything. - diff --git a/Master/texmf-dist/source/latex/examdesign/Install b/Master/texmf-dist/source/latex/examdesign/Install deleted file mode 100644 index 4eb24814e36..00000000000 --- a/Master/texmf-dist/source/latex/examdesign/Install +++ /dev/null @@ -1,8 +0,0 @@ - - Copy the exam.cls file into an area where LaTeX2e can find it. - Create a new document starting with (for example) - - \documentclass[10pt]{exam} - \begin{document} - - \end{document}
\ No newline at end of file diff --git a/Master/texmf-dist/source/latex/examdesign/exam.dtx b/Master/texmf-dist/source/latex/examdesign/examdesign.dtx index 09f0560d8ad..77876612b4e 100644 --- a/Master/texmf-dist/source/latex/examdesign/exam.dtx +++ b/Master/texmf-dist/source/latex/examdesign/examdesign.dtx @@ -1,5 +1,5 @@ % \iffalse -% File: exam.dtx Copyright (C) 1997-2001 Jason Alexander +% File: examdesign.dtx Copyright (C) 1997-2001 Jason Alexander % Copyright (C) 19yy name of author % % This program is free software; you can redistribute it and/or @@ -16,11 +16,11 @@ % this program; if not, write to the Free Software Foundation, Inc., 59 Temple % Place - Suite 330, Boston, MA 02111-1307, USA. % -% For error reports, or offers to help improve the 'exam' class please contact me at -% jalex@uci.edu. +% For error reports, or offers to help improve the 'examdesign' class +% please contact me at jalex@uci.edu. % \fi -% \ProvidesFile{exam.dtx} -% [1997/11/22 v1.02 `exam' class (JMA)] +% \ProvidesFile{examdesign.dtx} +% [1997/11/22 v1.02 `examdesign' class (JMA)] % \iffalse %<*driver> \documentclass{ltxdoc} @@ -29,7 +29,7 @@ \EnableCrossrefs \RecordChanges \begin{document} -\DocInput{exam.dtx}% \PrintIndex +\DocInput{examdesign.dtx}% \PrintIndex \end{document} %</driver> %\fi @@ -58,14 +58,16 @@ % \textsf{matching} environment, and changed the input syntax considerably to % make it (I hope) more user-friendly. Questions can now be numbered % continously across sections, plus more\ldots} +% \changes{v1.101}{2006/09/05}{Jim Hefferon Changed name of files and class to +% examdesign to avoid name clashes with another package, after getting OK +% from author.} % % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% \title{The \textsf{exam} class\thanks{This file +% \title{The \textsf{examdesign} class\thanks{This file % has version number \fileversion, last % revised \filedate.}} -% \author{Jason Alexander\footnote{Please send bug reports to -% \texttt{jalex@ucsd.edu}}} +% \author{Jason Alexander} % \date{\filedate} % \maketitle % \hfuzz=72pt @@ -85,7 +87,7 @@ % \DoNotIndex{\xdef,\year,\z@,\time,\topsep} % % \begin{abstract} -% A new class, \textsf{exam}, for \LaTeXe\ is defined. It provides +% A new class, \textsf{examdesign}, for \LaTeXe\ is defined. It provides % several features useful for designing tests or question sets: (1) it allows % for an explicit markup of questions and answers; (2) the class will, at the % user's request, automatically generate answer keys; (3) multiple versions of @@ -113,22 +115,22 @@ % % To begin, simply create a new \LaTeXe\ document starting with % \begin{verbatim} -% \documentclass{exam} +% \documentclass{examdesign} % \begin{document}\end{verbatim} % If you want to create an exam in 12pt type, use -% "\documentclass[12pt]{exam}" instead. If you need to load +% "\documentclass[12pt]{examdesign}" instead. If you need to load % additional packages, they may be loaded via the command "\usepackage" as % always. The class includes a number of packages included with a standard \LaTeX\ % distribution: \textsf{keyval}, \textsf{multicol}, and \textsf{enumerate}. % If you don't have these packages, your \LaTeX\ distribution is nonstandard % (or incomplete), and you'll have to grab these packages from the nearest -% CTAN site in order to use \textsf{exam}. +% CTAN site in order to use \textsf{examdesign}. % % Most exams/questions sets are split into sections according to the type of -% question asked, and \textsf{exam} follows this practice. There are five +% question asked, and \textsf{examdesign} follows this practice. There are five % environments defined, one environment for each type of question: \textsf{matching}, % \textsf{shortanswer}, \textsf{truefalse}, \textsf{multiplechoice}, and -% \textsf{fillin}. \textbf{N.B.} Previous versions of \textsf{exam} had +% \textsf{fillin}. \textbf{N.B.} Previous versions of \textsf{examdesign} had % starred forms of these environments of well. The starred forms (as well as % the \textsf{fixed} environment, have been eliminated in this new release. % Their functionality has been incorporated into the standard environments. @@ -148,16 +150,16 @@ % influencing the overall formatting of the exam. Switches should be included % in the preamble because doing so will guarantee that they will apply to the % entire exam. Putting -% switches elsewhere may result in odd results because \textsf{exam} shuffles +% switches elsewhere may result in odd results because \textsf{examdesign} shuffles % around what you write quite a lot, and you won't always know when a % switch will be executed. % % One change between this release and previous releases is that all of the -% class options unique to \textsf{exam} have been converted to switches for +% class options unique to \textsf{examdesign} have been converted to switches for % sake of consistency. % % \DescribeMacro{\NoRearrange} -% Although the original reason behind writing \textsf{exam} was to automate +% Although the original reason behind writing \textsf{examdesign} was to automate % the random rearranging of questions, people have pointed out that it would % be nice to turn off the feature (say, when writing the exam). The % "\NoRearrange" switch suppresses the rearrangement of questions. You can @@ -183,7 +185,7 @@ % including both in your exam will % give you boldface underlined answers (the order doesn't matter). If neither % one is specified, -% \textsf{exam} will default to boxing the letter of the correct answer. This +% \textsf{examdesign} will default to boxing the letter of the correct answer. This % is shown in the examples below. % % Technical note: The ordinary \LaTeXe\ "\underline" command does not work @@ -290,7 +292,7 @@ % \subsection{Environments\label{env}} % % There has been a significant change in the environments between this version -% of \textsf{exam} and earlier versions. In this version, all question +% of \textsf{examdesign} and earlier versions. In this version, all question % environments can take an optional single argument which can be used to set a % number of different parameters. (Before, the optional argument was used to % set the title for a section.) Exams written for the previous version will @@ -539,7 +541,7 @@ % % \subsubsection{The \textsf{matching} environment} % -% This environment is new in this release of \textsf{exam}. It provides an +% This environment is new in this release of \textsf{examdesign}. It provides an % environment for the creation of matching tests. The syntax is: % \begin{verbatim} % \begin{matching}[title={Some matching questions}] @@ -641,7 +643,7 @@ % \bigskip % \noindent For questions 14--16, consider the following data...\par\bigskip % -% In previous versions of \textsf{exam}, blocks were typeset indented from the +% In previous versions of \textsf{examdesign}, blocks were typeset indented from the % left margin. This was undesireable because the block instructions could % be misread as belonging to the end of the preceeding question. As of this % version, block instructions are typeset using no such indent. @@ -651,7 +653,7 @@ % % The following environments, macros, and length parameters allow the user to % customize virtually every aspect of the exam. As I describe below, the default -% settings of the \textsf{exam} are defined using these environments. +% settings of the \textsf{examdesign} are defined using these environments. % % \subsection{Special Formatting Environments \label{SFE}} % @@ -673,7 +675,7 @@ % Any material enclosed in the \textsf{examtop} environment will be % typeset on the next page following the \textsf{frontmatter} text, if an exam % is being created, and will be omitted if an answer key is being created. The -% default settings of the \textsf{exam} class use this environment to create +% default settings of the \textsf{examdesign} class use this environment to create % the area for the class name, student name, etc. as follows: % \begin{verbatim} % \begin{examtop} @@ -705,7 +707,7 @@ % Any material enclosed in the \textsf{keytop} environment will be % typeset on the next page following the \textsf{frontmatter} text, if a key % is being created, and will be omitted if an exam is being created. The -% default settings of the \textsf{exam} class use this environment to create +% default settings of the \textsf{examdesign} class use this environment to create % the top of an answer key as follows: % \begin{verbatim} % \begin{keytop} @@ -752,7 +754,7 @@ % % \subsection{Special Formatting Macros} % -% Due to the special way the \textsf{exam} class constructs a document (see the +% Due to the special way the \textsf{examdesign} class constructs a document (see the % technical notes in section \ref{TN}), several special macros are provided % which enable the user to easily take advantage of the way exams are % constructed. In addition, there are several lengths which the user can modify @@ -907,7 +909,7 @@ % If you need to use any environment which changes the catcodes of the input % characters (such as the \textsf{verbatim} environment, or XY-pic), you will % have to employ the following hack. The reason for this has to do with the -% way \textsf{exam} scrambles the order of the questions. (Basically, each +% way \textsf{examdesign} scrambles the order of the questions. (Basically, each % question is saved to a macro for later recall. This assigns each character % a catcode when it is saved, so it is not possible to change the catcode at a % later time.) @@ -946,7 +948,7 @@ % \subsection{Changes} % % The changes between this version and previous versions are indicated in the -% above sections. Early releases of the \textsf{exam} class required that +% above sections. Early releases of the \textsf{examdesign} class required that % instructions % for a given section be specified as such by using the "\instructions" % command. The need for using "\instructions" has been lifted as of release @@ -975,9 +977,9 @@ % extension to the ordinary \LaTeX\ class |article|. % \begin{macrocode} %<*header> -\ProvidesFile{exam.dtx} +\ProvidesFile{examdesign.dtx} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{exam} +\ProvidesClass{examdesign} \newcounter{passes}\setcounter{passes}{2} \newif\ifmcbold \mcboldfalse \newif\ifmcunder \mcunderfalse @@ -1305,7 +1307,7 @@ % \end{macrocode} %\fi % -% \subsection{The code for the \textsf{exam} class} +% \subsection{The code for the \textsf{examdesign} class} % % We now define an environment \textsf{question} that saves the surrounded text % to a macro |\sec@|\meta{section-number}|@qst|\meta{question-number}, where diff --git a/Master/texmf-dist/source/latex/examdesign/exam.ins b/Master/texmf-dist/source/latex/examdesign/examdesign.ins index 5592e152a37..59d3fae91b0 100644 --- a/Master/texmf-dist/source/latex/examdesign/exam.ins +++ b/Master/texmf-dist/source/latex/examdesign/examdesign.ins @@ -1,8 +1,8 @@ -\def\batchfile{exam.ins} +\def\batchfile{examdesign.ins} \input docstrip.tex \preamble -File: exam.dtx Copyright (C) 1997-2001 Jason Alexander +File: examdesign.dtx Copyright (C) 1997-2001 Jason Alexander Copyright (C) 19yy name of author This program is free software; you can redistribute it and/or @@ -23,8 +23,8 @@ For error reports contact me at jalex@uci.edu. \endpreamble -\generate{\file{exam.cls}{\from{exam.dtx}{header,ulem,random,othercode}}} +\generate{\file{examdesign.cls}{\from{examdesign.dtx}{header,ulem,random,othercode}}} \endinput %% -%% End of file `exam.ins'. +%% End of file `examdesign.ins'. |