# [IPython-dev] Markdown MathJaX and Serif

Fernando Perez fperez.net at gmail.com
Mon May 5 21:09:39 EDT 2014

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140506/c5271d5b/attachment.html>