Quiz answer selections - increase space between in multiple choice?

Quiz answer selections - increase space between in multiple choice?

by Susan Miller-Curley -
Number of replies: 2

Using Moodle 2.1 and developing quiz with multiple choice questions.  I have imported png file of fractions created in math editor in Word since Moodle doesn't do fractions.

The images appear too close together, forcing the radial dial selection button to go all kinds of strange places.  I am thinking that if I could add some space between the radial dial selections it would solve the problem.  Ideas?  

Attachment Moodle pic fraction problem.PNG
Average of ratings: -
In reply to Susan Miller-Curley

Re: Quiz answer selections - increase space between in multiple choice?

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Moodle can do fractions (and more). See http://docs.moodle.org/24/en/TeX_notation_filter or http://docs.moodle.org/20/en/Advanced_Maths_Tools.

If you are really still using Moodle 2.1, you need to plan an upgrade ASAP. I expect upgrading would fix your layout problems.

In reply to Tim Hunt

Re: Quiz answer selections - increase space between in multiple choice?

by Marcus Green -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers

Here is a quick summary of how you can display Maths symbols using a thing called Mathjax which
relies on Javascript. This is a distillation of some information on the page that Tim linked to.

If you go to Site Administration/Appearance/Additional HTML and paste the following into
within Head

<script type="text/x-mathjax-config"> 
MathJax.Hub.Config({ <br /> MMLorHTML: { prefer: "HTML" },
tex2jax: { <br /> displayMath: [ ['$$','$$'], ["\\[","\\]"] ], <br /> inlineMath: [ ['$','$'], ["\\(","\\)"]], <br /> processEscapes: true <br /> }
});
</script>
<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>

Then go to a question and put something like the following into a question

$$\frac{2}{5}$$

When you view the question you will see a lovely rendering of 2/5

That's a lot of trouble to display something as simple as that fraction, but it gives you the power
to display all manner of fancy maths symbols that are otherwise unavailable within ordinary HTML.