The top row is text-mode (your browser’s version of Times or a substitute), the bottom row is math-mode (a rendered SVG image by ). See how this turns out for yourself:Ī b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 This is then combined with the newtx-package on the -side, so now text and math use the same font (at least theoretically). Now I switched the main body text to Times, or whatever the browser’s default serif font is. But CM Bright also has issues, for example it is hard distinguish lowercase l from uppercase I, and some of the generated SVGs do not render correctly, especially if they are images of single letters. CM Bright is one of the few sans-serif fonts in that has full math support. In order to mitigate this, I previously found Computer Modern Bright as an alternative font (see the old announcement post) that is a better match with Helvetica. So with standard settings, there was always going to be a font mismatch between text and math. But while WordPress uses a default sans-serif font (it explicitly prefers Helvetica but also accepts any lookalike) the default font in is usually Computer Modern, a completely difference typeface. This post is a quick annoucement that I changed the main text and math fonts and hopefully for the better.īackground: This blog runs on WordPress, using an almost vanilla TwentyEleven theme and using the QuickLaTeX plugin for math typesetting.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |