benbro / latin-modern-web

CSS/Fonts of the 'Latin Modern' font family for use on a modern web browser

Home Page:https://www.jsdelivr.com/package/gh/sugina-dev/latin-modern-web

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LM Webfonts JSDelivr badge

This repository contains fonts and css files to be able to use the 'Latin Modern' font family on a modern web browser. These were created by GUST by working on the foundation of the Computer Modern by Donald Knuth.

Use

For example, adding the following if you wanted to use the font 'Lucida Modern Mono'. The families are defined in those files.

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono.css" />

After doing that, you can safely use something like the following to style the elements of your pages.

pre, kbd {
    font-family: 'Latin Modern Mono', 'Courier New', Courier, monospace;
}

Here is the full list of CSS files you can use:

https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-caps.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-light.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-light-cond.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-prop.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-prop-light.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-mono-slanted.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-roman.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-roman-caps.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-roman-demi.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-roman-dunhill.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-roman-slanted.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-sans.css
https://cdn.jsdelivr.net/gh/sugina-dev/latin-modern-web@1.0.1/style/latinmodern-sans-demi.css

Demo

Origin

This repository contains the fonts of the Latin Mono font family, repackaged to be used on webpages and able to be displayed on modern web browsers.

The font files in their current formats were downloaded from Font Squirrel. The files were split into three different "Webfont Kit" downloads as follows:

License

The files in the directory font/ are covered by the GUST Font License as explained in the LICENSE.md file in this directory.

All other files in this directory (i.e. not in the font/ directory) are covered under a BSD 2-Clause License (FreeBSD/Simplified), also explained in LICENSE.md.

About

CSS/Fonts of the 'Latin Modern' font family for use on a modern web browser

https://www.jsdelivr.com/package/gh/sugina-dev/latin-modern-web

License:Other


Languages

Language:CSS 100.0%