WeBWorK Main Forum

How put Latex in multiple choice drop down boxes?

How put Latex in multiple choice drop down boxes?

by Christian Seberino -
Number of replies: 1
Why doesn't the answer below display Latex?

(I'm using PGML if that matters.)

$menu = PopUp(["select one",
               "[`p_c > p_b`]",
               "[`p_c < p_b`]",
               "[`p_c = p_b`]"],
               "[`p_c < p_b`]");


In reply to Christian Seberino

Re: How put Latex in multiple choice drop down boxes?

by Gavin LaRose -

I don't believe that parserPopUp supports LaTeX in menu items. When I need that I fall back to the older checkbox_multiple_choice (see, e.g., http://webwork.maa.org/wiki/MultipleChoiceProblems), which does support LaTeX formatting. This doesn't really work for inline drop-downs, but works fine in other respects.

Gavin