Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
fichiers:fontes:utiliser_les_fontes_latin_modern [2018/05/24 17:09] – joseph.wright | 5_fichiers:fontes:utiliser_les_fontes_latin_modern [2022/11/29 20:34] (Version actuelle) – Markdown → DokuWiki dbitouze | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Using the Latin Modern fonts ====== |
- | section: Fonts | + | |
- | subsection: Particular font families | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | # Using the Latin Modern fonts | ||
- | The [`lm`](https:// | + | The [[ctanpkg> |
the armoury of the (La)TeX user: high quality outlines of fonts that | the armoury of the (La)TeX user: high quality outlines of fonts that | ||
were until recently difficult to obtain, all in a free and | were until recently difficult to obtain, all in a free and | ||
relatively compact package. | relatively compact package. | ||
- | that comes with the fonts remarks | + | that comes with the fonts remarks |
- | user knows what to do with all these files'' | + | user knows what to do with all these files". This answer aims to |
fill in the requirements: | fill in the requirements: | ||
- | Note that teTeX distributions, | + | Note that teTeX distributions, |
- | [`lm`](https:// | + | [[ctanpkg> |
be installed via the package manager, in a current MiKTeX system. | be installed via the package manager, in a current MiKTeX system. | ||
The remainder of this answer, then, is for people who don't use such | The remainder of this answer, then, is for people who don't use such | ||
Ligne 23: | Ligne 17: | ||
The font (and related) files appear on CTAN as a set of | The font (and related) files appear on CTAN as a set of | ||
- | single-entry [TDS trees](FAQ-tds.md)& | + | single-entry [[FAQ-tds|TDS trees]] --- |
- | `fonts`, `dvips`, `tex` and `doc`. The `doc` | + | '' |
subtree really need not be copied (it's really a pair of sample | subtree really need not be copied (it's really a pair of sample | ||
files), but copy the other three into your existing Local | files), but copy the other three into your existing Local | ||
- | `$TEXMF` tree, and | + | '' |
- | [update the filename database](FAQ-inst-wlcf.md). | + | [[FAQ-inst-wlcf|update the filename database]]. |
- | Now, incorporate the fonts in the set searched by PDFLaTeX, | + | Now, incorporate the fonts in the set searched by pdfLaTeX, |
- | `dvips`, `dvipdfm`/`dvipdfmx`, your | + | '' |
- | previewers and Type 1-to-PK conversion programs, by | + | previewers and Type 1-to-PK conversion programs, by |
- | | + | |
- | - | + | * On a teTeX system earlier than version 2.0, edit the file '' |
- | `$TEXMF/ | + | |
- | | + | <code bash> |
- | | + | updmap --enable Map lm.map |
- | | + | </ |
- | - On a teTeX version 2.0 (or later), execute the command | + | |
- | | + | |
- | updmap --enable Map lm.map | + | |
- | ``` | + | |
- | - On a MiKTeX system earlier than version 2.2, the '' | + | |
- | | + | |
- | | + | |
- | - On a MiKTeX system, version 2.2 or later, update | + | |
- | `updmap.cfg` as described in the MiKTeX | + | |
- | | + | |
- | | + | |
- | | + | |
- | To use the fonts in a LaTeX document, you should | + | To use the fonts in a LaTeX document, you should |
- | `\usepackage{lmodern}` | + | for all three LaTeX font families ("roman", "sans-serif" |
- | this will make the fonts the default | + | |
- | for all three LaTeX font families ('' | + | |
- | '' | + | |
- | `\usepackage[T1]{fontenc}` | + | |
- | for text, and | + | |
- | `\usepackage{textcomp}` | + | |
- | if you want to use any of the TS1-encoding symbols. | + | |
- | no support for using fonts according to the OT1 encoding. | + | |
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk> | ||
+ | |||
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||