From 9b4f65771e507cb07b0b5851eb03577698f04259 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 17 Jun 2018 21:34:43 +0900 Subject: add dps --- texmf-dist/doc/latex/dps/README | 28 +++ texmf-dist/doc/latex/dps/dpstheman.pdf | Bin 0 -> 175278 bytes texmf-dist/doc/latex/dps/examples/dps_demo.pdf | Bin 0 -> 67328 bytes texmf-dist/doc/latex/dps/examples/dps_demo_p.pdf | Bin 0 -> 29057 bytes texmf-dist/doc/latex/dps/examples/first_date.pdf | Bin 0 -> 471961 bytes texmf-dist/doc/latex/dps/examples/pmg_d1.pdf | Bin 0 -> 30163 bytes texmf-dist/doc/latex/dps/examples/pmg_d1.tex | 226 +++++++++++++++++++++++ texmf-dist/doc/latex/dps/examples/pmg_d1_p.pdf | Bin 0 -> 30169 bytes texmf-dist/doc/latex/dps/examples/pmg_d1_p.tex | 222 ++++++++++++++++++++++ texmf-dist/doc/latex/dps/examples/pmg_d2.pdf | Bin 0 -> 43525 bytes texmf-dist/doc/latex/dps/examples/pmg_d2.tex | 221 ++++++++++++++++++++++ texmf-dist/doc/latex/dps/examples/pmg_d3.pdf | Bin 0 -> 42357 bytes texmf-dist/doc/latex/dps/examples/pmg_d3.tex | 217 ++++++++++++++++++++++ texmf-dist/doc/latex/dps/examples/pmg_test.pdf | Bin 0 -> 44511 bytes texmf-dist/doc/latex/dps/examples/pmg_test.tex | 215 +++++++++++++++++++++ 15 files changed, 1129 insertions(+) create mode 100644 texmf-dist/doc/latex/dps/README create mode 100644 texmf-dist/doc/latex/dps/dpstheman.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/dps_demo.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/dps_demo_p.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/first_date.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d1.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d1.tex create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d1_p.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d1_p.tex create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d2.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d2.tex create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d3.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_d3.tex create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_test.pdf create mode 100644 texmf-dist/doc/latex/dps/examples/pmg_test.tex (limited to 'texmf-dist/doc') diff --git a/texmf-dist/doc/latex/dps/README b/texmf-dist/doc/latex/dps/README new file mode 100644 index 00000000..36bc7054 --- /dev/null +++ b/texmf-dist/doc/latex/dps/README @@ -0,0 +1,28 @@ + +Das Puzzle Spiel is a LaTeX package (dps package) for creating a +puzzle, a message actually, and a series of questions and answers. The +document consumer matches the questions with the answers. With each +match, another letter appears in the puzzle. Upon completion of all +questions, the message hidden in the puzzle is revealed. The puzzle is +primarily designed for the screen, but you can optionally create the +game for paper. + +Note: Package files are attached to the documentation file dpstheman.pdf. + +The home page of this package is + +http://www.math.uakron.edu/~dpstory/dps.html + + +The game uses some minor features new to the AeB (AcroTeX eDucation Bundle), +so please download the lastest AeB and install. If you are unfamiliar with AeB, +you better go to the AcroTeX eDucation Bundle home page and get the full download +and documentation. + +The latest AeB can be found at + +http://www.math.uakron.edu/~dpstory/webeq.html + +Enjoy + +dps diff --git a/texmf-dist/doc/latex/dps/dpstheman.pdf b/texmf-dist/doc/latex/dps/dpstheman.pdf new file mode 100644 index 00000000..9251237a Binary files /dev/null and b/texmf-dist/doc/latex/dps/dpstheman.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/dps_demo.pdf b/texmf-dist/doc/latex/dps/examples/dps_demo.pdf new file mode 100644 index 00000000..87a3588c Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/dps_demo.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/dps_demo_p.pdf b/texmf-dist/doc/latex/dps/examples/dps_demo_p.pdf new file mode 100644 index 00000000..3a6d792c Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/dps_demo_p.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/first_date.pdf b/texmf-dist/doc/latex/dps/examples/first_date.pdf new file mode 100644 index 00000000..b3eb0bbf Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/first_date.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d1.pdf b/texmf-dist/doc/latex/dps/examples/pmg_d1.pdf new file mode 100644 index 00000000..9f16989b Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/pmg_d1.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d1.tex b/texmf-dist/doc/latex/dps/examples/pmg_d1.tex new file mode 100644 index 00000000..d57ce8d2 --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/pmg_d1.tex @@ -0,0 +1,226 @@ +\documentclass{article} +\usepackage[forcolorpaper]{web} +\usepackage{eforms} +\usepackage[nonrandomized]{dps} %[lang=english] [showletters] +%\usepackage[viewmode,norandomize]{dps} % + +\rowsep{2ex} + +\ifeqforpaper +\setlength{\oddsidemargin}{-.5in} +\fi + +\margins{.5in}{.5in}{24pt}{.5in} % left,right,top, bottom +\screensize{6.75in}{8.5in} % height, width + +\title{DPS -- Das Puzzle Spiel} +\author{D. P. Story} + +\thispagestyle{empty} + +\parindent0pt +\parskip6pt + +\DeclarePuzzle +{% + {H}{H} + {e}{e} + {l}{l} + {l}{l} + {o}{o} + {}{space} + {J}{J} + {\texorpdfstring{\"{u}}{\string\374}}{uml} % ü + {r}{r} + {g}{g} + {e}{e} + {n}{n} + {,}{punc} + {}{space} + {h}{h} + {o}{o} + {w}{w} + {}{space} + {a}{a} + {r}{r} + {e}{e} + {}{space} + {y}{y} + {o}{o} + {u}{u} + {}{space} + {t}{t} + {o}{o} + {d}{d} + {a}{a} + {y}{y} + {?}{punc} +} + +\begin{Composing} + +\begin{cQ}{H} +$ -5x - 2 + 3x $ +\end{cQ} +\begin{cA}{H} +$-2x-2$ +\end{cA} + +\begin{cQ}{e} +$ 2x + 5x $ +\end{cQ} +\begin{cA}{e} +$7x$ +\end{cA} + +\begin{cQ}{l} +$ 6x - 3x + 1 $ +\end{cQ} +\begin{cA}{l} +$3x+1$ +\end{cA} + +\begin{cQ}{o} +$ 5 -5x + 2x -2 $ +\end{cQ} +\begin{cA}{o} +$-3x+3$ +\end{cA} + +\begin{cQ}{J} +$ 4( x + 2 ) - 2 $ +\end{cQ} +\begin{cA}{J} +$4x+6$ +\end{cA} + +\begin{cQ}{uml} +$ -3x + 2(5-2x) $ +\end{cQ} +\begin{cA}{uml} +$-7x+10$ +\end{cA} + +\begin{cQ}{r} +$ -2 ( 3x + (-4) ) + 4 $ +\end{cQ} +\begin{cA}{r} +$-6x+12$ +\end{cA} + +\begin{cQ}{g} +$ 5 ( x - (-2) ) $ +\end{cQ} +\begin{cA}{g} +$5x+10$ +\end{cA} + +\begin{cQ}{n} +$ 6x - 5 (x - 2) $ +\end{cQ} +\begin{cA}{n} +$x+10$ +\end{cA} + +\begin{cQ}{h} +$ 2 - 3(4x - 2) $ +\end{cQ} +\begin{cA}{h} +$-12x+8$ +\end{cA} + +\begin{cQ}{w} +$ 6x - 3 + x + 5 $ +\end{cQ} +\begin{cA}{w} +$7x+2$ +\end{cA} + +\begin{cQ}{a} +$ 5( -2x + 4 ) + 3x - 2 $ +\end{cQ} +\begin{cA}{a} + $-7x+18$ +\end{cA} + +\begin{cQ}{y} +$ 3(x-3) - 2(x+2) $ +\end{cQ} +\begin{cA}{y} +$x-13$ +\end{cA} + +\begin{cQ}{u} +$ -2(3-x) - 4(1-3x) $ +\end{cQ} +\begin{cA}{u} +$14x-10$ +\end{cA} + +\begin{cQ}{t} +$ x (5 +2) -3x $ +\end{cQ} +\begin{cA}{t} +$4x$ +\end{cA} + +\begin{cQ}{d} +$ 1 -2 ( 2x -4x) + 2x $ +\end{cQ} +\begin{cA}{d} +$ 6x + 1$ +\end{cA} + +\end{Composing} + + +\begin{document} +\begin{center}\bfseries\Large\color{blue} + \webtitle\\[1ex]\webauthor +\end{center} + +\ifeqforpaper + \textcolor{red}{\textbf{Instructions:}} Solve each of the + numbered problems in the center panel, and find the answer in either + the left or right panel. Fill in the space(s) in the puzzle + corresponding to the question number with the letter associated with + the answer. +\else + \textcolor{red}{\textbf{Instructions:}} Select a question from the + center panel by clicking its checkbox. Solve the problem and find + the answer listed in either the left or right panel. No guessing! + A maximum of $\dsthreshold$ tries on any problem before you get + $\dspenaltypoints$ penalty points ! Passing is to complete the puzzle with only + $\dspassing$ incorrect answers. +\fi + +\fbox{\begin{minipage}{\linewidth-2\fboxsep-2\fboxrule} +\insertPuzzle{18} +\end{minipage}} +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersLeftPanel +\end{itemize} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.6\linewidth-2\fboxsep-2\fboxrule} +Simplify each of the expressions below, and find the answer in the column of answers. +\begin{multicols}{2} +\begin{enumerate} +\displayRandomizedQuestions +\end{enumerate} +\end{multicols} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersRightPanel +\end{itemize} +\par\smallskip +\end{minipage}} + +\placeMessageField{\linewidth}{50pt} + +\end{document} diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d1_p.pdf b/texmf-dist/doc/latex/dps/examples/pmg_d1_p.pdf new file mode 100644 index 00000000..58a46075 Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/pmg_d1_p.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d1_p.tex b/texmf-dist/doc/latex/dps/examples/pmg_d1_p.tex new file mode 100644 index 00000000..2cb02022 --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/pmg_d1_p.tex @@ -0,0 +1,222 @@ +\documentclass[landscape]{article} +\usepackage[forcolorpaper]{web} +\usepackage{eforms} +\usepackage[nonrandomized]{dps} %[lang=english] [showletters] +%\usepackage[viewmode,norandomize]{dps} % + +\rowsep{2ex} + +\margins{.5in}{.5in}{.5in}{.5in} % left,right,top, bottom +\screensize{6.75in}{8.5in} % height, width + +\title{DPS -- Das Puzzle Spiel} +\author{D. P. Story} + +\thispagestyle{empty} + +\parindent0pt +\parskip6pt + +\DeclarePuzzle +{% + {H}{H} + {e}{e} + {l}{l} + {l}{l} + {o}{o} + {}{space} + {J}{J} + {\texorpdfstring{\"{u}}{\string\374}}{uml} % ü + {r}{r} + {g}{g} + {e}{e} + {n}{n} + {,}{punc} + {}{space} + {h}{h} + {o}{o} + {w}{w} + {}{space} + {a}{a} + {r}{r} + {e}{e} + {}{space} + {y}{y} + {o}{o} + {u}{u} + {}{space} + {t}{t} + {o}{o} + {d}{d} + {a}{a} + {y}{y} + {?}{punc} +} + +\begin{Composing} + +\begin{cQ}{H} +$ -5x - 2 + 3x $ +\end{cQ} +\begin{cA}{H} +$-2x-2$ +\end{cA} + +\begin{cQ}{e} +$ 2x + 5x $ +\end{cQ} +\begin{cA}{e} +$7x$ +\end{cA} + +\begin{cQ}{l} +$ 6x - 3x + 1 $ +\end{cQ} +\begin{cA}{l} +$3x+1$ +\end{cA} + +\begin{cQ}{o} +$ 5 -5x + 2x -2 $ +\end{cQ} +\begin{cA}{o} +$-3x+3$ +\end{cA} + +\begin{cQ}{J} +$ 4( x + 2 ) - 2 $ +\end{cQ} +\begin{cA}{J} +$4x+6$ +\end{cA} + +\begin{cQ}{uml} +$ -3x + 2(5-2x) $ +\end{cQ} +\begin{cA}{uml} +$-7x+10$ +\end{cA} + +\begin{cQ}{r} +$ -2 ( 3x + (-4) ) + 4 $ +\end{cQ} +\begin{cA}{r} +$-6x+12$ +\end{cA} + +\begin{cQ}{g} +$ 5 ( x - (-2) ) $ +\end{cQ} +\begin{cA}{g} +$5x+10$ +\end{cA} + +\begin{cQ}{n} +$ 6x - 5 (x - 2) $ +\end{cQ} +\begin{cA}{n} +$x+10$ +\end{cA} + +\begin{cQ}{h} +$ 2 - 3(4x - 2) $ +\end{cQ} +\begin{cA}{h} +$-12x+8$ +\end{cA} + +\begin{cQ}{w} +$ 6x - 3 + x + 5 $ +\end{cQ} +\begin{cA}{w} +$7x+2$ +\end{cA} + +\begin{cQ}{a} +$ 5( -2x + 4 ) + 3x - 2 $ +\end{cQ} +\begin{cA}{a} + $-7x+18$ +\end{cA} + +\begin{cQ}{y} +$ 3(x-3) - 2(x+2) $ +\end{cQ} +\begin{cA}{y} +$x-13$ +\end{cA} + +\begin{cQ}{u} +$ -2(3-x) - 4(1-3x) $ +\end{cQ} +\begin{cA}{u} +$14x-10$ +\end{cA} + +\begin{cQ}{t} +$ x (5 +2) -3x $ +\end{cQ} +\begin{cA}{t} +$4x$ +\end{cA} + +\begin{cQ}{d} +$ 1 -2 ( 2x -4x) + 2x $ +\end{cQ} +\begin{cA}{d} +$ 6x + 1$ +\end{cA} + +\end{Composing} + + +\begin{document} +\begin{center}\bfseries\Large\color{blue} + \webtitle\\[1ex]\webauthor +\end{center} + +\ifeqforpaper + \textcolor{red}{\textbf{Instructions:}} Solve each of the + numbered problems in the center panel, and find the answer in either + the left or right panel. Fill in the space(s) in the puzzle + corresponding to the question number with the letter associated with + the answer. +\else + \textcolor{red}{\textbf{Instructions:}} Select a question from + the center panel by clicking its checkbox. Solve the problem and + find the answer listed in either the left or right panel. No + guessing! A maximum of $\dsthreshold$ tries on any problem + before you get $\dspenaltypoints$ penalty points ! Passing is + to complete the puzzle with only $\dspassing$ incorrect answers. +\fi + +\fbox{\begin{minipage}{\linewidth-2\fboxsep-2\fboxrule} +\insertPuzzle{18} +\end{minipage}} +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersLeftPanel +\end{itemize} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.6\linewidth-2\fboxsep-2\fboxrule} +Simplify each of the expressions below, and find the answer in the column of answers. +\begin{multicols}{2} +\begin{enumerate} +\displayRandomizedQuestions +\end{enumerate} +\end{multicols} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersRightPanel +\end{itemize} +\par\smallskip +\end{minipage}} + +\placeMessageField{\linewidth}{50pt} + +\end{document} diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d2.pdf b/texmf-dist/doc/latex/dps/examples/pmg_d2.pdf new file mode 100644 index 00000000..d89c9214 Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/pmg_d2.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d2.tex b/texmf-dist/doc/latex/dps/examples/pmg_d2.tex new file mode 100644 index 00000000..6465893b --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/pmg_d2.tex @@ -0,0 +1,221 @@ +\documentclass{article} +%\usepackage[forcolorpaper]{web} +\usepackage{web} % dvips, dvipsone, pdftex, dvipdfm +\usepackage{eforms} +\usepackage{dps} + + +\margins{.5in}{.5in}{.5in}{.5in} % left,right,top, bottom +\screensize{8in}{8.5in} % height, width + +\title{DPS -- Das Puzzle Spiel} +\author{D. P. Story} + +\thispagestyle{empty} + +\ifeqforpaper +\setlength{\oddsidemargin}{0pt} +\fi + +\parindent0pt +\parskip6pt + +\DeclarePuzzle +{% + {H}{H} + {e}{e} + {l}{l} + {l}{l} + {o}{o} + {}{space} + {J}{J} + {\texorpdfstring{u}{\string\374}}{uml} % ü + {r}{r} + {g}{g} + {e}{e} + {n}{n} + {,}{punc} + {}{space} + {h}{h} + {o}{o} + {w}{w} + {}{space} + {a}{a} + {r}{r} + {e}{e} + {}{space} + {y}{y} + {o}{o} + {u}{u} + {}{space} + {t}{t} + {o}{o} + {d}{d} + {a}{a} + {y}{y} + {?}{punc} +} + +\begin{Composing} + +\begin{cQ}{H} +$ -5x - 2 + 3x $ +\end{cQ} +\begin{cA}{H} +$-2x-2$ +\end{cA} + +\begin{cQ}{e} +$ 2x + 5x $ +\end{cQ} +\begin{cA}{e} +$7x$ +\end{cA} + +\begin{cQ}{l} +$ 6x - 3x + 1 $ +\end{cQ} +\begin{cA}{l} +$3x+1$ +\end{cA} + +\begin{cQ}{o} +$ 5 -5x + 2x -2 $ +\end{cQ} +\begin{cA}{o} +$-3x+3$ +\end{cA} + +\begin{cQ}{J} +$ 4( x + 2 ) - 2 $ +\end{cQ} +\begin{cA}{J} +$4x+6$ +\end{cA} + +\begin{cQ}{uml} +$ -3x + 2(5-2x) $ +\end{cQ} +\begin{cA}{uml} +$-7x+10$ +\end{cA} + +\begin{cQ}{r} +$ -2 ( 3x + (-4) ) + 4 $ +\end{cQ} +\begin{cA}{r} +$-6x+12$ +\end{cA} + +\begin{cQ}{g} +$ 5 ( x - (-2) ) $ +\end{cQ} +\begin{cA}{g} +$5x+10$ +\end{cA} + +\begin{cQ}{n} +$ 6x - 5 (x - 2) $ +\end{cQ} +\begin{cA}{n} +$x+10$ +\end{cA} + +\begin{cQ}{h} +$ 2 - 3(4x - 2) $ +\end{cQ} +\begin{cA}{h} +$-12x+8$ +\end{cA} + +\begin{cQ}{w} +$ 6x - 3 + x + 5 $ +\end{cQ} +\begin{cA}{w} +$7x+2$ +\end{cA} + +\begin{cQ}{a} +$ 5( -2x + 4 ) + 3x - 2 $ +\end{cQ} +\begin{cA}{a} + $-7x+18$ +\end{cA} + +\begin{cQ}{y} +$ 3(x-3) - 2(x+2) $ +\end{cQ} +\begin{cA}{y} +$x-13$ +\end{cA} + +\begin{cQ}{u} +$ -2(3-x) - 4(1-3x) $ +\end{cQ} +\begin{cA}{u} +$14x-10$ +\end{cA} + +\begin{cQ}{t} +$ x (5 +2) -3x $ +\end{cQ} +\begin{cA}{t} +$4x$ +\end{cA} + +\begin{cQ}{d} +$ 1 -2 ( 2x -4x) + 2x $ +\end{cQ} +\begin{cA}{d} +$ 6x + 1$ +\end{cA} + +\end{Composing} + +\begin{document} +\begin{center}\bfseries\Large\color{blue} + \webtitle\\[1ex]\webauthor +\end{center} + +\ifeqforpaper + \textcolor{red}{\textbf{Instructions:}} Solve each of the + numbered problems in the center panel, and find the answer in either + the left or right panel. Fill in the space(s) in the puzzle + corresponding to the question number with the letter associated with + the answer. +\else + \textcolor{red}{\textbf{Instructions:}} Select a question from the + center panel by clicking its checkbox. Solve the problem and find + the answer listed in either the left or right panel. No guessing! + A maximum of $\dsthreshold$ tries on any problem before you get + $\dspenaltypoints$ penalty points ! Passing is to complete the puzzle with only + $\dspassing$ incorrect answers. +\fi + +\def\answidth{1.2in} +\def\queswidth{1.8in} + +\fbox{\begin{minipage}[t][5in][t]{\answidth-2\fboxsep-2\fboxrule}\raggedright +\makebox[\linewidth]{\textbf{Answers}} +\begin{itemize} +\displayRandomizedAnswers +\end{itemize} +\par\smallskip +\end{minipage}}% +% +\fbox{\begin{minipage}[t][1in][t]{\linewidth-\answidth-\queswidth-2\fboxsep-2\fboxrule} +\makebox[\linewidth]{\textbf{The Puzzle}}\par\smallskip +\insertPuzzle{11} +\end{minipage}}% +% +\fbox{\begin{minipage}[t][5in][t]{\queswidth-2\fboxsep-2\fboxrule} +\makebox[\linewidth]{\centering\textbf{Questions}} +\begin{enumerate} +\displayRandomizedQuestions +\end{enumerate} +\par\smallskip +\end{minipage}}% + +\nointerlineskip\vspace{-\parskip}\placeMessageField{\linewidth}{50pt} + +\end{document} diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d3.pdf b/texmf-dist/doc/latex/dps/examples/pmg_d3.pdf new file mode 100644 index 00000000..a665fb9b Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/pmg_d3.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_d3.tex b/texmf-dist/doc/latex/dps/examples/pmg_d3.tex new file mode 100644 index 00000000..ff9e6be2 --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/pmg_d3.tex @@ -0,0 +1,217 @@ +\documentclass{article} +\usepackage{web} +\usepackage{eforms} +\usepackage[viewmode,showletters]{dps} %[lang=english] [showletters] +%\usepackage[viewmode,norandomize]{dps} % + +\rowsep{2ex} + +\margins{.5in}{.5in}{24pt}{.5in} % left,right,top, bottom +\screensize{7.75in}{8.5in} % height, width + +\title{DPS -- Das Puzzle Spiel} +\author{D. P. Story} + +\thispagestyle{empty} + +\parindent0pt +\parskip6pt + +\DeclarePuzzle +{% + {H}{H} + {e}{e} + {l}{l} + {l}{l} + {o}{o} + {}{space} + {J}{J} + {\texorpdfstring{\"{u}}{\string\374}}{uml} % ü + {r}{r} + {g}{g} + {e}{e} + {n}{n} + {,}{punc} + {}{space} + {h}{h} + {o}{o} + {w}{w} + {}{space} + {a}{a} + {r}{r} + {e}{e} + {}{space} + {y}{y} + {o}{o} + {u}{u} + {}{space} + {t}{t} + {o}{o} + {d}{d} + {a}{a} + {y}{y} + {?}{punc} +} + +\begin{Composing} + +\begin{cQ}{H} +$ -5x - 2 + 3x $ +\end{cQ} +\begin{cA}{H} +$-2x-2$ +\end{cA} + +\begin{cQ}{e} +$ 2x + 5x $ +\end{cQ} +\begin{cA}{e} +$7x$ +\end{cA} + +\begin{cQ}{l} +$ 6x - 3x + 1 $ +\end{cQ} +\begin{cA}{l} +$3x+1$ +\end{cA} + +\begin{cQ}{o} +$ 5 -5x + 2x -2 $ +\end{cQ} +\begin{cA}{o} +$-3x+3$ +\end{cA} + +\begin{cQ}{J} +$ 4( x + 2 ) - 2 $ +\end{cQ} +\begin{cA}{J} +$4x+6$ +\end{cA} + +\begin{cQ}{uml} +$ -3x + 2(5-2x) $ +\end{cQ} +\begin{cA}{uml} +$-7x+10$ +\end{cA} + +\begin{cQ}{r} +$ -2 ( 3x + (-4) ) + 4 $ +\end{cQ} +\begin{cA}{r} +$-6x+12$ +\end{cA} + +\begin{cQ}{g} +$ 5 ( x - (-2) ) $ +\end{cQ} +\begin{cA}{g} +$5x+10$ +\end{cA} + +\begin{cQ}{n} +$ 6x - 5 (x - 2) $ +\end{cQ} +\begin{cA}{n} +$x+10$ +\end{cA} + +\begin{cQ}{h} +$ 2 - 3(4x - 2) $ +\end{cQ} +\begin{cA}{h} +$-12x+8$ +\end{cA} + +\begin{cQ}{w} +$ 6x - 3 + x + 5 $ +\end{cQ} +\begin{cA}{w} +$7x+2$ +\end{cA} + +\begin{cQ}{a} +$ 5( -2x + 4 ) + 3x - 2 $ +\end{cQ} +\begin{cA}{a} + $-7x+18$ +\end{cA} + +\begin{cQ}{y} +$ 3(x-3) - 2(x+2) $ +\end{cQ} +\begin{cA}{y} +$x-13$ +\end{cA} + +\begin{cQ}{u} +$ -2(3-x) - 4(1-3x) $ +\end{cQ} +\begin{cA}{u} +$14x-10$ +\end{cA} + +\begin{cQ}{t} +$ x (5 +2) -3x $ +\end{cQ} +\begin{cA}{t} +$4x$ +\end{cA} + +\begin{cQ}{d} +$ 1 -2 ( 2x -4x) + 2x $ +\end{cQ} +\begin{cA}{d} +$ 6x + 1$ +\end{cA} + +\end{Composing} + + +\begin{document} +\begin{center}\bfseries\Large\color{blue} + \webtitle\\[1ex]\webauthor +\end{center} + + +\fbox{\begin{minipage}[t][4.8in][t]{.8\linewidth-2\fboxsep-2\fboxrule} +\ifeqforpaper + \textcolor{red}{\textbf{Instructions:}} Solve each of the + numbered problems in the center panel, and find the answer in either + the left or right panel. Fill in the space(s) in the puzzle + corresponding to the question number with the letter associated with + the answer. +\else + \textcolor{red}{\textbf{Instructions:}} Select a question from + the center panel by clicking its checkbox. Solve the problem and + find the answer listed in either the left or right panel. No + guessing! A maximum of $\dsthreshold$ tries on any problem + before you get $\dspenaltypoints$ penalty points! Passing is + to complete the puzzle with only $\dspassing$ incorrect answers. +\fi +\par\medskip +\insertPuzzle{15} + +\noindent\kern-\fboxsep\rule{\linewidth+2\fboxsep}{.4pt} + +Simplify each of the expressions below, and find the answer in the column of answers. +\begin{multicols}{2} +\begin{enumerate} +\displayRandomizedQuestions +\end{enumerate} +\end{multicols} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][4.8in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswers +\end{itemize} +\par\smallskip +\end{minipage}} + +\placeMessageField{\linewidth}{50pt} + +\end{document} diff --git a/texmf-dist/doc/latex/dps/examples/pmg_test.pdf b/texmf-dist/doc/latex/dps/examples/pmg_test.pdf new file mode 100644 index 00000000..5fd8d23a Binary files /dev/null and b/texmf-dist/doc/latex/dps/examples/pmg_test.pdf differ diff --git a/texmf-dist/doc/latex/dps/examples/pmg_test.tex b/texmf-dist/doc/latex/dps/examples/pmg_test.tex new file mode 100644 index 00000000..e65b93b7 --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/pmg_test.tex @@ -0,0 +1,215 @@ +\documentclass{article} +\usepackage{web} +\usepackage{eforms} +%\usepackage{dps} +\usepackage[nonrandomized]{dps} % dps the option is nonrandomized not nonrandomize + +\margins{.5in}{.5in}{24pt}{.5in} % left,right,top, bottom +\screensize{6.5in}{8.5in} % height, width + +\title{DPS -- Das Puzzle Spiel} +\author{D. P. Story} + +\thispagestyle{empty} + +\parindent0pt +\parskip6pt + +\DeclarePuzzle +{% + {H}{H} + {e}{e} + {l}{l} + {l}{l} + {o}{o} + {}{space} + {J}{J} + {\texorpdfstring{\"{u}}{\string\374}}{uml} % ü + {r}{r} + {g}{g} + {e}{e} + {n}{n} + {,}{punc} + {}{space} + {h}{h} + {o}{o} + {w}{w} + {}{space} + {a}{a} + {r}{r} + {e}{e} + {}{space} + {y}{y} + {o}{o} + {u}{u} + {}{space} + {t}{t} + {o}{o} + {d}{d} + {a}{a} + {y}{y} + {?}{punc} +} + +\begin{Composing} + +\begin{cQ}{H} +$ 1 + 1 $ +\end{cQ} +\begin{cA}{H} +$2$ +\end{cA} + +\begin{cQ}{e} +$ 2x + 5x $ +\end{cQ} +\begin{cA}{e} +$7x$ +\end{cA} + +\begin{cQ}{l} +$ 6x - 3x + 1 $ +\end{cQ} +\begin{cA}{l} +$3x+1$ +\end{cA} + +\begin{cQ}{o} +$ 5 -5x + 2x -2 $ +\end{cQ} +\begin{cA}{o} +$-3x+3$ +\end{cA} + +\begin{cQ}{J} +$ 4( x + 2 ) - 2 $ +\end{cQ} +\begin{cA}{J} +$4x+6$ +\end{cA} + +\begin{cQ}{uml} +$ -3x + 2(5-2x) $ +\end{cQ} +\begin{cA}{uml} +$-7x+10$ +\end{cA} + +\begin{cQ}{r} +$ -2 ( 3x + (-4) ) + 4 $ +\end{cQ} +\begin{cA}{r} +$-6x+12$ +\end{cA} + +\begin{cQ}{g} +$ 5 ( x - (-2) ) $ +\end{cQ} +\begin{cA}{g} +$5x+10$ +\end{cA} + +\begin{cQ}{n} +$ 6x - 5 (x - 2) $ +\end{cQ} +\begin{cA}{n} +$x+10$ +\end{cA} + +\begin{cQ}{h} +$ 15 + 2 $ +\end{cQ} +\begin{cA}{h} +$17$ +\end{cA} + +\begin{cQ}{w} +$ 6x - 3 + x + 5 $ +\end{cQ} +\begin{cA}{w} +$7x+2$ +\end{cA} + +\begin{cQ}{a} +$ 5( -2x + 4 ) + 3x - 2 $ +\end{cQ} +\begin{cA}{a} + $-7x+18$ +\end{cA} + +\begin{cQ}{y} +$ 3(x-3) - 2(x+2) $ +\end{cQ} +\begin{cA}{y} +$x-13$ +\end{cA} + +\begin{cQ}{u} +$ -2(3-x) - 4(1-3x) $ +\end{cQ} +\begin{cA}{u} +$14x-10$ +\end{cA} + +\begin{cQ}{t} +$ \sin( \pi/2) $ +\end{cQ} +\begin{cA}{t} +$1$ +\end{cA} + +\begin{cQ}{d} +$ \cos( \pi/4 ) $ +\end{cQ} +\begin{cA}{d} +$\sqrt{2}/2$ +\end{cA} + +\end{Composing} + + +\begin{document} +\begin{center}\bfseries\Large\color{blue} + \webtitle\\[1ex]\webauthor +\end{center} + +% dps changed \threshold to \dsthreahold +% dps changed \passing to \dspassing + +\textcolor{red}{\textbf{Instructions:}} Select a question from the center +panel by clicking its checkbox. Solve the problem and find the answer listed +in either the left or right panel. No guessing! A maximum of $\dsthreshold$ +tries on any problem before you get penalty points! Passing is to complete +the puzzle with only $\dspassing$ incorrect answers. + + +\fbox{\begin{minipage}{\linewidth-2\fboxsep-2\fboxrule} +\insertPuzzle{18} +\end{minipage}} +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersLeftPanel +\end{itemize} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.6\linewidth-2\fboxsep-2\fboxrule} +Simplify each of the expressions below, and find the answer in the column of answers. +\begin{multicols}{2} +\begin{enumerate} +\displayRandomizedQuestions +\end{enumerate} +\end{multicols} +\par\smallskip +\end{minipage}}% +\fbox{\begin{minipage}[t][3in][t]{.2\linewidth-2\fboxsep-2\fboxrule}\raggedright +Find the correct answer +\begin{itemize} +\displayRandomizedAnswersRightPanel +\end{itemize} +\par\smallskip +\end{minipage}} + +\textField[\Ff\FfMultiline]{report}{\linewidth}{50pt} + +\end{document} -- cgit v1.2.3