summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/pmdb/examples
diff options
context:
space:
mode:
Diffstat (limited to 'texmf-dist/doc/latex/pmdb/examples')
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/probs/prob2.tex2
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/probs/prob4.tex5
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-eqedb.tex94
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-items.tex9
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-paras.tex12
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.pdfbin0 -> 406386 bytes
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex6
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-qzdb.pdfbin0 -> 450424 bytes
-rw-r--r--texmf-dist/doc/latex/pmdb/examples/tst-qzdb.tex9
9 files changed, 125 insertions, 12 deletions
diff --git a/texmf-dist/doc/latex/pmdb/examples/probs/prob2.tex b/texmf-dist/doc/latex/pmdb/examples/probs/prob2.tex
index 033fe41f..f633c48f 100644
--- a/texmf-dist/doc/latex/pmdb/examples/probs/prob2.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/probs/prob2.tex
@@ -1,4 +1,4 @@
\item \PTs{4} Select which of the following is true.
-\begin{answers}{4}
+\begin{answers}{4}%
\Ans1 True &\Ans0 False &\Ans0 Maybe &\Ans0 Sometimes
\end{answers}
diff --git a/texmf-dist/doc/latex/pmdb/examples/probs/prob4.tex b/texmf-dist/doc/latex/pmdb/examples/probs/prob4.tex
index 924d5da0..6110595a 100644
--- a/texmf-dist/doc/latex/pmdb/examples/probs/prob4.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/probs/prob4.tex
@@ -1,3 +1,6 @@
\essayQ{5} % num points assigned
\item\PTs{5} Write a short history of Acro\negthinspace\TeX.\par
-\RespBoxEssay{\linewidth}{1in}
+\RespBoxEssay*{\linewidth}{1in}
+\begin{solution}
+The history is well-known.
+\end{solution} \ No newline at end of file
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-eqedb.tex b/texmf-dist/doc/latex/pmdb/examples/tst-eqedb.tex
new file mode 100644
index 00000000..40de8991
--- /dev/null
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-eqedb.tex
@@ -0,0 +1,94 @@
+\documentclass{article}
+\usepackage[%nosolutions,
+ forcolorpaper,
+ pointsonright,totalsonright,
+ links,
+ vspacewithsolns
+ ]{eqexam} %online,
+\usepackage[dbmode,tight]{pmdb}
+
+
+\email{dpstory@uakron.edu}
+
+\university
+{%
+ NORTHWEST FLORIDA STATE COLLEGE\\
+ Department of Mathematics
+}
+\email{storyd@nwfsc.edu}
+\subject[MAC1105]{College Algebra}
+\examNum{1}\numVersions{1}\forVersion{a}
+\longTitleText
+ {Test~\nExam}
+\endlongTitleText
+\shortTitleText
+ {T\nExam}
+\endshortTitleText
+\altTitle{\vA{11:00 am, C-204}\vB{12:30 pm, L-138}}
+\title[\sExam]{\Exam}
+\author{Dr.\ D. P. Story}
+\date{\thisterm, \the\year}
+\duedate{10/09/14}
+\keywords{MAC 1105, Exam \nExam, {\thisterm} semester, \theduedate, at NWFSC}
+
+%\previewOn\pmpvOn
+\editSourceOn
+%\useEditBtn % the default
+\useEditLnk % try it with links
+\InputProbs
+\reversemarginpar
+
+\let\env\texttt
+\def\cs#1{\texttt{\eqbs#1}}
+
+\cfooteqe{\displayChoices{}{11bp}\cgBdry[1em]\clrChoices{}{11bp}}
+
+%\NoTotals
+\TotalsOnRight
+%\advance\marginparwidth12pt
+
+
+\begin{document}
+
+\maketitle
+
+\section{My first exam}
+
+Welcome to this section. Now that you've learned quite a lot, we can have
+a little quiz.
+
+
+\begin{exam}{dps1}
+\begin{instructions}
+Solve each without error.
+\end{instructions}
+
+\pmInput{eqexam/prob1.tex}
+
+\pmInput{eqexam/prob2.tex}
+
+\begin{eqComments}
+There are two ways of inputting content for a \env{problem*}: (1) in the source file, input items
+of the \env{parts} environment; (2) and input the whole \env{problem*} environment. The next problem
+is input using method (1); a \env{problem*} shell is placed in this source file and the individual items
+within the \env{parts} environment are input with \cs{pmInput}.
+\end{eqComments}
+
+\begin{problem*}[5ea]
+Solve each.
+\begin{parts}
+ \pmInput{eqexam/item1.tex}
+ \pmInput{eqexam/item2.tex}
+\end{parts}
+\end{problem*}
+
+\begin{eqComments}
+The whole of the next \env{problem*} environment is input with \cs{pmInput}. Interestingly, the items
+of the \env{parts} environment are still itemized by \cs{pmInput}.
+\end{eqComments}
+
+\pmInput{eqexam/prob3.tex}
+
+\end{exam}
+
+\end{document}
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-items.tex b/texmf-dist/doc/latex/pmdb/examples/tst-items.tex
index 46b25a10..b065a52f 100644
--- a/texmf-dist/doc/latex/pmdb/examples/tst-items.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-items.tex
@@ -2,7 +2,12 @@
\usepackage[forcolorpaper]{web}
\usepackage[dbmode,!tight]{pmdb}
-\previewOn
+\previewOn\pmpvOn
+
+\editSourceOn
+\useEditBtn % the default
+%\useEditLnk % try it with links
+
\reversemarginpar
@@ -19,7 +24,7 @@ The \texttt{itemize} environment
\end{itemize}
\medskip\noindent
-The \texttt{environment} environment
+The \texttt{enumerate} environment
\begin{enumerate}
\item One\marginpar{One}
\item Two\marginpar{Two}
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex b/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
index 550e58db..cd9794f0 100644
--- a/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-paras.tex
@@ -4,12 +4,14 @@
\usepackage{eforms}
\usepackage[dbmode]{pmdb}
-%\usepackage{srcltx}
-
%\previewOn\pmpvOn
+\editSourceOn
+%\useEditBtn % the default
+\useEditLnk % try it with links
+
% The default input mode
-%\InputParas
+\InputParas
\def\cs#1{\texttt{\eqbs#1}}
@@ -30,8 +32,8 @@ in the margins and executes an \cs{input} command.
% Adjust paths as needed
\pmInput{chapters/doc1.tex}
-%\input{"my doc2.tex"}
-\pmInput{"C:/Users/Public/Documents/My TeX Files/tex/latex/aeb/pmdb/examples/chapters/doc2.tex"}
+\input{"my doc2.tex"}
+%\pmInput{"C:/Users/Public/Documents/My TeX Files/tex/latex/aeb/pmdb/examples/chapters/doc2.tex"}
\medskip\noindent
\displayChoices{}{11bp}\cgBdry[1em]\clrChoices{}{11bp}
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.pdf b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.pdf
new file mode 100644
index 00000000..96680eef
--- /dev/null
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex
index eb6807eb..c7623e9d 100644
--- a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex
@@ -2,7 +2,7 @@
\usepackage{amstext}
\usepackage[forcolorpaper]{web}
\usepackage{exerquiz}[2019/12/17]
-\usepackage[dbmode,!tight]{pmdb}
+\usepackage[dbmode,tight]{pmdb}
\reversemarginpar
@@ -11,7 +11,11 @@
\useBeginQuizButton[\CA{Begin}]
\useEndQuizButton[\CA{End}]
+
%\previewOn\pmpvOn
+\editSourceOn
+\useEditBtn % the default
+%\useEditLnk % try it with links
\rfooter{\dirTOCItem} % \dirTOCItem from web
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.pdf b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.pdf
new file mode 100644
index 00000000..ba2db8a5
--- /dev/null
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.tex b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.tex
index ac1898a8..2abfe569 100644
--- a/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.tex
+++ b/texmf-dist/doc/latex/pmdb/examples/tst-qzdb.tex
@@ -16,6 +16,10 @@
\version{1.0}
\norevisionLabel
+\editSourceOn
+%\useEditBtn % the default
+%\useEditLnk % try it with links
+
\PTsHook{($\eqPTs^{\text{pts}}$)}
@@ -27,15 +31,16 @@
\useMCCircles
+
% Declares input for quiz items
\InputQuizItems
-
\begin{document}
\maketitle
\tableofcontents
+
\section{Section 1}
Expand the \cs{InputQuizItems} here.
@@ -55,7 +60,7 @@ Solve each of these problems, passing is 100\%.
\section{Section 2}
-%\InputQuizItems
+\InputQuizItems
\begin{quiz*}{myquiz2}