5 ms·
Just no. CM font was made for printing. It was last updated in 1992, before PDF was even a thing. CM is not made for screens and it is a horrible idea to use it
by m000 5y ago
Just no. CM font was made for printing. It was last updated in 1992, before PDF was even a thing. CM is not made for screens and it is a horrible idea to use it on the Web.
> 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.
- wiz21c 5y agoI'm one of those undergrad students :-) What are the better, more current, ways of prepare, say, a thesis document with maths, pictures ?
- bluenose69 5y agoSpringer's sample document for monographs^1 and books contains \usepackage{newtxtext} \usepackage{newtxmath} for font setup. 1. https://resource-cms.springernature.com/springer-cms/rest/v1/content/20566/data/v10 https://resource-cms.springernature.com/springer-cms/rest/v1...
- m000 5y agoTBF, I was one too :-) 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. [1] https://ctan.org/pkg/plex-otf https://ctan.org/pkg/plex-otf
- fuklief 5y agoI'm using the following for fonts. \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[largesc]{newpxtext} \usepackage{newpxmath} \usepackage[supsfam=newpx]{superiors}
- Blikkentrekker 5y ago> Just no. CM font was made for printing. It was last updated in 1992, before PDF was even a thing. CM is not made for screens and it is a horrible idea to use it on the Web. 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.
- deleted 5y ago[deleted]
- Mediterraneo10 5y agoIt is not the case that treatment of spaces is completely wild and ad hoc. PDF can, and frequently does, contain the text itself along with the display of said text. This is why applications like pdftotext can often give you correct plaintext output. 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.
- aardvark179 5y agoActually what OCR programs do is a very clever hack. PDF is mostly just a way to describe how to render pages, and just like with any rendering frame work that can involve a bitmap, a set of stroke and fill commands, or some text rendering. A scanned document obviously is just a huge bitmap, but if you can identify the text, and can define a font that doesn’t draw anything, then you can add instructions to the PDF to render that text in that font and as long as you can specify character positions everything will line up nicely. 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.
- augstein 5y agoAlways the same objections, from the same people, when it comes to CM. 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.
- halikular 5y agoWorld wide the most used screen resolution is 1920x1080 at ~9% all other top resolutions is somewhere around 720p [1]. Even on desktop computers the top resolutions is 1920x1080 at ~21% followed by 1366x768 also at ~21% [2]. I still only use 1080p screens due to superior performance in games, refresh rate, battery life and that you don't have to deal with scaling issues. Things have changed since I bought them three years ago, but I don't need to upgrade. [1] https://gs.statcounter.com/screen-resolution-stats https://gs.statcounter.com/screen-resolution-stats [2] https://gs.statcounter.com/screen-resolution-stats/desktop/worldwide https://gs.statcounter.com/screen-resolution-stats/desktop/w...
- justaj 5y agoI can only offer my opinion and an image. I think CM looks terrible on dark backgrounds: https://0x0.st/-M8w.png https://0x0.st/-M8w.png (This is with the Dark Reader extension in Dynamic mode with these settings: https://0x0.st/-M8g.png https://0x0.st/-M8g.png)
- Syzygies 5y agoComputer Modern is the "plaid shorts" of TeX fonts. I profoundly admire all of Don Knuth's efforts, and I've had the pleasure of a number of conversations with him. He threw in the towel himself, recognizing that artists could design better fonts than computers. 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.
- sdgegdfg 5y agoIt's good that he threw in the towel. It takes a bit of a galaxy brain perspective to conclude that by being amateurish in his approach to font implementation with TeX/Metafont, Knuth was somehow being a more professional mathematician. 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 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.
- SeanLuke 5y ago> He could have delegated the design of the first font for his TeX system to a professional type designer. 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?
- sdfsefgsrgerg 5y agoBy 1980 Knuth was working with Hermann Zapf. So he was able to interest Zapf in his software essentially immediately. Knuth was a prestigious figure, so it's not a shock. Stanford students of typography and CS participated in the detailed production work on the font that was made with Zapf. It doesn't sound like funding was an issue. Sure, bootstrapping the TeX project would have been a bit more difficult if a font designer had been required from the start; on the other hand, maybe Metafont would have been a more successful font design system if type designers had been (more?) involved from the outset. "Zapf designed and drew the Euler alphabets in 1980–81 and provided critique and advice of digital proofs in 1983 and later. The typeface family is copyright by American Mathematical Society, 1983. Euler Metafont development was done by Stanford computer science and/or digital typography students; first Scott Kim, then Carol Twombly and Daniel Mills, and finally David Siegel, all assisted by John Hobby. Siegel finished the Metafont Euler digitization project as his M.S. thesis in 1985." It's worth noting, more generally, that Knuth himself has described a realization that he gets better results from delegating tasks than from "going it alone": "Some of you may recall that I wrote the entire program for TEX78 and TEX82 all by myself, and you may be wondering whether I’ve done the same for iTeX. Don’t worry: This time around I’m having the job done by people who know what they’re doing. After many years I’ve finally come to realize that my main strength lies in an ability to delegate work and to lead large projects, rather than to go it alone. Programming has never really been my forté for example, I’ve had to remove 1289 bugs from TEX, and 571 from METAFONT."
- dheera 5y agoCM isn't good for the web, but it is pleasing in print IMO. 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. https://fonts.google.com/specimen/Crimson+Pro https://fonts.google.com/specimen/Crimson+Pro
- joezydeco 5y agoIf I see a resume in CM I know that person will be back in grad school before I can finish onboarding them.