[LON-CAPA-admin] Best practice for latex math entry?

Kortemeyer, Gerd kortemey at msu.edu
Tue Jan 15 16:18:05 EST 2019


Hi,

Yes, you need the LaTeX math delimiters, i.e., $ ... $, $$ ... $$, \[ ... \], \begin{equation} ... \end{equation},  \begin{eqnarray} ... \end{eqnarray}, or the asterisk-forms of the latter two.

The <m> just gets you into LaTeX mode, not yet LaTeX’s various math modes. You would also have problems with LON-CAPA’s internal PDF generation (“Print”) if the delimiters are missing.

Cheers,

- Gerd.

--
Gerd Kortemeyer
http://www.msu.edu/user/kortemey/

On Jan 15, 2019, at 15:46, Lucas, Mark <lucasm at ohio.edu<mailto:lucasm at ohio.edu>> wrote:

Nathan,

My understanding is that proper LaTex is
<m>$y=x^2$</m>

Another option for something of this simplicity would be the algebra tag:

<algebra>y=x^2</algebra>

The algebra tag may simply do the same as <m>$  $</m> under the hood.
I’m not sure.

Mark

On Jan 15, 2019, at 3:24 PM, Moore, Nathan T <nmoore at winona.edu<mailto:nmoore at winona.edu>> wrote:

Which of these is best practice when it comes to typesetting math in a loncapa problem

<m>$y=x^2$</m>
Or
<m> y=x^2 </m>

Or something else?

I have a few students for whom the second form doesn't seem to render properly

--- --- --- ---
Nathan Moore, PhD
Physics, Winona State University
_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org<mailto:LON-CAPA-admin at mail.lon-capa.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dadmin&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=eJriEjbucRYp5T72QIzOAQ&m=ScSHEMg-pmgzQzKMo4G_ZPgVgb6nYPIyK2YSAm9d49Q&s=PESahT4dgPsdj5DipybPxtZid3gbCY9ZSuoW_rxj4tI&e=

--
Mark Lucas                                email: lucasm at ohio.edu<mailto:lucasm at ohio.edu>
252D Clippinger Lab                        phone: (740)597-2984
Department of Physics and Astronomy            fax: (740)593-0433
Ohio University
Athens, OH 45701

_______________________________________________
LON-CAPA-admin mailing list
LON-CAPA-admin at mail.lon-capa.org<mailto:LON-CAPA-admin at mail.lon-capa.org>
https://urldefense.proofpoint.com/v2/url?u=http-3A__mail.lon-2Dcapa.org_mailman_listinfo_lon-2Dcapa-2Dadmin&d=DwIGaQ&c=nE__W8dFE-shTxStwXtp0A&r=eJriEjbucRYp5T72QIzOAQ&m=ScSHEMg-pmgzQzKMo4G_ZPgVgb6nYPIyK2YSAm9d49Q&s=PESahT4dgPsdj5DipybPxtZid3gbCY9ZSuoW_rxj4tI&e=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.lon-capa.org/pipermail/lon-capa-admin/attachments/20190115/dbaa83fc/attachment-0001.html>


More information about the LON-CAPA-admin mailing list