summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/pmdb/examples/tst-qzdb-paras.tex
blob: c7623e9d62ec879a637a20883feafacf9d3a061b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
\documentclass{book}
\usepackage{amstext}
\usepackage[forcolorpaper]{web}
\usepackage{exerquiz}[2019/12/17]
\usepackage[dbmode,tight]{pmdb}

\reversemarginpar

\def\cs#1{\texttt{\eqbs#1}}

\useBeginQuizButton[\CA{Begin}]
\useEndQuizButton[\CA{End}]


%\previewOn\pmpvOn
\editSourceOn
\useEditBtn   % the default
%\useEditLnk  % try it with links

\rfooter{\dirTOCItem} % \dirTOCItem from web

% Make quiz solutions into a chapter* event
\InputQzSolnsLevel*[ch:Qz]{chapter} % exerquiz 2019/12/17


\title{Poor Man's Database}
\author{D. P. Story}
\email{dpstory@acrotex.net}

\optionalPageMatter{\begin{center}
  \fbox{\begin{minipage}{.67\linewidth}
    This file demonstrates how to input both quiz items and paragraph content.
    Two commands are defined \cs{InputQuizItems} and \cs{InputParas} to make it
    convenient to switch between the two modes of input.
  \end{minipage}}
\end{center}}

\begin{document}

\maketitle

\tableofcontents

\chapter{The quizzes}

\section{Section 1}

Expand the \cs{InputQuizItems} here.

\InputQuizItems

\begin{quiz*}{myquiz1}
Solve each of these problems, passing is 100\%.
\begin{questions}

\pmInput{probs/prob1.tex}

\pmInput{probs/prob2.tex}

\pmInput{probs/prob3.tex}

\end{questions}
\end{quiz*}

\section{Section 2}

\begin{quiz*}{myquiz2}
Solve each of these problems, passing is 100\%.
\begin{questions}

\pmInput{probs/prob4.tex}

\pmInput{probs/prob6.tex}

\pmInput{probs/prob5.tex}

\end{questions}
\end{quiz*} %\ScoreField\currQuiz\CorrButton\currQuiz

\medskip\noindent
\displayChoices{}{11bp}


\medskip\noindent
Expand the \cs{InputParas} here.
\InputParas

\pmInput{chapters/doc1.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}

\end{document}