diff options
author | Norbert Preining <norbert@preining.info> | 2020-06-18 22:05:02 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-06-18 22:05:02 +0900 |
commit | 50a8d332712ef590c7dfa6ea2e5bc66080dd8ffc (patch) | |
tree | a196cb633822b7b235de2399b9036da8ef67a4f3 /texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def | |
parent | 6af429205482aaf19c0ae60c168ca32514cdce4d (diff) |
dps update
Diffstat (limited to 'texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def')
-rw-r--r-- | texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def b/texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def new file mode 100644 index 00000000..aa3f1cb5 --- /dev/null +++ b/texmf-dist/doc/latex/dps/examples/advanced/uselayers/basic/dps_str_cus.def @@ -0,0 +1,48 @@ +%% +%% This is file `dps_str_us.def', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% dps.dtx (with options: `copyright,english') +%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% dps.sty package, 2006-10-06 %% +%% Copyright (C) 2006 D. P. Story %% +%% storyd@owc.edu %% +%% %% +%% This program can redistributed and/or modified under %% +%% the terms of the LaTeX Project Public License %% +%% Distributed from CTAN archives in directory %% +%% macros/latex/base/lppl.txt; either version 1 of the %% +%% License, or (at your option) any later version. %% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\def\chooseQ{"You must choose a question to answer before you answer!"} +\def\triedTooMuch{"You have tried this problem too many times, I'm adding " + + \dspenaltypoints + + " points, and resetting the penalty counter. Bad boy/girl!"} +\def\congratFinished{"Student: " + (this.getField("dpsSignInName").value) + ". " + + "Time stamp: " + (util.printd("mm-dd-yy, H:MM:ss.", new Date())) +"\n" + +"Congratulations! You finished the puzzle" + +((nMissed==0) ? " without missing a single problem, amazing!" + : ", but you missed " + nMissed + " questions in the process!")} +\def\regretPleased{(( nMissed > nPassing ) + ? "I regret to report that you did not pass the test because you missed too many questions." + : "I am pleased to report that you passed the test!")} +\def\reportPenaltyPoints{"The number of penalty points is " + nPenaltyPoints +"."} +\def\finalPenaltyScore{"Final penalty score is " + nTotalPenaltyPoints + ". "} +\def\aPenaltyScale{[-1,0], [0,4], [4, 10], [10,25], [25,5000]} +\def\aPenaltyMsgs +{% + "Perfect! You are a statistics wizard!", + "Very nice performance!", + "This is not looking good. Perhaps a review is in order!", + "Are you trying? Do you have the prerequisites for this course?", + "You're not taking this seriously!" +} +\dlJSStr[noquotes]{\signInMsg}{% + You must enter your name in the field at the top of + the page to get credit for this assignment.} +\endinput +%% +%% End of file `dps_str_us.def'. |