| Les deux révisions précédentesRévision précédente | |
| fichiers:fontes:utiliser_les_fontes_latin_modern [2018/12/04 00:20] – jejust | 5_fichiers:fontes:utiliser_les_fontes_latin_modern [2022/11/29 20:34] (Version actuelle) – Markdown → DokuWiki dbitouze |
|---|
| ''dvips'', ''dvipdfm''/''dvipdfmx'', your | ''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 | * On a teTeX system earlier than version 2.0, edit the file ''$TEXMF/dvips/config/updmap'' and insert an absolute path for the ''lm.map'' just after the line that starts ''extra_modules="'' (and before the closing quotes). |
| ''$TEXMF/dvips/config/updmap'' | * On a teTeX version 2.0 (or later), execute the command |
| and insert an absolute path for the ''lm.map'' just after the | <code bash> |
| line that starts ''extra_modules="'' (and before the closing | updmap --enable Map lm.map |
| quotes). | </code> |
| - On a teTeX version 2.0 (or later), execute the command | * On a MiKTeX system earlier than version 2.2, the "Refresh filename database" operation, which you performed after installing files, also updates the system's "PostScript resources database". |
| ```latex | * On a MiKTeX system, version 2.2 or later, update ''updmap.cfg'' as described in the MiKTeX [[http://docs.miktex.org/manual/psfonts.html#chgupdmapcfg|online documentation]]. Then execute the command ''initexmf --mkmaps'', and the job is done. |
| updmap --enable Map lm.map | |
| ``` | |
| - On a MiKTeX system earlier than version 2.2, the "Refresh | |
| filename database" operation, which you performed after installing | |
| files, also updates the system's "PostScript resources database". | |
| - On a MiKTeX system, version 2.2 or later, update | |
| ''updmap.cfg'' as described in the MiKTeX | |
| [[http://docs.miktex.org/manual/psfonts.html#chgupdmapcfg|online documentation]]. | |
| Then execute the command ''initexmf --mkmaps'', and the | |
| job is done. | |
| |
| To use the fonts in a LaTeX document, you should | To use the fonts in a LaTeX document, you should ''\usepackage{lmodern}'' this will make the fonts the default |
| ''\usepackage{lmodern}'' | for all three LaTeX font families ("roman", "sans-serif" and "typewriter"). You also need ''\usepackage[T1]{fontenc}'' for text, and ''\usepackage{textcomp}'' if you want to use any of the TS1-encoding symbols. There is no support for using fonts according to the OT1 encoding. |
| this will make the fonts the default | |
| for all three LaTeX font families ("roman", "sans-serif" and | |
| "typewriter"). You also need | |
| ''\usepackage[T1]{fontenc}'' | |
| for text, and | |
| ''\usepackage{textcomp}'' | |
| if you want to use any of the TS1-encoding symbols. There is | |
| no support for using fonts according to the OT1 encoding. | |
| |
| |