4 ms·
There are the Tex Gyre fonts, but part of what makes Computer Modern in LaTeX look so good is the typesetting quality. I believe TeX actually solves a convex o
by queuebert 5y ago
There are the Tex Gyre fonts, but part of what makes Computer Modern in LaTeX look so good is the typesetting quality.
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.
- maxnoe 5y agoOne Paragraph, not the whole Page afaik
- leephillips 5y agoThere are whole-page optimizations as well. For example, to avoid clashes in color between adjoining paragraphs.
- red_trumpet 5y agoAlso hyphenation helps with avoiding large spacings.
- bluenose69 5y agoIf you employ the `microtype` package, latex will also be able to make adjustments to inter-letter spacing. This can improve results by evening out the "weight". The results are subtle, though -- nothing like the huge improvements that result from switching from msword to latex. 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.