[IPython-dev] Markdown MathJaX and Serif

Sylvain Corlay sylvain.corlay at gmail.com
Tue May 6 14:58:55 EDT 2014


Hi Fernando,
Thank you for your reply. In the versions of Latex/Beamer that I have used
lately, the default math fonts are sans-serif, but I don't know whether
this is a recent change. I have looked into a few threads on MathJax and
their seem to be a few tricks to get sans-serif fonts in MathJax but indeed
it is not really supported.
Best,
Sylvain



On Mon, May 5, 2014 at 9:09 PM, Fernando Perez <fperez.net at gmail.com> wrote:

> To the best of my understanding and some rather hasty googling, mathjax
> doesn't provide sans-serif mathematical fonts.
>
> I'm also pretty sure that in Beamer, in most themes even though it uses
> sans-serif CM variants, it still renders the math using serifed CM (or at
> least it used to years ago). You have to switch to special packages to get
> sans-serifed math, such as the cmbright one.
>
> In summary, the business of getting proper sans-serif math rendering is
> highly non-trivial, and ultimately it's a question for the MathJax lists.
> If mathjax supports it, we can too simply because we use unadulterated
> mathjax. But if it's not something that mathjax can do by itself, IPython
> isn't going to help...
>
> Cheers
>
> f
>
>
> On Tue, May 6, 2014 at 12:44 AM, Sylvain Corlay <sylvain.corlay at gmail.com>wrote:
>
>> Hi all,
>>
>> We traditionally use sans-serif fonts for text meant to be displayed on a
>> screen while serif is generally used for print. For example, default
>> latex-beamer themes use sans-serif flavors of the computer modern font.
>> Shouldn't Mathjax do the same, especially in the context of the IPython
>> notebook, where the default fonts for markdown are sans-serif?
>>
>> Best,
>> Sylvain
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>>
>>
>
>
> --
> Fernando Perez (@fperez_org; http://fperez.org)
> fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
> fernando.perez-at-berkeley: contact me here for any direct mail
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140506/fc17e3de/attachment.html>


More information about the IPython-dev mailing list