Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I hated the look of LaTeX documents when I first started university, especially the font. I don't know what happened, but I eventually fell in love Computer Modern. Something about it just looks great. Maybe it's just Stockholm Syndrome.


The problem is that it's much too thin and therefore hard to read on computer screens. I'm sure it looks great on paper printed with the old Xerox laser printers that were around when it was made, but in its current form it's just way too thin to be read on a screen.

Someone on a German forum made a wider version of it which (imo) looks much better [1].

[1] https://www.typografie.info/3/topic/22238-ist-die-computer-m... Translated: https://translate.google.com/translate?sl=de&tl=en&u=https%3...


I strongly agree on the “too thin” point. On screen I find it an awful font, almost as bad as half the 300-weight sans-serifs too many people love to use on their websites. Computer Modern does look better printed, especially on less-accurate printers that thicken what they print.

Related: the serif font Equity comes in two grades to compensate for such types of printers (though both grades are thicker than Computer Modern), and discusses the rationale for this feature: https://mbtype.com/pdf/equity-type-specimen.pdf#page=5


I had no idea one could link directly to PDF pages. Thanks for the tip!


Chrome & other browsers have had PDF reading capabilities for a long, long time. I actually can't remember a time when you couldn't view a PDF inside Chrome/Firefox.

You might also be interested to know that Google indexes PDFs. For example: https://www.google.com/search?q=graph+theory+pdf


I think they were referring to the #page=5 part of the URL.


Yes, that's exactly what I meant.


Ohhh, that makes a lot of sense -- sorry if my comment came off as patronizing.


Use "filetype:pdf" in the search to get PDF files only, not mentions of them.


My recollection is that Computer Modern didn't look very good on old laser printers, as their resolution just wasn't high enough to handle the detail of the glyphs. It was crafted for digital phototypesetting systems with a resolution of 1200dpi or more, and 300dpi laser printers couldn't do it justice.


It depended on the laser printer. It's funny that the poster mentioned Xerox laser printers in particular because cm looked especially bad on them: There were two competing approaches to laserprinting. One was write black where a laser was used to add charge to the parts of the drum that should be black. The other (used by Xerox and perhaps others) was write white where the whole drum was charged and the laser was used to remove charge from the parts that should be white. In either case, the pixel was a little bigger than the actual 1/300in x 1/300in square that was to be drawn so it resulted in CM coming out even more spindly on write white laser printers. Neenie Billawalla came up with a modification to the MF source code for CM to allow for increasing the darkness of the fonts as well as some other fine-tuning. (https://tug.org/TUGboat/tb08-1/tb17billawala.pdf)

