Using light grey on the letters inside the box

Added by Ståle Freyer over 11 years ago

To ensure the students tick the correct box in a matrix, I've put letters inside them so they're easy to identify. This makes the detecting threshold more critical. Is it possible to choose the colour of the letters that are put inside?

I would like them to be in e.g. 40% grey.


Replies (3)

RE: Using light grey on the letters inside the box - Added by Alexis Bienvenüe over 11 years ago

From revision r1267, this can be done with something like

\def\AMCchoiceLabelFormat#1{\textcolor{black!40}{#1}}

Other solution: ask the students to fill the boxes completely, and use a "drakness threshold" around 0.6

RE: Using light grey on the letters inside the box - Added by Ståle Freyer about 11 years ago

I've tried this in the latest version, but I'm not the kind of guy who compiles an intermediate release.

Nevertheless, I found a Latex command using colour that did the trick:


\usepackage{color}
...
\def\AMCchoiceLabel#1{\color{black!40}\alph{#1}}

which work like a charm! Nice weak, minuscle letters inside the boxes used in questions.

My next issue is that I would like to format the \AMCcode (box matrix used for studentID) to also show a weak digit inside the box.


\def\AMCcodeLabel#1{\color{black!40}\alph{#1}}

did not work. Any ideas?

weak.jpg - Image showing boxes with weak and strong letters/digits (43.6 kB)

RE: Using light grey on the letters inside the box - Added by Alexis Bienvenüe about 11 years ago

Ths first command I wrote works for both choices boxes and codes boxes. On Ubuntu, you can use development version of AMC from the test PPA repository.

(1-3/3)