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 | ||
composition:texte:symboles:utiliser_des_symboles2 [2018/12/04 00:00] – jejust | 3_composition:texte:symboles:utiliser_des_symboles2 [2023/07/03 22:20] (Version actuelle) – Mise à jour du code des exemples pour TL2023. Mots-clefs OpenGraph. jejust | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | ====== | + | ====== |
+ | Les polices de symboles sont souvent fournies avec une extension qui définit des commandes pour chaque symbole de la police. Bien que cela soit pratique, cela peut entraîner des difficultés, | ||
- | Most symbol font sets come with a package that defines commands for | + | ===== Une solution générale ===== |
- | every symbol in the font. While this is convenient, it can lead to | + | |
- | difficulties, | + | |
- | that cover fonts which duplicate symbols --- an issue which is | + | |
- | discussed in | + | |
- | " | + | |
- | Some font sets (for example the related set: '' | + | |
- | '' | + | |
- | accompanying macros cover so many symbols that name clashes are surely | + | |
- | a serious problem. | + | |
- | The [[ctanpkg> | + | Cette solution évitant les conflits de noms est présentée dans la question « [[2_programmation: |
- | ''Zapf Dingbats'' | + | |
- | you to know the font position of any symbol you want to use (the | + | |
- | documentation provides font tables). | + | |
- | '' | + | |
- | other fancier uses. [[ctanpkg> | + | |
- | fonts, for similar use. | + | |
- | The [[ctanpkg> | + | ===== La mécanique de l' |
- | [[ctanpkg> | + | |
- | of [[ctanpkg> | + | |
- | for symbols. | + | |
- | '' | + | |
- | define symbol names with '' | + | |
- | with '' | + | |
- | font family and color specified in the arguments of | + | |
- | '' | + | |
- | [[ctanpkg> | + | L' |
- | clear; it is probably the best tool to use for picking and choosing | + | |
- | symbols from a variety of font families. | + | |
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{pifont} | ||
- | ----- | + | \begin{document} |
+ | \ding{252} Voici un exemple de symbole: \ding{166}. | ||
+ | \end{document} | ||
+ | </ | ||
+ | < | ||
+ | \documentclass[12pt]{article} | ||
+ | \usepackage{pifont} | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \begin{document} | ||
+ | \ding{252} Voici un exemple de symbole: \ding{166}. | ||
+ | \end{document} | ||
+ | </ | ||
+ | |||
+ | ===== La mécanique de l' | ||
+ | |||
+ | L' | ||
+ | |||
+ | <code latex> | ||
+ | \documentclass{article} | ||
+ | \usepackage{yagusylo} | ||
+ | |||
+ | \begin{document} | ||
+ | Une planète Terre appelée par une commande générique: | ||
+ | |||
+ | \defdingname[marvosym][global]{109}{terre}[black] | ||
+ | Une planète Terre appelée par une nouvelle commande personnelle: | ||
+ | \end{document} | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | \documentclass[12pt]{article} | ||
+ | \usepackage{yagusylo} | ||
+ | \usepackage[french]{babel} | ||
+ | \pagestyle{empty} | ||
+ | |||
+ | \begin{document} | ||
+ | Une planète Terre appelée par une commande générique: | ||
+ | |||
+ | \defdingname[marvosym][global]{109}{terre}[black] | ||
+ | Une planète Terre appelée par une nouvelle commande personnelle: | ||
+ | \end{document} | ||
+ | </ | ||
+ | |||
+ | <WRAP clear /> | ||
+ | \\ | ||
+ | |||
+ | <WRAP column 36ex> | ||
+ | Les familles possibles sont: | ||
+ | |||
+ | ^ Package | ||
+ | | [[ctanpkg> | ||
+ | | [[ctanpkg> | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | | '' | ||
+ | | [[ctanpkg> | ||
+ | | [[ctanpkg> | ||
+ | | [[ctanpkg> | ||
+ | | [[ctanpkg> | ||
+ | | [[ctanpkg> | ||
+ | | | '' | ||
+ | </ | ||
+ | <WRAP column 50ex> | ||
+ | < | ||
+ | L' | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear /> | ||
+ | |||
+ | ----- | ||
//Source:// [[faquk> | //Source:// [[faquk> | ||
- | {{htmlmetatags> | + | {{htmlmetatags> |
- | metatag-og: | + | metatag-og: |
metatag-og: | metatag-og: | ||
}} | }} | ||