Using Computer Modern on the web (2013)
checkmyworking.com
checkmyworking.com
> It's so good-looking that some scientists do research just so they can write it up in Computer Modern.
It's more like "undergrad students use it in their papers because they don't know better". The only Computer Science publications I'm aware of that still use CM are the Springer LNCS/LNAI series. Which also happen to still use a template optimized for printing the proceedings as books. And AFAIK, these templates are universally hated and considered archaic and outdated: They look bad everywhere (screen, A4 printout, letter printout) except the Springer-printed paper volume.
\usepackage{newtxtext}
\usepackage{newtxmath}
for font setup.1. https://resource-cms.springernature.com/springer-cms/rest/v1...
FWIW, for non-math, single column text, LuaLaTeX + plex-otf [1] is my current favourite combo. Reads well both on screen and on paper. But if you are heavy on math, you will need to setup a second font to replace CM in the math formulas. You can also scout the top conferences/journals in your niche (i.e. where your prof. publishes) and pick a template you like. The templates are typically linked with every CfP, and you can expect that they will have worked-out the common cases for their field.
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[largesc]{newpxtext}
\usepackage{newpxmath}
\usepackage[supsfam=newpx]{superiors}The same can be said about P.D.F. files.
I recently found out why so often when copying from them, spaces are either inserted doubly, or removed: the reason is that the format has no understanding of spaces, only of distance between characters and is completely about præsentation, lacking semantics in any way.
When copying, the reader simply applies a heuristic of what distance between characters constitutes a space, and is often wrong.
OCR applications are able to make PDFs from scanned images accessible and searchable (and with the right spaces) precisely because they embed their output into that layer of the PDF meant for the text itself, not its presentation.
If you are generating a PDF with text you can render a string with spaces and let the glyph layout sort it out, or render individual characters, or draw those characters by hand and use the invisible font trick (because your font is not licensed for embedding). It’s not that you’re using different conceptual layers of the PDF, you’re just choosing how to render your content.
I think there's just a bunch of history here--print is the use case that you really want PDF to get correct, and so you take existing print pipelines which discard semantics and add PDF as a new backend. This is the easy/lazy way to get PDF working, and there are also tons of PDF pipelines are just stapled onto the end of a print pipeline as if PDF were another type of printer.
You'll see a night and day difference between one of those pipelines and something more suited to processing a document with semantics, like FrameMaker. FrameMaker seems to be a bit more niche now that print documentation is less mainstream.
I can understand why the PDF ecosystem is a bit frustrating, but I still prefer it when I'm reading academic papers explaining some algorithm or mathematical concept.
When the alternative is that they don't offer a non-proprietary export format at all, I'll take it. Even a poor PDF output is better for data portability than having your data forever trapped in a proprietary platform that can disappear or get discontinued at any time without a migration path.
Accepting a potentially inferior machine-readable plaintext when copy and pasting is the price we pay for having something like that available.
It's mostly just subjective nowadays, just like your whole 'argument'.
I think it looks great on high res displays, which should cover a huge chunk of all consumer displays used today.
[1] https://gs.statcounter.com/screen-resolution-stats
[2] https://gs.statcounter.com/screen-resolution-stats/desktop/w...
(This is with the Dark Reader extension in Dynamic mode with these settings: https://0x0.st/-M8g.png)
To excel at math requires focus. When I see Computer Modern I see an author who didn't get distracted choosing a better font. Not just undergraduates.
We need to accept that Knuth was an amateur type designer who was genuinely preoccupied with fonts (“I can’t go to a restaurant and order food because I keep looking at the fonts on the menu.” — Donald Knuth https://twitter.com/TeXtip/status/1389329788628783104). He could have delegated the design of the first font for his TeX system to a professional type designer. He didn't.
Knuth started work on TeX's fonts about the same time that he began work on TeX and Metafont (1977-78). CM was largely completed by about 1984-86. He was a computer science professor. I'm not aware of any funding he procured to develop TeX. You're saying he had the financial resources to hire a professional type designer for fonts for an academic publishing system of unknown future?
I do agree though it has been abused a lot as a status symbol. Back at MIT, having a resume in CM spoke "I come from a science/engineering background" right off the bat, while having a resume in a Microsoft font spoke "I go to the business school".
If you move away from CM, great, there are lots of better web-friendly fonts, but don't go to TNR for f*ck's sake. TNR is awful. Unfortunately some publications have gone down this hole.
I like Crimson Pro of late. It looks VERY pleasing on mobile LCD/LED and e-Ink screens, has the effect of making your device feel like a quality printed book, and has a full selection of weights.
Too much stretched vertical emphasis, feels unbalanced and depressing to me.
Knuth designed in a "blacken" factor and gave instructions how to tune it to your specific printer.
Because the correct amount is dependent on your printer and its printing technology. Ink tends to blur a bit, for example.
There are font files around that try to make CM a bit more correct on typical printers today, but most people don't know about it and are using some bad default CM.
Amusingly enough, this is basically "The Renaissance" done in a short time; just as they perceived the "Greek" style as bare marble statues and buildings which never actually existed.
https://youtu.be/pU4jnSVfZsI?t=188
(left side at the time marker is the original Gamegear screen, right is a mod with a modern screen)
Oh, found one of a Nomad with the original screen:
https://www.youtube.com/watch?v=9j0mXNb6YPk
Similar. A little less washed-out, but still not what we think of when we think of the precision of a modern LCD.
As I recall, LCD PC monitors until some time into, I dunno, maybe '05 or so, were regarded as almost always worse than CRT monitors in practically every way[0], including picture quality. Better than a typical consumer tube TV, maybe, but even some of those produced a crisper picture than a lot of LCDs, especially tiny low-power ones like that (the Sony Wega comes to mind)
[EDIT] [0] Practically every way except size & weight, I mean, obviously, and despite crushing CRTs on that front, were pretty unpopular due to being so much worse otherwise.
This is the initial reason. It persists because it is part of the shorthand filmmakers use to estimate time from text. A page of screenplay translates to about a minute of screen time. That conversion is deeply ingrained in Hollywood. Everyone will look at the page count of a screenplay and make assumptions about the running time of the resulting film.
If you change the font metrics, that conversion breaks and it would confuse the hell out of everyone. And if different screenplays (or different drafts of the same one) use different metrics then you lose the ability to compare their length just using page counts.
It's important to remember that screenplays are real physical working artifacts. In the production of a film, people will be carrying around dog-eared copies of it. The director will say things like, "We're going to try to get through three pages today." Pages are a real concept, not just an arbitrary subdivision of a continuous string of text.
Also the font is part of film culture at this point. Using a different font would convey that you are an outsider or don't care about the norms and history of cinema. It's exactly how when you see a page set in Computer Modern you think, "Ah, this is a real CS paper." A screenplay not set in Courier would look like a fraud.
If it makes you feel better, John August has a slightly more modern font that preserves the exact metrics of 12 point Courier:
But there's also an annoyingly performative aspect to it, at least in Economics. Using a recognisable LaTeX font carries an implicit "look at me: I'm smart and technical enough to use LaTeX".
One result of this is that almost every Economics presentation you see is done with Beamer; which lends itself to dense text, bullet points and equations; which are almost never the best way to present your work.
I don't think that has anything to do with Beamer. That's how economists present for some horrible reason. When I was on the job market about 20 years ago, the overhead projector was the only tool universally available for presentations, and I had a couple people comment that my work would be discounted by some because it was too easy to understand. That was back when I mistakenly thought the point of the presentation was to explain my research.
I think that’s what drove the defaults of PowerPoint, with its white text on a dark blue background (see https://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=... for arguments as to why that’s good for slide projections. I think it also minimizes contrast differences between typical “medical conference” photo and text slides. That’s important in a darkened room , which they had to use because projectors weren’t bright enough yet.
Haha, either they discount it because they understood it, or they respect it but don't know it. In either case, it's like they never saw the presentation.
Making things easier on the other hand is liberating, but sadly comes at a cost (people might start thinking you only do trivial work)
So it’s fair to say that CM is a tech demo, not a professionally designed font.
Font designer Jonathan Hoefler has commented on Metafont: “Knuth's idea that letters start with skeletal forms is flawed.” When the fundamental design premise is wrong, you get something like Computer Modern.
This is a critique of Metafont, not Computer Modern. And interestingly, Knuth et al eventually reached the same conclusion; as I recall, most letters in Computer Modern are drawn as outlines and then filled in (instead of being drawn in a few strokes with a broader pen).
I think Hoefler phrased his comment well; the idea is flawed, not necessarily wrong outright. Letterforms derive from historical constructions: the uppercase roman letters from Roman square capitals, which were carved; lowercase from humanist miniscules (from carolingian miniscules), written by pen; &c. So in some sense, some letters do start with skeletal forms, but: when letters were adapted to print, the punches (the "master copies") for letters were made by engraving and by using counterpunches (reusable tools that create particular shapes of negative space in the letter). And that's where metal (and digital) type comes from; pens and styli are more distant ancestors.
[I'd highly recommend the book Counterpunch by Fred Smeijers on this topic!]
[Also, it's fun to look at some of the Arrighi italics from the early 16th century. They are astonishingly modern – compare it to, say, a heavier weight of Minion italic, one of the most popular typefaces used in books today!]
Anyway, on to Computer Modern. It's not my favorite Scotch roman, but take a look at engineering and mathematics books from the 1940s and 1950s for comparison. I have several books from the McGraw-Hill Electrical and Electronic Engineering Series, and they're really, really lovely, and the type is eminently readable on the printed page; here's a (somewhat poor) scan of one of them:
https://archive.org/details/Vacuum_Tube_and_Semiconductor_El...
While it's true that Knuth is a computer scientist rather than a typographer, he has worked pretty closely with typographers. And in creating CM, he relied heavily on pre-existing (and professionally designed) Monotype fonts as a model. (See for example https://www.myfonts.com/fonts/mti/monotype-modern, which looks quite reminiscent of CM.)
Computer Modern is not to many people's taste today, partly because it doesn't reproduce all that well at low resolutions, but also, I think, because it is an older style that is now out of fashion and not commonly seen.
(The term "Modern" for this type of design dates from the 1800s -- see https://www.toptal.com/designers/typography/typeface-classif... -- so it's hardly surprising that "modern" faces like Bodoni or Monotype Modern or CM feel rather old-fashioned today!)
In all cases, Knuth is not a font designer so it's not shocking that the font isn't as nice as something like Arno.
E. Allen Emerson, later Turing Award recipient, comes knocking at the door of the Unix cave[1] and demands to know why we changed all the fonts and made his papers look different. No one had changed the fonts---the department had replaced the printers. CMR is wildly different at 600dpi from 300dpi.
Personally, I never really liked Computer Modern mostly because the variation in stroke widths was too great. The thin strokes just look spindly. Personally, I much prefer Computer Concrete, which looks horrible in the samples on the web page.
[1] Where UTCS' Unix sysadmins live.
I think that Computer Modern is OK for print; it is not so good for screen. (However, it does have better kerning than some screen fonts.)
I'll also note that Terry started his site a long time ago, when mathjax either didn't exist or worked poorly. He's used the same latex2html compiler for a long time (as it isn't broken), but the images are pretty silly. Now it's pretty straightforward to make a simple math site [1] (in the style of the bettermotherfucking website [2]).
[1]: https://davidlowryduda.com/static/simplemathpage.html [2]: http://bettermotherfuckingwebsite.com
As for now my fonts of choice are Bookerly and Atkinson Hyperledgible.
Because from my experience they make it easier on my eyes. Noticably so.
I would set them asap as global font in Win10 if this would be possible.
Please note, that I haven't said anything about style or beauty or so. Ergonomics first. CM is not even close to what I want from a font.
(I would strongly recommend making a backup of those keys first.)
Most people who use CM are interested in math fonts.
There's just something very wrong about the glyphs, the relative widths of letters, and the way that some of the letters get sort of squished together to make the text nearly unreadable.
I remember way back in the 1990's when I had to get an approval from the head of our department to submit my thesis in another font because I refused to use CMR.
But I'm really glad someone mentioned the Monotype 4-line system! Two papers come to mind that might be worth sharing, which I thought were really enjoyable and well-done:
https://typeculture.com/academic-resource/articles-essays/th...
http://ultrasparky.org/school/pdf/DanielRhatigan_Dissertatio...
At uni, a friend and I spent ridiculous time 'perfecting' a few Latex documents for minor assignments, so that when handed over to the senior and cool infosec crowd supervising us would give it a quick glance, followed up by a “Is that latex? Looks good.”. Ironic detached praise and humbleness commenced. “It's alright I guess, sure”.
I don't think anyone was ever fooled into believing it was anything more than a play on a shared hacker appreciation. Of making the effort for no reason but it being harder than all the sane alternative ways of producing a document (I'm not a mathmaticians).
Computer Modern gives me the same feeling. The font not being a modern font is a useful feature if it supports what you want to say. It has enough character that the idea of people using it by accident feels unlikely. People who doesnt's care seem to prefer sans-serifs.
I don't find it strange that CM being so intertwined with the tools used by people who requires typesetting, not word processing, would find that there is a level of shared convention. Based on pragmatism or even aesthetics. As someone wrote in this thread,
> “When I see Computer Modern I see an author who didn't get distracted choosing a better font.”
If we're looking back, there are loads of fonts that literally couldn't have been designed with screens in mind, as screens weren't a thing. I don't that as a reason to dismiss their continued use by whoever see their purpose.
Disclaimer: IBM 3270 everything. Computer Modern when celebrating.
Windows + Chromium + ~200dpi display, default (1.5x) display scale
EDIT no wait, I see what has happened. It has turned the emphasised text into double-italics, instead of de-italicising it. Yuck.
Yes, the @font-face rules for that family have 'font-style: normal', whereas they should really have 'font-style: oblique' which would have avoided that ugliness.
It's a sort of cheeky stylistic hack, in my view, as CM adds a particular feeling to reading text set in it based on the contexts in which it otherwise appears. This is why I chose it, back in 2015 when I designed the current iteration of my website.
I thought I was being super clever, and only learned in the last year or so that CM on the web is A Thing.
Also the font metrics are off the "w" and "e" in "weird" are too close for comfort on the web. TeX has a complex algorithm to justify text for print and maybe it looks better in that context.
https://en.wikipedia.org/wiki/Concrete_Roman
(Not, of course, to be confused with Roman Concrete: https://en.wikipedia.org/wiki/Roman_concrete.)
I doubt many CS papers are written in Word, and I doubt many.. I don't know, archeology reports are written not in Word.
For one thing, it still can't make hyphenations correctly, it doesn't allow you to use small caps correctly, and I don't think it has support for lower case/old style letters.
All in all no big issues unless you are happy with documents that just look of.
I don't do hyphenation or full justification in Word so I can't speak to that, but despite being a long-time LaTeX user, for most of my writing, I prefer working in Word (not least of why is that it's the expected format for most non-technical writing which is the majority of my writing).
¹ I assume that you meant numerals and not letters.