[LON-CAPA-users] Math formulas are messy in MC choices

Justin Gray jgray at math.sfu.ca
Mon Mar 5 14:18:51 EST 2018


While this does not address your specific question adequately, you may find
the following help page to be relevant here:

https://loncapa.msu.edu/adm/help/Print_Tricks.hlp

Justin



Justin Gray | Senior Lecturer
Department of Mathematics | Simon Fraser University
8888 University Drive, Burnaby | V5A 1S6 | Canada
Tel: +1 778.782.4237



On Sun, Mar 4, 2018 at 1:03 PM, Seema Ali <sali at vsb.bc.ca> wrote:

> I have a question that has an image (of a graph) and multiple-choice
> options that contain Math equations to represent the graph. The equations
> are displaying really poorly in the Tex print out. Issues were:
>
>
> - it would do a word wrap of each option so I entered {} around the
> equation to prevent it from breaking the equation into more than 1 line.
>
>
> - It places the Math equation on a different line than the option A, B, C,
> .... So it looks strange.
>
>
> - It looks like it is not taking advantage of the full space of the page
> (1 column mode)
>
>
> I would like the Math equation to be on the same line as the option
> (A,B,C,...)  , not have an automatic word wrap and be able to have it look
> good in either horizontal mode or vertical mode.
>
>
>
>
> Below you can see that I didn't place the curly brackets around the first
> option and how it automatically breaks the line, even though there is space
> on the line .
>
>
> Any help is greatly appreciated.
>
>
>
>
>
> Below is the problem.
>
> <problem>
>     <img src="images/flag_num_x_cost_graph.png" TeXwidth="90"
> encrypturl="yes" />
>
>
>
> <startouttext />
> <br />What is the equation for the relation shown above?
> <endouttext />
>
> <radiobuttonresponse direction="horizontal" max="5" id="11"
> randomize="yes">
>     <foilgroup>
>         <foil location="random" value="true" name="foil1">
>             <startouttext /><m eval='on'>$\Large C = \frac{1}{2} N + 400\
> \ \ $</m><endouttext />
>         </foil>
>         <foil location="random" value="false" name="foil2">
>             <startouttext /><m>$\Large {C = N + 400}\ \ \ $</m><endouttext
> />
>         </foil>
>         <foil location="random" value="false" name="foil3">
>             <startouttext /><m>$\Large {C = \frac{1}{2} N}\ \ \
> $</m><endouttext />
>         </foil>
>         <foil location="random" value="false" name="foil4">
>             <startouttext /><m>$\Large {C = \frac{9}{10} N}\ \ \
> $</m><endouttext />
>         </foil>
>         <foil location="random" value="false" name="foil5">
>             <startouttext /><m>$\Large {C = \frac{9}{10} N + 400}\ \ \
> $</m><endouttext />
>         </foil>
> <foil location="random" value="false" name="foil6">
> <startouttext />
> <m>$\Large {C = 2N + 400}\ \ \ $</m>
> <endouttext />
> </foil>
>     </foilgroup>
> </radiobuttonresponse>
> <allow src="/res/sfu/sd39author/junior math/images/flag_num_x_cost_graph.png"
> />
> </problem>
>
>
>
>
>
>
>
> _______________________________________________
> LON-CAPA-users mailing list
> LON-CAPA-users at mail.lon-capa.org
> http://mail.lon-capa.org/mailman/listinfo/lon-capa-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20180305/0da9869c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedImage.png
Type: image/png
Size: 49257 bytes
Desc: not available
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20180305/0da9869c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SFU_2012_email_sig.jpg
Type: image/jpeg
Size: 8910 bytes
Desc: not available
URL: <http://mail.lon-capa.org/pipermail/lon-capa-users/attachments/20180305/0da9869c/attachment-0001.jpg>


More information about the LON-CAPA-users mailing list