Printable Version of Topic
Click here to view this topic in its original format
Main > ExamView Dynamic Content and Algorithms > Fractions In Equation Editor Of Exam View

Posted by: TeKo Mar 12 2009, 05:40 AM
I am using Dynamic Content/Algorithms when creating math questions. However, whenever I use the function fracs in Equation Editor, it does not stack the fraction vertically but rather horizontally. Is there another function to use instead? Is there another way to do this?

For example,

For 2/3: I get "2/3" in Equation Editor instead of having a vertically stack 2 over 3 answer like it is outside Equation Editor.


Posted by: bdmosky Jun 22 2009, 07:10 PM
Same problem here. Is there another way around this? At first it wasn't a big deal to me as I could exclude the fraction from the equation editor, for instance an equation in slope intercept form:

"y=" fracs(whatever, whatever) "x + b"

This shows up just fine if the quoted parts are inside of the equation editor.

Recently though I haven't been able to circumvent this. I'm trying to place a reduced fraction within parentheses for a point, but of course I can't do that without it outputting 2/3 instead of vertically 2 over 3 and if I exclude it from the equation editor, of course the parenteses don't resize.

Posted by: p_e_barnes Jul 1 2009, 06:13 PM
It was brought to my attention that I had typed the same definition for Denom as for Num. Sorry for any problems.

The key to putting a fraction in the equation editor is changing the numerator and denominator from strings to numbers. The following takes a random decimal from 0.01 to 0.99 and converts it to a fraction (string). It then converts the numerator (Num) and denominator (Denom) to numbers which can be placed in the equation editor. This should allow you to use fractions with the equation editor.

Decimal = range(.01,.99,.01)
Fraction = fracs(Decimal*100,100)
Where = instr(Fraction,"/")
Length = len(Fraction)
Num = val(left(Fraction,where-1))
Denom= val(right(fraction,length-where))

Posted by: McGarrett Dec 30 2009, 01:33 PM
This is a very nice technique that works (of course) with both small and regular stacked fractions. This takes me back to programming many years ago.

I, too, was doing exactly what bdmosky was doing in order to get the cleaner, stacked fractions.

© FSCreations, Inc. (