From 272af43327ca6868322c4781c0b2dd979391a08a Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 1 Feb 2021 13:13:41 +0900 Subject: eqexam (2021-02-01) --- texmf-dist/doc/latex/eqexam/README.md | 5 ++- texmf-dist/doc/latex/eqexam/eqexam.pdf | Bin 806244 -> 745675 bytes texmf-dist/doc/latex/eqexam/eqexamman.pdf | Bin 624926 -> 671573 bytes texmf-dist/doc/latex/eqexam/eqexamman.tex | 46 ++++++++++++++++++--- texmf-dist/doc/latex/eqexam/examples/fig1.pdf | Bin 12673 -> 11038 bytes texmf-dist/doc/latex/eqexam/examples/hw.cfg.txt | 12 ------ texmf-dist/doc/latex/eqexam/examples/quiz.cfg.txt | 7 ---- texmf-dist/doc/latex/eqexam/examples/test01.pdf | Bin 0 -> 116251 bytes texmf-dist/doc/latex/eqexam/examples/test01.tex | 4 +- texmf-dist/doc/latex/eqexam/examples/test02.pdf | Bin 0 -> 216104 bytes texmf-dist/doc/latex/eqexam/examples/test03.pdf | Bin 0 -> 161999 bytes .../doc/latex/eqexam/examples/test_matching.pdf | Bin 18253 -> 0 bytes texmf-dist/doc/latex/eqexam/fortextbook.zip | Bin 812490 -> 718935 bytes 13 files changed, 46 insertions(+), 28 deletions(-) delete mode 100644 texmf-dist/doc/latex/eqexam/examples/hw.cfg.txt delete mode 100644 texmf-dist/doc/latex/eqexam/examples/quiz.cfg.txt create mode 100644 texmf-dist/doc/latex/eqexam/examples/test01.pdf create mode 100644 texmf-dist/doc/latex/eqexam/examples/test02.pdf create mode 100644 texmf-dist/doc/latex/eqexam/examples/test03.pdf delete mode 100644 texmf-dist/doc/latex/eqexam/examples/test_matching.pdf (limited to 'texmf-dist/doc/latex') diff --git a/texmf-dist/doc/latex/eqexam/README.md b/texmf-dist/doc/latex/eqexam/README.md index ab464cab..5e0bc68a 100644 --- a/texmf-dist/doc/latex/eqexam/README.md +++ b/texmf-dist/doc/latex/eqexam/README.md @@ -1,5 +1,5 @@ The eqexam Package -Dated: 2020-03-14 +Dated: 2021-01-20 Author: D. P. Story eqExam is a LaTeX package for writing exams, tests, quizzes, @@ -40,6 +40,9 @@ this package are as follows: folder. See also the series of blogs at http://www.acrotex.net/blog/?tag=fortextbook +What's New (2021-01-20) Defined \trackProblemsOn and \numPtsOfProblem; +added \doNoRandomizeChoices and \allowRandomizedChoices. See documentation. + What's New (2020-03-14) Defined several commands and one environment to support the insertion of a figure into a problem. Demo file that illustrates these new commands and environment is found at diff --git a/texmf-dist/doc/latex/eqexam/eqexam.pdf b/texmf-dist/doc/latex/eqexam/eqexam.pdf index ea03c1f8..59d7861b 100644 Binary files a/texmf-dist/doc/latex/eqexam/eqexam.pdf and b/texmf-dist/doc/latex/eqexam/eqexam.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/eqexamman.pdf b/texmf-dist/doc/latex/eqexam/eqexamman.pdf index 9684fd4f..1fe69fa3 100644 Binary files a/texmf-dist/doc/latex/eqexam/eqexamman.pdf and b/texmf-dist/doc/latex/eqexam/eqexamman.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/eqexamman.tex b/texmf-dist/doc/latex/eqexam/eqexamman.tex index 258bf562..d580d1a4 100644 --- a/texmf-dist/doc/latex/eqexam/eqexamman.tex +++ b/texmf-dist/doc/latex/eqexam/eqexamman.tex @@ -11,6 +11,8 @@ \usepackage[bypasspkgpagestyle,nomarginwrite,usecustomdesign, useclassmaketitle,flextended ]{eqexam} + + %\usepackage[designv, % latextoc,forcolorpaper, % centertitlepage]{web} @@ -150,7 +152,7 @@ part of the\texorpdfstring{\\}{ }\texorpdfstring{\AcroTeX}{AcroTeX} eDucation Bu \keywords{LaTeX, hyperref, PDF, exercises, quizzes} \university{{\AcroT} Software Development Team} \email{dpstory@acrotex.net} -\version{5.1.10, 2020/03/14} +\version{5.1.13, 2021/01/20} \copyrightyears{2005-\the\year} \renewcommand{\exsectitletext}{Solutions to exams in this manual} @@ -1603,7 +1605,7 @@ necessary in two situations: removing questions that have randomization). \end{enumerate} -\newtopic\textbf{Things to look for:} If \textsf{eqexam} is not rearranging the order +\newtopic\textbf{Things to look for: } If \textsf{eqexam} is not rearranging the order of the choices as you expect it to, it could be that \textsf{eqexam} is reading an old \texttt{.sav} file. Either delete that file in your source folder, or comment out \cs{inputRandomSeed} in your document. @@ -1624,10 +1626,19 @@ use that seed value for that class, for example \end{Verbatim} Of course comment out \cs{inputRandomSeed}. -\begin{Verbatim}[xleftmargin=\amtIndent] +\newtopic\textbf{Controlling randomization.} There are several commands that control whether +randomization occurs. +\settowidth{\aebdimen}{\cs{allowRandomizedChoices}}% +\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule} \turnOnRandomize \obeyLocalRandomize -\end{Verbatim} +\doNotRandomizeChoices +\allowRandomizedChoices +\end{dCmd} +%\begin{Verbatim}[xleftmargin=\amtIndent] +%\turnOnRandomize +%\obeyLocalRandomize +%\end{Verbatim} The command \cs{turnOnRandomize} overrides all local settings of \cs{bChoices} and causes all choice lists to be randomized. While \cs{obeyLocalRandomize} @@ -1658,13 +1669,19 @@ the choices will not be randomized, because the \texttt{random} option was not specified; or they will be randomized if the \texttt{random} option is used. +\newtopic\indent The command \cs{doNotRandomizeChoices} overrides the +\opt{allowrandomize} option; when in effect, randomization of the choices +does not occur. The companion command \cs{allowRandomizedChoices} restores the +authority of the \opt{allowrandomize} option. + \newtopic\textcolor{red}{Limitations:} There are natural limitations on the use of \cs{bChoices} and \cs{eChoices} and consequently, there are limitations on the randomization. The content between \cs{Ans} and \cs{eAns} cannot have any verbatim text. This is usually not a problem for mathematical content, but could be a limitation for -computer science where questions about syntax may be posed. I have -in mind a work-around, but haven't pursued the problem as of yet. +computer science where questions about syntax may be posed. + +%I have in mind a work-around, but haven't pursued the problem as of yet. \subsection{Labeling Choices} @@ -5186,6 +5203,23 @@ the figure around the text of the question. environment, named \texttt{\href{\urlAcroTeXBlog/?p=1419}{ins-fig.pdf}}, is found on the {\AcroBlog}. +\subsection{Tracking problem values} + +As an application to the \pkg{skills} package, three new commands are introduced +into the \pkg{eqexam} core. + +\settowidth{\aebdimen}{\ttfamily\string\numPtsOfProblem[\meta{exam-label}]\darg{\meta{prob-num}}}% +\def\1{\rlap{\hskip\linewidth\texttt{ \%}\textsf{ turn on problem tracking}}}% +\def\2{\rlap{\hskip\linewidth\texttt{ \%}\textsf{ turn off problem tracking}}}% +\def\3{\rlap{\hskip\linewidth\texttt{ \%}\textsf{ typeset points for problem}}}% +\begin{dCmd}[commandchars=!()]{\aebdimen+2\fboxsep+2\fboxrule} +!1\trackProblemsOn +!2\trackProblemsOff +!3\numPtsOfProblem[!meta(exam-label)]{!meta(prob-num)} +\end{dCmd} +When tracking is on (\cs{trackProblemsOn}), the number of points for each problem +is written to the AUX file. Use \cs{numPtsOfProblem} to typeset the amount of points for \ameta{prob-num} +of exam part \ameta{exam-label}. Turn off tracking with \cs{trackProblemsOff}. \newpage \markright{References} diff --git a/texmf-dist/doc/latex/eqexam/examples/fig1.pdf b/texmf-dist/doc/latex/eqexam/examples/fig1.pdf index 054fe38f..134d03df 100644 Binary files a/texmf-dist/doc/latex/eqexam/examples/fig1.pdf and b/texmf-dist/doc/latex/eqexam/examples/fig1.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/examples/hw.cfg.txt b/texmf-dist/doc/latex/eqexam/examples/hw.cfg.txt deleted file mode 100644 index 57511627..00000000 --- a/texmf-dist/doc/latex/eqexam/examples/hw.cfg.txt +++ /dev/null @@ -1,12 +0,0 @@ -\renewcommand\maketitledesign -{% - \makebox[\textwidth]{\normalsize - \shortstack[l]{\strut\underbar{\websubject}\\\@date}\hfill - \shortstack[l]{\underbar{\webtitle}\\\strut}\hfill - \shortstack[l]{\strut\underbar{Due \theduedate}\\\webauthor}}% -} -\rhead{\webauthor} -\def\exrtnlabelformat{$\square$} -\def\exrtnlabelformatwp{} -\def\eq@sqslrtnlabel{} -\everymath{\displaystyle} diff --git a/texmf-dist/doc/latex/eqexam/examples/quiz.cfg.txt b/texmf-dist/doc/latex/eqexam/examples/quiz.cfg.txt deleted file mode 100644 index bc9a15ae..00000000 --- a/texmf-dist/doc/latex/eqexam/examples/quiz.cfg.txt +++ /dev/null @@ -1,7 +0,0 @@ -\renewcommand\maketitledesign -{% - \makebox[\textwidth]{\normalsize - \shortstack[l]{\strut\websubject\\\webauthor, \@date}\hfill - \shortstack[l]{\webtitle\\\strut}\hfill - \shortstack[l]{\strut\eq@ExamName\\\eq@SID}}% -} diff --git a/texmf-dist/doc/latex/eqexam/examples/test01.pdf b/texmf-dist/doc/latex/eqexam/examples/test01.pdf new file mode 100644 index 00000000..92b9d6c5 Binary files /dev/null and b/texmf-dist/doc/latex/eqexam/examples/test01.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/examples/test01.tex b/texmf-dist/doc/latex/eqexam/examples/test01.tex index 102b7b61..a52cfafb 100644 --- a/texmf-dist/doc/latex/eqexam/examples/test01.tex +++ b/texmf-dist/doc/latex/eqexam/examples/test01.tex @@ -28,7 +28,7 @@ \turnContAnnotOn \optsFillIn{\BC{0.847 0.847 0.847}} -\optsMlTextField{\BC{0.847 0.847 0.847}} +\optsMlTxtFld{\BC{0.847 0.847 0.847}} \eqExamName[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in} \eqSID[\Ff\FfRequired\BC{0.847 0.847 0.847}]{2.25in} \cpSetSumryWidth{.55\textwidth-1em} @@ -45,7 +45,7 @@ \begin{instructions}[Part I.] Solve each of the problems without error. If you make an error, -points will be subtracted from your total score. +points will be subtracted from your total score. \end{instructions} \begin{problem}[5] diff --git a/texmf-dist/doc/latex/eqexam/examples/test02.pdf b/texmf-dist/doc/latex/eqexam/examples/test02.pdf new file mode 100644 index 00000000..2a4c84b5 Binary files /dev/null and b/texmf-dist/doc/latex/eqexam/examples/test02.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/examples/test03.pdf b/texmf-dist/doc/latex/eqexam/examples/test03.pdf new file mode 100644 index 00000000..58998f26 Binary files /dev/null and b/texmf-dist/doc/latex/eqexam/examples/test03.pdf differ diff --git a/texmf-dist/doc/latex/eqexam/examples/test_matching.pdf b/texmf-dist/doc/latex/eqexam/examples/test_matching.pdf deleted file mode 100644 index 56eff405..00000000 Binary files a/texmf-dist/doc/latex/eqexam/examples/test_matching.pdf and /dev/null differ diff --git a/texmf-dist/doc/latex/eqexam/fortextbook.zip b/texmf-dist/doc/latex/eqexam/fortextbook.zip index a21725cb..e3210cfd 100644 Binary files a/texmf-dist/doc/latex/eqexam/fortextbook.zip and b/texmf-dist/doc/latex/eqexam/fortextbook.zip differ -- cgit v1.2.3