1
0
Fork 0

Resolved shorthand map problems for \question with mmode confusion

master
Mike Gerwitz 2014-06-03 09:16:25 -04:00
parent 4e03ed7023
commit 09e64b171a
1 changed files with 8 additions and 7 deletions

View File

@ -55,16 +55,17 @@
\vskip-0.5\baselineskip
\@margin@sig
\begingroup
\def\@mapsto{#3}%
\ifx\@mapsto\empty
\def\@@qid{#2}%
\def\@@mapid{#3}%
\def\@@dash{-}%
\ifx\@@mapid\empty
\May not map to any rater input parameter.%
\else
\ifx\@@mapid\@@dash%
\let\@@mapid\@@qid
\fi
\Shall map to rater input parameter
\if\@mapsto-%
\paramref{#2}%
\else
\paramref{#3}%
\fi.%
\expandafter\paramref\expandafter{\@@mapid}.%
\fi
\endgroup
\space Input value \shall be \csname @qtypedesc@#4\endcsname\space