I am putting quizzes together and have been successful in using the algebra filter in the body of the questions, but as a multiple choice answer the filter does not seem to be functioning. Is this normal, or am I doing something wrong?
An example expression @@4n+12<35@@.
Thanks for your help,
As a workaround
4n+12 < 35
would work to get
Or if you want to tweak the appearance of the smaller than symbol, you can put
<span style="font-weight:bold;font-size:16pt">4n+12 < 35 </span>
Thanks for your support!
I went to the manual and tried out a few expressions in ther test window. I am still learning the Tex syntax. I added your suggestions to my quiz and it looks much better. Also, I made a few changes in my question and it looks much better as well.
When I was a real programmer, our chant was RTFM, Read the ... Manual. Time for me to sally forth and engage the manual.
Displaying math on the web can be a real pain, but your efforts make it a lot easier.
Don't worry about not reading the mimetex manusl (ditto Andreas). I realize it's long and boring, and difficult to find a specific piece of information.
When you say, "I am still learning the Tex syntax," I'd say that mimetex isn't the best way to learn real (La)TeX syntax. For example, the < kludge we discussed isn't recognized by real TeX, nor are various other kludges I programmed into mimetex to accommodate its web-centric focus. And the mimetex manual doesn't always make it clear which features are syntax extensions.
Suppose moodle eventually abandons mimetex in favor of an actual Tex engine, or a Tex-to-MathML converter that only recognizes real Tex, or anything else that only recognizes real Tex. Then if you've only used real Tex in your quizzes, they'll continue to render correctly, transparent to the change. But your < is a mimetex-specific kludge that a real Tex engine will choke on. So the down-side of using < is that you're locking yourself into mimetex.
Andreas' pages might be a better way to learn Tex math. There's also a very short math intro on the two pages
The math section of "The not so short introduction to latex", at
is a somewhat longer introduction. But it's still pretty sparse.
The only adequate discussions I've come across are in books you have to buy. Browse as many as you can and choose the one you personally like best. I'd only suggest you look at "A Guide to LaTeX", Kopka and Daly, Addison-Wesley (I believe it's now in its fourth edition; I have the third, whose math section looks pretty decent).
just want to mention that there are quite some moodlers who are using your mimeTeX. I am having each day some visitors / guests at emathpool who are consulting the mimeTeX reference. And this doesn't include the ones who have downloaded the documentation in xml.
When the math becomes more advanced, it seems reasonable to upload an auxilary file. For example, some of the questions in my recent algebra quiz are dealing with the plots. To answer those questions, the students are asked to open pdf files generated from any advanced math editor (mathematica in my case) and answer multiple choice questions looking in that file....
well, I tried to upload the file, but it exceeded the allowed size.
You can send your email address to firstname.lastname@example.org, and I will send the file directly. Naturally, such a file can also contain some advanced math formulas.
sorry I wasn't aware of this. Yes, it works great with encoded characters!