Computer Modern
{{Short description|Family of serif typefaces}}
{{Infobox font
| name = Computer Modern
| creator = Donald Knuth
| foundry =
| creationdate =
| style = Serif
| classifications = Didone
| image = Computer Modern Sample.svg
| license = SIL Open Font License
| sample = Image:Computer modern sample.svg
}}
Computer Modern is the original family of typefaces used by the typesetting program TeX. It was created by Donald Knuth with his Metafont program, and was most recently updated in 1992.{{cite web |url=http://www-cs-faculty.stanford.edu/~uno/cm.html |title=Knuth: Message about TeX fonts |publisher=Cs-faculty.stanford.edu |access-date=2015-06-12 |archive-date=2015-05-20 |archive-url=https://web.archive.org/web/20150520171917/http://www-cs-faculty.stanford.edu/~uno/cm.html |url-status=dead }} Computer Modern and its variants remain very widely used in scientific publishing, especially in disciplines that make frequent use of mathematical notation.
Design
File:Clarendon comparison with body text faces.png type. Its direct inspiration, Monotype Modern, is at top; similar typefaces of the era included Century, Excelsior and Clarendon.]]
Computer Modern is a "Didone", or modern serif font, a genre that emerged in the late 18th century as a contrast to the more organic designs that preceded them. Didone fonts have high contrast between thick and thin elements, and their axis of "stress" or thickening is perfectly vertical. Computer Modern was specifically based on the 10 point size of the American Lanston Monotype Company's Modern Extended 8A, part of a family Monotype originally released in 1896.{{cite book|author=Donald Ervin Knuth|title=Computer Modern Typefaces|url=https://books.google.com/books?id=CwdUAAAAMAAJ|year=1986|publisher=Addison-Wesley Publishing Company|page=10|isbn=978-0-201-13446-9}}{{cite book |title=The Monotype Specimen Book of Type Faces |date=1922 |publisher=Lanston Monotype Machine Company |location=Philadelphia |url=https://archive.org/details/monotypespecimen00lansrich |access-date=17 August 2018}} This was one of many modern faces issued by typefounders and Monotype around this period, and the standard style for body text printing in the late nineteenth century.{{cite book |last1=Williamson |first1=Hugh |author-link=Hugh Williamson (book designer)|title=Methods of Book Design |date=1956 |publisher=Oxford University Press |location=Oxford |pages=96–8 |quote=Throughout the first half of the 19th century, modern faces held the typographic field against nearly all comers. Not all typefounders and punch-cutters were very enthusiastic about this kind of type-face, but the popular demand had to be met.}}{{cite book |last1=McGrew |first1=Mac |title=American Metal Typefaces of the Twentieth Century |date=1993 |publisher=Oak Knoll Press |location=New Castle |isbn=0-938768-39-5 |pages=220–221|quote=In the early 1900s Monotype adapted a number of modern roman text faces to its system, mostly in a few small sizes only; some of them differ from each other only in slight changes of their proportions. |edition=Seconde édition révisée.}}
In creating the TeX publishing system, Knuth was influenced by the history of mathematics and a desire to achieve the "classic style" of books printed in metal type.{{cite journal|last1=Knuth|first1=Donald|title=Remarks to Celebrate the Publication of Computers & Typesetting|journal=TUGboat|date=1986|volume=7|issue=2|pages=95–8|url=http://www.tug.org/TUGboat/Articles/tb07-2/tb15knut.pdf|access-date=24 September 2015}}{{cite web |last1=Knuth |first1=Donald |title=Commemorative lecture of the Kyoto Prize, 1996 |url=https://www.kyotoprize.org/wp/wp-content/uploads/2016/02/12kA_lct_EN.pdf |archive-url=https://web.archive.org/web/20180127194502/http://www.kyotoprize.org/wp/wp-content/uploads/2016/02/12kA_lct_EN.pdf |url-status=dead |archive-date=27 January 2018 |publisher=Kyoto Prize |access-date=18 August 2018 }} Modern faces were used extensively for printing mathematics, especially before Times New Roman became popular for mathematics printing from the 1950s.{{cite web|last1=Rhatigan|first1=Daniel|title=Three typefaces for mathematics|url=http://ultrasparky.org/school/pdf/DanielRhatigan_Dissertation.pdf|publisher=University of Reading (MA thesis)|access-date=2 February 2016}}{{cite book| url=https://archive.org/details/printingofmathem0000chau/ |url-access=registration| first1=T. W. |last1=Chaundy |first2=P. R. |last2=Barett |first3=Charles |last3=Batey |title=The Printing of Mathematics |publisher=Oxford University Press |year=1954 }}{{cite web |last1=Rhatigan |first1=Daniel |title=The Monotype 4-Line System for Setting Mathematics |url=http://typeculture.com/academic-resource/articles-essays/the-monotype-4-line-system-for-setting-mathematics/ |website=Type Culture |access-date=17 August 2018}}
The most unusual characteristic of Computer Modern, however, is the fact that it is a complete type family designed with Knuth's Metafont system, one of the few typefaces developed in this way. The Computer Modern source files are governed by 62 distinct parameters, controlling the widths and heights of various elements, the presence of serifs or old-style numerals, whether dots such as the dot on the "i" are square or rounded, and the degree of "superness" in the bowls of lowercase letters such as "g" and "o". This allows Metafont designs to be processed in unusual ways; Knuth has shown effects such as morphing in demonstrations, where one font slowly transitions into another over the course of a text.{{cite journal|last1=Knuth|first1=Donald|title=The Concept of a Meta-Font|journal=Visible Language|date=1982|volume=16|issue=1|pages=3–27|url=https://m-u-l-t-i-p-l-i-c-i-t-y.org/media/pdf/The-Concept-of-a-Meta-font.pdf|access-date=21 September 2023}} While it attracted attention for the concept, Metafont has been used by few other font designers; by 1996 Knuth commented "asking an artist to become enough of a mathematician to understand how to write a font with 60 parameters is too much"CSTUG, Charles University, Prague, March 1996, Questions and Answers with Prof. Donald E. Knuth, reproduced in TUGboat 17 (4) (1996), 355–67. Citation is from page 361. Available online at http://www.tug.org/TUGboat/Articles/tb17-4/tb53knuc.pdf while digital-period font designer Jonathan Hoefler commented in 2015 that "Knuth's idea that letters start with skeletal forms is flawed".{{cite web |last1=Hoefler |first1=Jonathan |title=Knuth's idea that letters start with skeletal forms is flawed. But his work is important and had lasting impact. |url=https://twitter.com/HoeflerCo/status/655557339987226624 |publisher=Twitter |access-date=18 August 2018}}
Derived versions
Knuth produced his original Computer Modern fonts using Metafont, a program that reads stroke-based definitions of glyphs and outputs ready-to-use fonts as bitmap image files. He mostly left the font, as with other components of TeX (with the exception of the TeX and Metafont names themselves, a stipulation Knuth made to maintain quality control), in the public domain.{{Cite book| chapter=Chapter 28| title=Digital Typography |chapter-url=http://www.tug.org/TUGboat/Articles/tb07-2/tb15knut.pdf |page=560| bibcode= 1983SciAm.249b.106B |last1=Bigelow |first1=Charles |last2=Day |first2=Donald |journal=Scientific American |year=1983 |volume=249 |issue=2 |doi=10.1038/scientificamerican0883-106|quote=All of the methods described in these books are in the public domain; thus anybody can freely use any of the ideas. The only thing I'm retaining control of is the names, TeX and METAFONT(...) If any changes are made, I won't complain, as long as the changed systems are not called TEX or METAFONT. |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223105832/https://tug.org/TUGboat/Articles/tb07-2/tb15knut.pdf}}{{Citation | first = Donald E | last = Knuth | title = Computers and Typesettings | url = http://www.tug.org/TUGboat/Articles/tb07-2/tb15gordon.pdf |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223110118/https://tug.org/TUGboat/Articles/tb07-2/tb15gordon.pdf | journal = TUGboat | volume = 7 | date = 1986 | pages = 95–98|quote=and which he (Leslie Lamport), like Don, placed in the public domain. }}
The advance of publishing technology (PostScript, PDF, laser printers) has reduced the need for bitmap fonts. The preferred formats are now outline fonts such as Type 1, TrueType, or OpenType, which can be rendered efficiently at arbitrary resolution and using sophisticated anti-aliasing techniques by printer firmware or on-screen document viewers. Therefore, several other projects have ported the Computer Modern fonts into such formats. Some of these projects have also complemented Computer Modern with
- additional characters (euro, accented characters, Cyrillic and Greek script coverage)
- different font encodings (to overcome problems with Knuth's original 8-bit character sets)
- additional font style variants
Several such derivatives are now also widely used and included in TeX Live, a modern TeX distribution.
=CMU=
A current extended release of the Computer Modern family in the general-purpose OpenType format is the CMU distribution (for Computer Modern Unicode):
- CMU Serif, the main Computer Modern font family. This includes the four traditional styles of font (regular, italic, bold, bold italic), and also:
- CMU Serif upright italic, an upright italic style similar to cursive upright handwriting
- CMU Serif bold non-extended, a bold weight duplexed to have the same width as the regular style
- CMU Serif roman and bold slanted, two oblique styles
- CMU Classical Serif, an italic design with slightly simpler serif designs
- Concrete Roman, a slab serif font in the four standard styles
- CMU Typewriter, a typewriter-style slab serif font
- CMU Sans Serif, a complementary sans-serif font, and CMU Bright, a lighter style of the same design
- CMU Sans demi-condensed, a condensed style of the same design
CMU is released under the SIL Open Font License.
=BlueSky=
File:Computer modern sample text.svg, the font's original purpose]] Computer Modern was first transformed to a PostScript Type 3 font format by BlueSky, Inc. in 1988, and then to Type 1 in 1992 to include font hinting.{{cite web|archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223111552/https://www.math.utah.edu/~beebe/fonts/bluesky.html|url=http://www.math.utah.edu/~beebe/fonts/bluesky.html |title=Blue Sky Research and Computer Modern fonts |publisher=Math.utah.edu |date=1997-12-04 |access-date=2015-06-12}} The Type 1 version has since then been donated to the American Mathematical Society (AMS) which distributes them freely under the Open Font License.{{cite web|url=http://www.ctan.org/tex-archive/fonts/cm/ps-type1/README.bluesky |title=The Adobe Type 1 fonts, previously known on CTAN archives as the "bluesky" fonts, are now distributed as part of the AMS fonts distribution, at CTAN:fonts/amsfonts |publisher=Ctan.org |access-date=2015-06-12}}{{better source needed |date=February 2024|reason=I cannot open this file, so no-one will be able to see the rest of whatever this reference is meant to be.}} It is found in most standard TeX distributions.
=Latin Modern=
The Latin Modern implementation, maintained by Bogusław Jackowski and Janusz M. Nowacki of TeX User Group Poland (GUST), is now standard in the TeX community and was made through a Metafont/MetaPost derivative called METATYPE1. It was derived from the BlueSky Type 1 fonts, which were converted back into outline-based METATYPE1 programs, from which then the extended Type 1 and OpenType Latin Modern fonts were developed. ConTeXt uses Latin Modern as default font, instead of Computer Modern.{{cite web|url=http://wiki.contextgarden.net/FAQ#Can_I_change_to_LaTeX.E2.80.99s_Computer_Modern_font.3F |archive-date=23 February 2024 |url-status=live |archive-url=https://ghostarchive.org/archive/hQz7O |title=FAQ |website=wiki.contextgarden.net |access-date=2015-06-12}}
The Type 1 to METATYPE1 to Type 1 round-trip conversion process involved in the production of the Latin Modern fonts tried to preserve the hinting information of the BlueSky fonts; however, it introduced rounding errors that affect the quality of the hinting at low pixel sizes. As a result, on-screen display of the Latin Modern fonts can result in a less even display of kerning and character heights than with the BlueSky fonts.{{cite web|url=http://www.latex-community.org/forum/viewtopic.php?f=48&t=11188 |title=LaTeX forum ⇒ Fonts & Character Sets ⇒ A E F and T sized differently in lmodern pacakge? |work=Latex Community |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223115344/https://latex.org/forum/viewtopic.php?f=48&t=11188 |author=buster |date=22 December 2010 |access-date=2015-06-12}}
The same process was later extended to some free PostScript font clones under the umbrella project TeX Gyre.{{cite web|url=https://www.tug.org/TUGboat/tb27-2/tb87hagen-gyre.pdf |title=The New Font Project : TEX Gyre |access-date=2015-06-12 |url-status=live |archive-date=23 February 2024 |archive-url=https://web.archive.org/web/20240223114901/https://www.tug.org/TUGboat/tb27-2/tb87hagen-gyre.pdf |first1=Hans |last1=Hagen |last2=Ludwichowski |first2=Jerzy B. |last3=Schaa |first3=Volker RW |volume=27 |year=2006 |work=TUGboat}}
The Latin Modern font has also gained an OpenType math table.{{cite web|url=http://www.gust.org.pl/projects/e-foundry/lm-math |title=The Latin Modern Math (LM Math) font |language=pl |website=Gust.org.pl |access-date=2015-06-12 |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223114509/https://www.gust.org.pl/projects/e-foundry/lm-math}}{{cite web|url=http://www.ctan.org/pkg/lm-math |title=lm-math – OpenType maths fonts for Latin Modern |publisher=CTAN Comprehensive TEX Archive Network |date=2014-09-05 |access-date=2015-06-12 |archive-date=23 February 2024 |archive-url=https://web.archive.org/web/20240223114727/https://www.ctan.org/pkg/lm-math |url-status=live}} Unlike Computer Modern Math, Latin Modern Math has no pairwise kerning information: OpenType math rendering does not make use of this type of kerning, making such information useless.{{cite web |last1=Sundqvist |first1=Mikael "mickep" |title=opentype math font kern |url=https://tex.stackexchange.com/a/692796 |website=TeX - LaTeX Stack Exchange |access-date=24 February 2024 |language=en |date=Aug 5, 2023}}
=New Computer Modern=
The New Computer Modern font family{{cite web|url=https://www.ctan.org/pkg/newcomputermodern |title=NewComputerModern – Computer Modern fonts including matching non-latin alphabets |publisher=CTAN Comprehensive TEX Archive Network |access-date=2021-12-12 |archive-date=23 February 2024 |archive-url=https://web.archive.org/web/20240223114322/https://www.ctan.org/pkg/newcomputermodern |url-status=live}} is a large extension in terms of the number of additional glyphs of the Latin Modern fonts which adds support for several more languages such as Greek, Cyrillic, Hebrew, Cherokee and Coptic. This font family comes in two weights, "Regular" and "Book". The book weight is supposed to look slightly heavier compared to the "Regular". Both the weights include support for typesetting mathematics; complete coverage of unicode math blocks is provided, along with some more glyphs needed for mathematics.
=MLModern=
MLModern{{cite web|url=https://www.ctan.org/pkg/mlmodern |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223114204/https://www.ctan.org/pkg/mlmodern |title=MLModern – A blacker Type 1 version of Computer Modern, with multilingual support |publisher=CTAN Comprehensive TEX Archive Network |access-date=2021-12-12}} is based on the Latin Modern font. It avoids the spindliness of most other Type 1 versions of Computer Modern and hence looks thicker in comparison to Latin Modern or Computer Modern.
A visual comparison of Computer Modern, Latin Modern, New Computer Modern Book and MLModern is shown here.
File:Computer_Modern_2.svgFile:Latin_Modern.svgFile:New_Computer_Modern_Book.svgFile:MLModern.svg
=Others=
- EC fonts – look much like Computer Modern, but have slightly different metrics. These were the first TeX fonts to use the "Cork encoding" (in LaTeX also known as T1 encoding) that provides precomposed glyphs for West-European languages. The original EC fonts were only available as Metafont generated bitmaps.
- TC fonts – the TeX Companion fonts provide a number of additional symbols commonly used in text.
- BaKoMa fonts – another automatically generated Type1 version of Computer Modern by Basil K. Malyshev, dating to 1994. The fonts remain available for download after Malyshev's 2019 death.
- CM-super{{cite web|url=http://www.ctan.org/tex-archive/fonts/ps-type1/cm-super/ |archive-date=23 February 2024 |url-status=live |archive-url=https://web.archive.org/web/20240223113519/https://ctan.org/tex-archive/fonts/ps-type1/cm-super/ |title=tex-archive/fonts/ps-type1/cm-super |publisher=CTAN Comprehensive TEX Archive Network |access-date=2015-06-12}} – a very large extension of Computer Modern, available in a variety of encodings. These fonts were automatically vectorized from Computer Modern or EC font bitmaps and therefore lack the hinting information in the BlueSky fonts.
- CM-LGC – a Latin, Greek, Cyrillic extension.
See also
- STIX Fonts, a project to create Times New Roman-compatible mathematics fonts. Open-sourced under the SIL open font license.
References
{{Reflist|30em}}
{{notelist|30em}}
Further reading
- Donald E. Knuth, Computers and Typesetting Volume E: The Computer Modern Fonts, Addison-Wesley, Reading, Mass. 1986 Hardcover: {{ISBN|0-201-13446-2}}, Softcover: {{ISBN|0-201-60660-7}}
External links
- [https://cm-unicode.sourceforge.io/index.html Computer Modern Unicode fonts home page]
- [http://downloads.sourceforge.net/project/cm-unicode/cm-unicode/0.7.0/cm-unicode-0.7.0-ttf.tar.xz Newest 0.7 unicode version from Sourceforge - .ttf file compressed as .ttf.tar.gz]
- [http://cm-unicode.sourceforge.net/download.html Old 0.6 release - Computer Modern (CMU) release, for general use (select otf)]
- [https://ctan.org/tex-archive/fonts/cm Original Computer Modern fonts]
{{free and open-source typography}}
{{TeX navbox}}
{{Donald Knuth navbox}}
Category:Unified serif and sans-serif typeface families
Category:Didone serif typefaces
Category:Free software Unicode typefaces
Category:Mathematical typefaces
Category:Mathematical OpenType typefaces
Category:Typefaces designed by Donald Knuth