TeX fonts for the Web

I love the fonts that come out of LaTeX. However I’ve never seen sites displayed using the same fonts, so I wanted to find if it was available to put on a website.

TLDR; It looks like you can get a very close free font called Latin Modern Roman.

Self help

This meant a bit of self education to see if I could get the fonts on the web. Donald Knuth created a program Metafont to create the font which is called Computer Modern and is part of the AMS Type-1 fonts. However there doesn’t appear to be any direct web fonts (i.e. .eot + .otf + .woff + .svg) files for Computer Modern. The best I found was the Unicode otf font that you can download for windows.

Latin Modern

However one ‘Computer Modern woff’ search did bring up a monotype font Latin Modern Mono, which has in its notes:

The Latin Modern fonts are derived from the famous Computer Modern fonts designed by Donald E. Knuth and first published by the American Matematical Society (AMS) in 1997. One of the main extensions is the addition of an extensive set of diacritical characters, covering many scripts based on the Latin character set, mainly european, but not only, most notably Vietnamese.

Then its a short hop to the actual serif font (which doesn’t have those helpful notes, so you don’t find it on the internet). So I give you Latin Modern Roman the Computer Modern font for the web.

D’Oh

Of course now that I’ve found it, I’ve acutally spotted that there was a link in one of the first places I found, the wonderous stack exchange: http://tex.stackexchange.com/questions/131606/whats-the-font-used-in-the-environment-align-and-packages-amsmath-amsfonts . I’d just followed the first Unicode link instead of reading further.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s