summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/eqexam/doc/eqexamman.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/eqexam/doc/eqexamman.tex')
-rw-r--r--macros/latex/contrib/eqexam/doc/eqexamman.tex93
1 files changed, 78 insertions, 15 deletions
diff --git a/macros/latex/contrib/eqexam/doc/eqexamman.tex b/macros/latex/contrib/eqexam/doc/eqexamman.tex
index d580d1a4db..8bab33940f 100644
--- a/macros/latex/contrib/eqexam/doc/eqexamman.tex
+++ b/macros/latex/contrib/eqexam/doc/eqexamman.tex
@@ -4,7 +4,8 @@
\usepackage{graphicx}
\usepackage[
web={designv,
- latextoc,forcolorpaper,
+ latextoc,
+ forcolorpaper,
centertitlepage},
eforms
]{aeb_pro}
@@ -26,6 +27,20 @@
\usepackage{srcltx}
+\renewcommand\theparagraph{\texorpdfstring{\protect\P\protect\ }{\textparagraph}}
+\renewcommand\thesubparagraph{\texorpdfstring{\protect\P\protect\P\protect\ }{\textparagraph\textpara11graph}}
+\setcounter{secnumdepth}{5}
+\setcounter{tocdepth}{5}
+
+%\makeatletter
+%\renewcommand{\paragraph}
+% {\renewcommand{\@seccntformat}[1]{\theparagraph\unskip\,}%
+% \@startsection{paragraph}{4}{0pt}{6pt}{-3pt}{\bfseries}}
+%\renewcommand{\subparagraph}
+% {\renewcommand{\@seccntformat}[1]{\thesubparagraph\unskip\,}%
+% \@startsection{subparagraph}{5}{\parindent}{6pt}{-3pt}{\bfseries}}
+%\makeatother
+
\hfuzz=1pt
@@ -57,6 +72,7 @@
%\renewcommand*\l@section{\addvspace{2pt}\@dottedtocline{1}{1.5em}{2.5em}}
\renewcommand*\l@subsection{\addvspace{1pt}\@dottedtocline{2}{1.5em}{3em}}
\renewcommand*\l@subsubsection{\addvspace{1pt}\@dottedtocline{3}{4.5em}{1.2em}}
+\renewcommand*\l@paragraph{\addvspace{1pt}\@dottedtocline{4}{5.7em}{1.2em}}
%\renewcommand*\l@subsubsection{\addvspace{1pt}\@dottedtocline{3}{7.4em}{1.2em}}
@@ -65,12 +81,19 @@
%\renewcommand*\l@subsubsection{\@dottedtocline{3}{8.2em}{1.2em}}
%\renewcommand*\l@subsubsection{\@dottedtocline{3}{7em}{1.2em}}
+%\renewcommand{\paragraph}
+% {\@startsection{paragraph}{4}{0pt}{6pt}{-3pt}
+% {\normalfont\normalsize\bfseries}}
+%\renewcommand{\subparagraph}
+% {\@startsection{subparagraph}{5}{\parindent}{6pt}{-3pt}%
+% {\normalfont\normalsize\bfseries}}
+
\renewcommand{\paragraph}
- {\@startsection{paragraph}{4}{0pt}{6pt}{-3pt}
- {\normalfont\normalsize\bfseries}}
+ {\renewcommand{\@seccntformat}[1]{\theparagraph\unskip\,}%
+ \@startsection{paragraph}{4}{0pt}{6pt}{-3pt}{\bfseries}}
\renewcommand{\subparagraph}
- {\@startsection{subparagraph}{5}{\parindent}{6pt}{-3pt}%
- {\normalfont\normalsize\bfseries}}
+ {\renewcommand{\@seccntformat}[1]{\thesubparagraph\unskip\,}%
+ \@startsection{subparagraph}{5}{\parindent}{6pt}{-3pt}{\bfseries}}
\newcommand{\exAeBBlogPDF}[2][\urlAcroTeXBlog/]{\par\ifdim\lastskip>0pt\relax\vskip-\lastskip\fi
\vskip\medskipamount\noindent\makebox[0pt][r]{%
@@ -152,7 +175,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.13, 2021/01/20}
+\version{5.2, dated 2021/02/26}
\copyrightyears{2005-\the\year}
\renewcommand{\exsectitletext}{Solutions to exams in this manual}
@@ -972,7 +995,7 @@ from appearing at the end of the document (but it appears with
\texttt{solutionsafter}), and \texttt{H} removes the solution in
all cases.
-\paragraph{\texorpdfstring{\cs{leadinitem}}{\CMD{leadinitem}}}
+\paragraph{\texorpdfstring{\protect\cs{leadinitem}}{\CMD{leadinitem}}}
When using the \texttt{problem*} environment, there is an introductory sentence
that sets up the multi-part problem set. For various reasons, some authors
have asked to be able to pose multi-part questions without the
@@ -1017,7 +1040,7 @@ from appearing at the end of the document (but it appears with
\texttt{solutionsafter} or with \texttt{answerkey}), and \texttt{H} removes the solution in
all cases.
-\paragraph{\texorpdfstring{\cs{tableadin}}{\CMD{tableadin}}} There is a
+\paragraph{\texorpdfstring{\protect\cs{tableadin}}{\CMD{tableadin}}} There is a
tabular version of the \cs{leadinitem} command just discussed. Consider the following code:
\begin{Verbatim}[xleftmargin=\amtIndent,fontsize=\fontsize{9}{11}\selectfont]
\autotabOn
@@ -1047,6 +1070,46 @@ The results of this code is viewed as follows, when typeset.
\end{minipage}
\bigskip
+\paragraph{Matching-type questions.} As an application to the \env{problem*}
+environment, it is possible to create a matching-type question. As sample
+layout is shown below.
+
+\def\1{\rlap{\hskip95pt\smash{\parbox[t]{300pt}{\kern0pt\includegraphics[width=\linewidth]{eqe_matching}\kern0pt}}}}
+
+\begin{Verbatim}[commandchars=!()]
+\begin{problem*}[\auto]
+Match each of the names on the left, with the corresponding
+names on the right.
+
+\begin{multicols}{2}
+\begin{parts}
+\item\PTs*{2}\fillin{.5in}{\ref{george}} Washington
+\item\PTs*{2}\fillin{.5in}{\ref{john}} Adams
+\item\PTs*{2}\fillin{.5in}{\ref{thomas}} Jefferson
+
+\columnbreak
+
+%!textsf( Enclose choices in the command pair \bMatchChoices/\eMatchChoices)
+!textbf(\bMatchChoices)
+\item\label{john} John
+\item\label{thomas} Thomas
+\item\label{george} George
+!1\item Alexander
+\item Abraham
+!textbf(\eMatchChoices)
+\end{parts}
+\end{multicols}
+\end{problem*}
+\end{exam}
+\end{Verbatim}
+The result is this markup, as depicted above right, is two columns of items; the
+student matches each item in the left column with an item in the right
+column. Note the correct matching items are linked together with common label
+names of the \cs{label}/\cs{ref} command pair.
+
+\exAeBBlogPDF{p=1457} See \textit{\href{\urlAcroTeXBlog/?p=1457}{eqexam: A Matching-type Problem}}
+for a working example of the above listing. The article also covers how to randomize the left and right columns.
+
\subsubsection{Page Breaking}
@@ -1291,7 +1354,7 @@ needed, or used.
The \cs{Ans} macro is used to designate which alternative is the
correct answer ($1$ for correct, $0$ for not correct).
-\subsubsection{Using \texorpdfstring{\cs{bChoices}/\cs{eChoices}}
+\subsubsection{Using \texorpdfstring{\protect\cs{bChoices}/\protect\cs{eChoices}}
{\CMD{bChoices}/\CMD{eChoices}}}
Beginning with Version 1.3, an alternate style of specifying the
alternatives is defined. A new pair of commands are defined: \cs{bChoices}
@@ -1339,7 +1402,7 @@ package, and are fully documented in the reference for the
\ulSetLink{http://www.math.uakron.edu/~dpstory/acrotex/aeb_man.pdf}{\cAcroB}.
-\subsubsection{\texorpdfstring{\cs{sqForms} versus \cs{sqLinks}}
+\subsubsection{\texorpdfstring{\protect\cs{sqForms} versus \protect\cs{sqLinks}}
{\CMD{sqForms} versus \CMD{sqLinks}}}
There are two styles of multiple choice: (1) enumerate the
@@ -1379,7 +1442,7 @@ prior to the MC question.
Both commands have a local context. If expanded inside a group, the
definition going into the group will hold on exit from the group.
-\subsubsection{Using \texorpdfstring{\cs{proofingsymbol}}{\CMD{proofingsymbol}}
+\subsubsection{Using \texorpdfstring{\protect\cs{proofingsymbol}}{\CMD{proofingsymbol}}
and friends}
By default, a check mark (\ding{52}) is used to indicate which of the
@@ -1801,7 +1864,7 @@ is not provided, and the \texttt{workarea} does nothing. If
\texttt{solutionsafter} is specified, that space is replaced by
the provided solution.
-\subsubsection{The \texorpdfstring{\cs{placeAtxy}}{\textbackslash placeAtxy} Command}\label{sss:placeatxy}
+\subsubsection{The \texorpdfstring{\protect\cs{placeAtxy}}{\CMD{placeAtxy}} Command}\label{sss:placeatxy}
The \cs{placeAtxy} command is another device that I've used to
place a block of text or a graphic on top of the vertical space
@@ -3714,7 +3777,7 @@ of the text. Each take a single named color argument.
\end{Verbatim}
The above are the default definition.
-\subsection{The \texorpdfstring{\protect\cs{OnBackOfPage}}{\textbackslash OnBackOfPage} Command}\label{onbackofpage}
+\subsection{The \texorpdfstring{\protect\cs{OnBackOfPage}}{\CMD{OnBackOfPage}} Command}\label{onbackofpage}
In order to reduce the number of pages needed for an exam, I often
cheat by asking the student to work on the back of one of the test
@@ -3776,7 +3839,7 @@ altogether, you could redefine as
\end{Verbatim}
\subsection{\texorpdfstring
- {The \cs{pushProblem} and \cs{popProblem} Commands}
+ {The \protect\cs{pushProblem} and \protect\cs{popProblem} Commands}
{The \CMD{pushProblem} and \CMD{popProblem} Commands}
}
@@ -4796,7 +4859,7 @@ lines break across a page boundary, the annotation string
topic of annotating solutions is taken up again in the next section.
\subsubsection{Annotating a continuing problem with
-\texorpdfstring{\cs{useFillerLines}}{\CMD{\useFillerLines}}}\label{para:cnwithFL}
+\texorpdfstring{\protect\cs{useFillerLines}}{\CMD{\useFillerLines}}}\label{para:cnwithFL}
When the command \Com[\ipkg{eqexam}]{useFillerLines} is expanded, any vertical
space declared with the optional argument of \env{solution} is created one