| 1 |
% |
| 2 |
% This is a modified version of selectversion_tst.tex, which is distributed with eqexam |
| 3 |
% |
| 4 |
\documentclass{article} |
| 5 |
\usepackage[fleqn]{amsmath} |
| 6 |
\usepackage[pointsonleft,nototals,forcolorpaper, |
| 7 |
% Select exactly one of the next three options |
| 8 |
% nosolutions, |
| 9 |
% answerkey, |
| 10 |
vspacewithsolns, |
| 11 |
obeylocalversions |
| 12 |
]{eqexam} |
| 13 |
|
| 14 |
\usepackage{mi-solns} |
| 15 |
|
| 16 |
\university |
| 17 |
{% |
| 18 |
NORTHWEST FLORIDA STATE COLLEGE\\ |
| 19 |
Department of Mathematics |
| 20 |
} |
| 21 |
\email{[email protected]} |
| 22 |
|
| 23 |
\examNum{1}\numVersions{5}\forVersion{e} |
| 24 |
\subject[CA]{College Algebra} |
| 25 |
\longTitleText |
| 26 |
{Test~{\nExam} A} |
| 27 |
{Test~{\nExam} B} |
| 28 |
{Test~{\nExam} C} |
| 29 |
{Test~{\nExam} D} |
| 30 |
{Test~{\nExam} E} |
| 31 |
\endlongTitleText |
| 32 |
\shortTitleText |
| 33 |
{T\nExam-A} |
| 34 |
{T\nExam-B} |
| 35 |
{T\nExam-C} |
| 36 |
{T\nExam-D} |
| 37 |
{T\nExam-E} |
| 38 |
\endshortTitleText |
| 39 |
\title[\sExam]{\Exam} |
| 40 |
\author{Dr.\ D. P. Story} |
| 41 |
\date{\thisterm, \the\year} |
| 42 |
\duedate{09/30/09} |
| 43 |
\keywords{MAC 1105, Exam \nExam, {\thisterm} semester, \theduedate, at NWFSC} |
| 44 |
|
| 45 |
\newcommand{\cs}[1]{\texttt{\char`\\#1}} |
| 46 |
\solAtEndFormatting{\eqequesitemsep{3pt}} |
| 47 |
\turnContAnnotOn |
| 48 |
|
| 49 |
%\copySolnsOff |
| 50 |
|
| 51 |
\begin{document} |
| 52 |
|
| 53 |
\maketitle |
| 54 |
|
| 55 |
\medskip\noindent |
| 56 |
This is a modified version of \texttt{selectversion\_tst.tex}, which is |
| 57 |
distributed with \textsf{eqexam}, see that file for more details on producing |
| 58 |
a document with multiple versions. |
| 59 |
|
| 60 |
\ifanswerkey When \texttt{answerkey} option is taken, the SOL file is not |
| 61 |
written to include the solutions to the problem, as a result, the solutions |
| 62 |
not available; however, by saying \cs{SolutionsAtEnd} you can locally turn on |
| 63 |
writing the solutions and off writing with \cs{SolutionsAfter}.\fi |
| 64 |
\par\medskip\noindent |
| 65 |
dps: \textsl{\insExSoln[\ignoreterminex]{dps}}\medskip\par\noindent |
| 66 |
kaf: \textsl{\insExSoln[\ignoreterminex]{kaf}} |
| 67 |
|
| 68 |
\begin{exam}[Part 1]{P1} |
| 69 |
|
| 70 |
\writeToSolnFile{\par\medskip |
| 71 |
This comment is written to the solution file, but it should appear |
| 72 |
when a solution is input using \protect\cs{insExSoln}, at least I hope so.\par\medskip} |
| 73 |
|
| 74 |
\selectVersion{}{3} |
| 75 |
\begin{problem}\relax |
| 76 |
\verb!\selectVersion{}{3}! \begin{cq}This problem is version \vA{A}\vB{B}\vC{C} of 3.\end{cq} |
| 77 |
|
| 78 |
\mrkForIns{dps} |
| 79 |
\begin{solution} |
| 80 |
The first problem, version \vA{A}\vB{B}\vC{C} of 3. |
| 81 |
\end{solution} |
| 82 |
\end{problem} |
| 83 |
|
| 84 |
\begin{problem*}[2ea] |
| 85 |
Multi-part question. |
| 86 |
\begin{parts} |
| 87 |
\selectVersion{}{4} |
| 88 |
\item \verb!\selectVersion{}{4}! This is problem, version \vA{A}\vB{B}\vC{C}\vD{D} of 4. |
| 89 |
\begin{solution} |
| 90 |
This is version \vA{A}\vB{B}\vC{C}\vD{D} |
| 91 |
|
| 92 |
The answer is: |
| 93 |
\begin{verA} |
| 94 |
This is version A |
| 95 |
\end{verA} |
| 96 |
\begin{verB} |
| 97 |
This is version B |
| 98 |
\end{verB} |
| 99 |
\begin{verC} |
| 100 |
This is version C |
| 101 |
\end{verC} |
| 102 |
\begin{verD} |
| 103 |
This is version D |
| 104 |
\end{verD} |
| 105 |
\end{solution} |
| 106 |
|
| 107 |
\selectVersion{}{3} |
| 108 |
\item \verb!\selectVersion{}{3}! This is a problem, version \vA{A}\vB{B}\vC{C} of 3. |
| 109 |
\begin{verA} |
| 110 |
This is A |
| 111 |
\end{verA} |
| 112 |
\begin{verB} |
| 113 |
This is version B |
| 114 |
\end{verB} |
| 115 |
\begin{verE} |
| 116 |
This is version E |
| 117 |
\end{verE} |
| 118 |
|
| 119 |
\mrkForIns{kaf} |
| 120 |
\begin{solution} |
| 121 |
This is version \vA{A}\vB{B}\vC{C}\vD{D} |
| 122 |
|
| 123 |
The answer is: |
| 124 |
\begin{verA} |
| 125 |
This is version A |
| 126 |
\end{verA} |
| 127 |
\begin{verB} |
| 128 |
This is version B |
| 129 |
\end{verB} |
| 130 |
\begin{verC} |
| 131 |
This is version C |
| 132 |
\end{verC} |
| 133 |
\begin{verD} |
| 134 |
This is version D |
| 135 |
\end{verD} |
| 136 |
\end{solution} |
| 137 |
|
| 138 |
\pushProblem % this closes the group |
| 139 |
\begin{eqComments} |
| 140 |
We insert a new page command so we can see the shortened titles on the next page |
| 141 |
to verify that the new system of title management is working correctly. |
| 142 |
\end{eqComments} |
| 143 |
\emitMessageNearBottom*[.75\textheight]{% |
| 144 |
\vfill\hfill\textbf{Problem~{\eqeCurrProb} continues on next page}} |
| 145 |
\popProblem % this begins a group |
| 146 |
|
| 147 |
\selectVersion{}{5} |
| 148 |
\item \verb!\selectVersion{}{5}! This is a problem, version \vA{A}\vB{B}\vC{C}\vD{D}\vE{E} of 5. |
| 149 |
\begin{verB} |
| 150 |
This is version B |
| 151 |
\end{verB} |
| 152 |
\begin{verE} |
| 153 |
This is version E |
| 154 |
\end{verE} |
| 155 |
\begin{solution} |
| 156 |
This is version \vA{A}\vB{B}\vC{C}\vD{D}\vE{E} |
| 157 |
|
| 158 |
The answer is: |
| 159 |
\begin{verB} |
| 160 |
This is version B |
| 161 |
\end{verB} |
| 162 |
\begin{verE} |
| 163 |
This is version E |
| 164 |
\end{verE} |
| 165 |
\end{solution} |
| 166 |
|
| 167 |
\selectVersion{}{4} |
| 168 |
\item \verb!\selectVersion{}{4}! This is a problem, version \vA{A}\vB{B}\vC{C}\vD{D} of 4. |
| 169 |
\begin{verA} |
| 170 |
This is A |
| 171 |
\end{verA} |
| 172 |
\begin{verB} |
| 173 |
This is version B |
| 174 |
\end{verB} |
| 175 |
\begin{verE} |
| 176 |
This is version E |
| 177 |
\end{verE} |
| 178 |
\begin{solution} |
| 179 |
This is version \vA{A}\vB{B}\vC{C}\vD{D}\vE{E}. |
| 180 |
|
| 181 |
The answer is: |
| 182 |
\begin{verA} |
| 183 |
This is version A |
| 184 |
\end{verA} |
| 185 |
\begin{verB} |
| 186 |
This is version B |
| 187 |
\end{verB} |
| 188 |
\begin{verC} |
| 189 |
This is version C |
| 190 |
\end{verC} |
| 191 |
\begin{verD} |
| 192 |
This is version D |
| 193 |
\end{verD} |
| 194 |
\begin{verE} |
| 195 |
This is version E |
| 196 |
\end{verE} |
| 197 |
\end{solution} |
| 198 |
\end{parts} |
| 199 |
\end{problem*} |
| 200 |
|
| 201 |
\end{exam} |
| 202 |
\end{document} |