Mike Gerwitz

Activist for User Freedom

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Gerwitz <gerwitzm@lovullo.com>2014-06-02 11:18:13 -0400
committerMike Gerwitz <gerwitzm@lovullo.com>2014-06-02 11:18:13 -0400
commit4e03ed702318ab5ffce5a732aab6209ce2e9011e (patch)
tree03bc55c7afc744658506a3f942b13fe69d4d7464
parentebbeef91d18aff441ca38c32166a2025fc7c4bda (diff)
downloadlvspec-4e03ed702318ab5ffce5a732aab6209ce2e9011e.tar.gz
lvspec-4e03ed702318ab5ffce5a732aab6209ce2e9011e.tar.bz2
lvspec-4e03ed702318ab5ffce5a732aab6209ce2e9011e.zip
Added "-" shorthand for \question param mapping
-rw-r--r--raterspec/question.sty7
1 files changed, 6 insertions, 1 deletions
diff --git a/raterspec/question.sty b/raterspec/question.sty
index 22ab0fe..465e5bc 100644
--- a/raterspec/question.sty
+++ b/raterspec/question.sty
@@ -59,7 +59,12 @@
\ifx\@mapsto\empty
\May not map to any rater input parameter.%
\else
- \Shall map to rater input parameter \paramref{#3}.%
+ \Shall map to rater input parameter
+ \if\@mapsto-%
+ \paramref{#2}%
+ \else
+ \paramref{#3}%
+ \fi.%
\fi
\endgroup
\space Input value \shall be \csname @qtypedesc@#4\endcsname\space