192 points · by the-mitr · 5y ago · 133 comments
Recently, I was posting a preprint to arXiv. I intentionally removed a journal style, which changed the font to Times New Roman.
You may be alone in that. I think the general consensus is that Computer Modern is pretty horrible.
To any professional type designer, it's a terribly balanced font aesthetically, basically every letterform. It looks like a font designed by an engineer, not a designer who knows how to create and balance shapes and lines that are pleasing and easy to the eye. Which, of course, is exactly what it is.
Personally, Computer Modern is a little spindly for my taste (and eyesight). Computer Concrete, on the other hand....
I think a modern typeface (that is, one with contrast between thin and thick strokes among other things) is more acceptable on computers now that high-dpi displays are more common, but the resolution still isn’t perfect and that style isn’t so fashionable in most cases today.
Personally I dislike the shape of the lower case Roman t (the curl at the bottom is way too long and comes too high) and I dislike the italic u and v (as I can’t tell them apart). I think the serifs on the capital T come too low as well.
The wide array of mathematical symbols in latex don’t always go with the font and they can fail to go together well but that is a separate problem (many fonts won’t include them and the symbols weren’t all designed together.)
I wonder if Knuth himself would even agree. Open Concrete Mathematics next to a volume of TAOCP and see for yourself. It might not be a huge issue for a paper, but anything longer typeset in CM (like many PhD theses) could benefit from a better font. Even for math, there are pretty good alternatives nowadays.
I recently compiled a document, 20 years later, and find the font horrible.
I was probably used to computer modern and did not realize how awful it was. There were not tons of good fonts easily useable either, that could be another reason.
EDIT: Do you have any insight into why people still work on packages for type-1 fonts? Who still wants to use these, and why?
I guess this Knuth dude knows his stuff.
The problems with CM are twofold. First, it's an inconsistent and amateur remake of Modern, especially italics. The bowls and straight lines are different angles and widths. Second, the postscript converted version used on most platforms is weirdly, bizarrely thin compared to the original Modern, which does not make for a good reading experience.
I think the renderer has much more to do with the readability of a paper than the font. The combination of LaTeX and Computer Modern is certainly pervasive, but if I had to pick one variable, I would rather read papers using a different font but rendered in LaTeX, rather than a paper using a different renderer to lay out a Computer Modern font. For an example of the latter, take a look at this paper, rendered in Word, with Computer Modern font and some LaTeX-based margins and spacings:
I also think most of the dislike came from bad pdf rendering for a long time.
As a typeface aficionado I've spent way too much time building font catalogues such as this in the early 2000s; it's good to see that both quality and quantity of freely available fonts has gone up.
Me too. The formulas look so dark. Do you know of any typefaces where the mathematics and physics formulas look lighter, and, at least to some of us, less imposing?
On low DPI screens (e.g. 96 or even 144 DPI), Computer Modern feels too thin and spindly.
Recently, I came across the mlmodern (https://ctan.org/pkg/mlmodern?lang=en) font. It is a "heavier" version of Computer Modern and I use it for all my documents.
For example:
% From {\tt stsmith@ll.mit.edu}, 10 May 93.
% With |fillin=0|, the diagonal of {\tt cmtt10}'s `z' is too thin.
% |blacker=.8| too thin, 2 too thick.
mode_def docutech = %\[ Xerox 8790 or 4045 (600dpi)
mode_param (pixels_per_inch, 600);
mode_param (blacker, 1);
mode_param (fillin, .1);
mode_param (o_correction, 0.9);
mode_common_setup_;
enddef;I was supporting Xerox 8700 laser printers at the time and the settings for a write white printer inevitably caused errors for many characters until I was generating at least a .600gf file. I have vague recollections of the same issue coming up occasionally even when I was printing to a 1200dpi Compaq.
\setmainfont{EB Garamond}
\setsansfont{Myriad Pro}
\setmonofont{IBM Plex Mono}
No additional packages required!The editor also had zero familiarity with Linux / LaTeX (it was all QuarkXPress back then) and hence wasn't confident in the digital files produced by LaTeX and the converters (say ps2pdf etc.) so in the end a high quality print copy ended being flashed. So it was still a partly "analog" process even though the computer-to-plate age had already started.
Good memories.
since then, I wrote my resume, cover letter, and everything else with it
Results are beautiful and highly customisable
\usepackage{fontspec}
\setmainfont{Whatever your font's name is}
Especially you don't have to deal with installing old Type 1 fonts which is messy, especially when they are not included in your TeX distribution.You can also follow the instructions in the catalog which for some fonts show how to use them in pdfLaTeX, but these days pdfLaTeX mostly makes sense if you want to submit to journals which do not accept modern engines and such journals probably don't allow you to change the font anyway.
for example:
\usepackage{libertine}
or
\usepackage{kpfonts}
should get you going
I believe TeX actually solves a convex optmization problem to find the optimum inter-word spacing for each line while considering every line on the page. That's why you don't get those crazy large spacings in LaTeX that you sometimes see in Word.
Another slick trick is that latex (really, tex) lets you alter the weightings used in the optimization, paragraph by paragraph. And you can alter the weightings used in deciding where to put page breaks. You can also supply hints on hyphenation, for those rare cases in which the engine cannot decide what to do. (Note: the system adjusts hyphenation to the language, so e.g. those long words in German will be handled well.)
The optimization scheme is a large part of what makes tex so good. That, and the understanding of mathematical notation.
Anyone who wants to get insights into the early setup of tex might enjoy reading the following Knuth (1979). It's a very engaging read, for something that's technical. (Generally, Knuth is a great writer.)
References
Knuth, Donald E. “Mathematical Typography.” Bull. Amer. Math. Soc. (N.S.) 1, no. 2 (March 1979): 337–72.
Some of them didn't offer a link but you still can grab them from the CTAN repository. You would need to do navigate more to get the file. You can get the Type1 and AFM/PFM files (old font formats back in the day).You would need to convert those format to TTF/OTF because some software don't have support for Type1 and AFM/PFM files. You can convert them with FontTools (python).