summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/dps/examples/advanced/usebtnappr/sideshow/dps_str_cus.def
blob: 09329676b366395c5465d2ec6a0e31b84b883c55 (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
%%
%% This is file `dps_str_cus.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                      %%
%%   dpstory@acrotex.net                                %%
%%   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 question too many times, I'm adding "
    + \dspenaltypoints
    + " points, and resetting the penalty counter. Bad boy/girl!"}
\def\congratFinished{"Congratulations! You finished the puzzle"
        +((nMissed==0) ? " without missing a single problem, You are a flirt master!"
        : ", 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
{%
    "You are a casanova!",
    "Let's go out for a date!",
    "This is not looking good. Take some flirt lessons!",
    "Ooooh, come on! No one could be so anti-romantic, you only need to follow some basic steps!",
    "Better, you keep single!"
}
\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_cus.def'.