As I recall, there were occasional other issues with running MF on the CM sources at low resolutions and it was often necessary to just tell MF to continue at the error prompt to generate the font (when Tom Rokicki's dvips incorporated auto-running MF to generate missing PK files for specific resolutions, I think it ran it with a default setting of ignoring errors).

Those 1980s Xerox laser printers were real beasts. The 87xx/97xx series printers were prone to rolling over (crashing) on TeX print jobs since downloading fonts to the printer was not fully supported. The first dvi driver for the Xerox printers actually required pre-installing font sets on the printer and only certain combinations of fonts could appear in a single document. I don't think the 27xx series printers were ever capable of handling TeX output.


The heavier version looks better, but this involves messing with Metafont, which generates bitmaps. (And sadly his sample PDF links have died.)

I don't know of a way to heavier outline fonts. I believe the commonly used versions aren't in fact derived smoothly from Metafont, but either fitted to the bitmaps, or drawn by hand over them. That would have been a good time to correct this sad mistake.


This is why I always change the font to times


Same, except instead of falling in love with Computer Modern, I went "oh hey, XeLaTeX lets me use fonts in a sane way" and started typesetting with modern OpenType fonts instead. So I'd argue there's at least a good chunk of Stockholm syndrome there.


Same. I particularly like Linux Libertine, enough so that I make Firefox use it everywhere, even (especially?) where the page designer wanted sans.

Sadly, mobile Firefox does not support that, so HN on Android is relentlessly sans.


Even if the UI is not exposed, it’s all there in about:config and should work:

browser.display.use_document_fonts = 0

font.name.serif.x-western = Linux Libertine

font.name.sans-serif.x-western = Linux Libertine


Thank you, I had already done that. (Well, "Droid Serif".) For some reason it has no visible effect.

I never got the "Linux Libertine O" fonts to work in my phone. I suspect it doesn't like the file format.


I think it's because the font is correlated with higher-than-average quality for random docs one finds on the web.


Very true -- interesting when the barrier to using the tool signifies a certain level of professionalism and investment in wanting the paper to look and read right.

However, there is a part of the curve where random failed grad student and retired professors become conspiracy cranks and email you half-baked theories about the shape of the universe, typeset in Latex -- and those get through the filter unfortunately.


Many cryptocurrency “whitepapers” take advantage of the trust for this format


This psychological baggage was precisely why I chose it for body copy on my blog. It’s a sort of an intellectual dogwhistle.


I think a lot of people go through a life cycle of Computer Modern. I originally was indifferent, but once I learned LaTeX I used it since it was the default and it signaled to people that I knew LaTeX. Now I prefer Utopia/Fourier instead. Computer Modern seems to "thin", in my opinion, but I still use it on occasion. Some colleagues of mine really love it, though.

I can see why some people like it since it's the default font for a lot of technical documents and seeing it often signifies a certain level of "quality". The documents generally look better than Word documents, for example. Moreover, if an author took the time to learn LaTeX, it is easy to assume that they know what they are talking about. This is a form of "honor by association" (opposite of guilt by association fallacy).

Relevant XKCD:

https://xkcd.com/1301/


Nice! https://tug.org/FontCatalogue/utopia-fouriermath/ I've been away from TeX/LaTeX typesetting for a long time. That's immediately appealing.


I loved Computer Modern till I read your post. Now I wanna move to Fourier for good - thanks for that!


Maybe have a look at XeLaTeX (the unicode-by-default LaTeX), which lets you just use any modern font you have installed, using normal syntax.


Does the arxiv accept xetex yet? That's one constraint which kept me away.


If it doesn't, someone needs to raise a stink. It's been in TeX Live for over a decade now, there is no excuse for not supporting it.


Officially? No.

> Anything that relies on something other than TeX or (PDF)LaTeX will fail. At this time arXiv does not support processing with: XeTeX and its variants including LuaTeX, LyX, or PDFTeX. [0]

However, you'll frequently see papers with:

> Comments: PDF file generated using XeLaTeX/XeTeX.

Such as [1], where the author would prefer submitting a PDF-only than jump through the hoops to make it work under standard LaTeX.

[0] https://arxiv.org/help/faq/mistakes

[1] https://arxiv.org/abs/1410.4830


I use XeLaTeX! Just wasn't aware of Fourier and Utopia.


I feel the same way. I had a good laugh at your Stockholm Syndrome comment!


I hate the lack of composability of LaTeX code. What works in one environment may just break in another.


I don't care for Computer Modern serif, but I have a soft spot for Computer Modern Sans Serif [1].

It's the default font in Beamer, and I find when I make it the default font for non-serious publications, it looks really clean and modern. I especially like its rounded edges -- makes it look Web 2.0ish.

[1] https://tug.org/FontCatalogue/computermodernsansserif/


I disliked Computer Modern enough that after experimenting with various free fonts, I actually purchased Michael Spivak's MathTime Professional 2 Complete fonts, and then I use a nice Times-like font.

https://pctex.com/mtpro2.html


Michael Spivak absolutely loathes CM. I remember trying to make the case for at least a few characters of the design to him poolside during one of the 80s TUG conferences and he wasn't having it.


Me too. I particularly hated the lowercase 'x'. Today, I get triggered like a Pavlov's dog just by seeing LaTeX fonts.


The font looks god awful on my screen. Changing everything to Roboto in the linked page made it 100x more pleasant to read.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: