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/06/02 15:37] – joseph.wright | 5_fichiers:fontes:utiliser_les_fontes_latin_modern [2022/11/29 20:34] (Version actuelle) – Markdown → DokuWiki dbitouze | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== |
- | title: | + | |
- | category: fonts | + | |
- | permalink: / | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
- | 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 21: | 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)& | + | 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). | + | [[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 version 2.0 (or later), execute the command | ||
+ | <code bash> | ||
+ | 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 '' | ||
+ | |||
+ | To use the fonts in a LaTeX document, you should '' | ||
+ | for all three LaTeX font families (" | ||
- | - On a teTeX system earlier than version& | + | ----- |
- | `$TEXMF/ | + | |
- | and insert an absolute path for the `lm.map` just after the | + | |
- | line that starts `extra_modules=" | + | |
- | quotes). | + | |
- | - On a teTeX version& | + | |
- | ```latex | + | |
- | updmap | + | |
- | ``` | + | |
- | - On a MiKTeX system earlier than version& | + | |
- | filename database'' | + | |
- | files, also updates the system' | + | |
- | - On a MiKTeX system, version& | + | |
- | `updmap.cfg` as described in the MiKTeX | + | |
- | [online documentation](http:// | + | |
- | Then execute the command `initexmf --mkmaps`, and the | + | |
- | job is done. | + | |
- | To use the fonts in a LaTeX document, you should | + | //Source:// [[faquk> |
- | `\usepackage{lmodern}` | + | |
- | 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. | + | |
+ | {{htmlmetatags> | ||
+ | metatag-og: | ||
+ | metatag-og: | ||
+ | }} | ||