Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
3_composition:texte:symboles:symbole_euro [2018/06/03 15:04] samcarter |
3_composition:texte:symboles:symbole_euro [2020/12/25 12:39] yannick.tanguy Suppression de la page, désormais inutile. |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | + | ====== Typesetting the Euro sign ====== |
- | title: Typesetting the Euro sign | + | |
- | category: formatting | + | |
- | permalink: /FAQ-euro | + | |
- | date: 2014-06-10 | + | |
- | --- | + | |
The European currency "Euro" (â¬) is represented by a symbol | The European currency "Euro" (â¬) is represented by a symbol | ||
Ligne 23: | Ligne 19: | ||
(TC) fonts, and offer the same range | (TC) fonts, and offer the same range | ||
of faces as do the EC fonts themselves. The | of faces as do the EC fonts themselves. The | ||
- | [`textcomp`](https://ctan.org/pkg/textcomp) package provides a `\texteuro` command for | + | [[ctanpkg>textcomp|textcomp]] package provides a ''\texteuro'' command for |
accessing the symbol, which selects a symbol to match the surrounding | accessing the symbol, which selects a symbol to match the surrounding | ||
text. The design of the symbol in the TC fonts is not | text. The design of the symbol in the TC fonts is not | ||
- | universally loved… | + | universally loved... |
Nevertheless, use the TC font version of the symbol if you are | Nevertheless, use the TC font version of the symbol if you are | ||
producing documents using Knuth's Computer Modern Fonts. | producing documents using Knuth's Computer Modern Fonts. | ||
- | The each of the `latin9` and `latin10` input encoding | + | The each of the ''latin9'' and ''latin10'' input encoding |
- | definitions for the [`inputenc`](https://ctan.org/pkg/inputenc) package has a euro character | + | definitions for the [[ctanpkg>inputenc|inputenc]] package has a euro character |
defined (character position 164, occupied in other ISO Latin | defined (character position 164, occupied in other ISO Latin | ||
character sets by the "currency symbol" ¤, which | character sets by the "currency symbol" ¤, which | ||
- | ordinary people seldom see except in character-set listings…). | + | ordinary people seldom see except in character-set listings...). |
- | The TC encoding file offers the command `\texteuro` for the | + | The TC encoding file offers the command ''\texteuro'' for the |
- | character; that command is (probably) _only_ available from the | + | character; that command is (probably) //only// available from the |
- | [`textcomp`](https://ctan.org/pkg/textcomp) package. | + | [[ctanpkg>textcomp|textcomp]] package. |
Use of the TC encoding character may therefore made via | Use of the TC encoding character may therefore made via | ||
- | `\texteuro` or via the Latin-9 or Latin-10 character in ordinary | + | ''\texteuro'' or via the Latin-9 or Latin-10 character in ordinary |
text. | text. | ||
Note that there is a Microsoft code page position (128), too, and that has | Note that there is a Microsoft code page position (128), too, and that has | ||
- | been added to [`inputenc`](https://ctan.org/pkg/inputenc) tables for CP1252 and | + | been added to [[ctanpkg>inputenc|inputenc]] tables for CP1252 and |
CP1257. (There's another position in CP858, which has | CP1257. (There's another position in CP858, which has | ||
it in place of "dotless i" in CP850; the standardisation of | it in place of "dotless i" in CP850; the standardisation of | ||
these things remains within Microsoft, so one can never tell what will | these things remains within Microsoft, so one can never tell what will | ||
- | come next…) | + | come next...) |
Outline fonts which contain nothing but Euro symbols are available | Outline fonts which contain nothing but Euro symbols are available | ||
(free) from | (free) from | ||
- | [Adobe](ftp://ftp.adobe.com/pub/adobe/type/win/all/eurofont.exe) — | + | [[ftp://ftp.adobe.com/pub/adobe/type/win/all/eurofont.exe|Adobe]] --- |
- | the file is packaged as a `Windows` self-extracting | + | the file is packaged as a ''Windows'' self-extracting |
- | executable, but it may be decoded as a `zip` format archive | + | executable, but it may be decoded as a ''zip'' format archive |
on other operating systems. | on other operating systems. | ||
- | The [`euro`](https://ctan.org/pkg/euro) bundle contains metrics, `dvips` map | + | The [[ctanpkg>euro|euro]] bundle contains metrics, ''dvips'' map |
files, and macros (for Plain TeX and LaTeX), for using these | files, and macros (for Plain TeX and LaTeX), for using these | ||
fonts in documents. LaTeX users will find two packages in the | fonts in documents. LaTeX users will find two packages in the | ||
- | bundle: [`eurosans`](https://ctan.org/pkg/eurosans) only offers the sans-serif version (to | + | bundle: [[ctanpkg>eurosans|eurosans]] only offers the sans-serif version (to |
conform with the obsolete ruling about sans-serif-only symbols; the | conform with the obsolete ruling about sans-serif-only symbols; the | ||
package provides the | package provides the | ||
- | command `\euro`), whereas [`europs`](https://ctan.org/pkg/europs) matches the Euro symbol | + | command ''\euro''), whereas [[ctanpkg>europs|europs]] matches the Euro symbol |
- | with the surrounding text (providing the command `\EUR`). To use | + | with the surrounding text (providing the command ''\EUR''). To use |
either package | either package | ||
- | with the `latin9` encoding, you need to define `\texteuro` | + | with the ''latin9'' encoding, you need to define ''\texteuro'' |
as an alias for the euro command the package defines. | as an alias for the euro command the package defines. | ||
Ligne 73: | Ligne 69: | ||
of modern fonts. | of modern fonts. | ||
- | The [`eurofont`](https://ctan.org/pkg/eurofont) package provides a compendious analysis of the | + | The [[ctanpkg>eurofont|eurofont]] package provides a compendious analysis of the |
"problem of the euro symbol" in its documentation, and offers macros | "problem of the euro symbol" in its documentation, and offers macros | ||
for configuring the source of the glyphs to be used; however, it seems | for configuring the source of the glyphs to be used; however, it seems | ||
rather large for everyday use. | rather large for everyday use. | ||
- | The [`euro-ce`](https://ctan.org/pkg/euro-ce) bundle is a rather pleasing MetaFont-only design | + | The [[ctanpkg>euro-ce|euro-ce]] bundle is a rather pleasing MetaFont-only design |
providing Euro symbols in a number of shapes. The file | providing Euro symbols in a number of shapes. The file | ||
- | `euro-ce.tex`, in the distribution, offers hints as to how a | + | ''euro-ce.tex'', in the distribution, offers hints as to how a |
Plain TeX user might make use of the fonts. | Plain TeX user might make use of the fonts. | ||
Ligne 86: | Ligne 82: | ||
completeness. | completeness. | ||
- | The [`marvosym`](https://ctan.org/pkg/marvosym) font contains a Euro symbol (in a number of | + | The [[ctanpkg>marvosym|marvosym]] font contains a Euro symbol (in a number of |
typographic styles), among many other good things; the font is | typographic styles), among many other good things; the font is | ||
available in both Adobe Type 1 and TrueType formats. | available in both Adobe Type 1 and TrueType formats. | ||
Other MetaFont-based bundles containing Euro symbols are to be found in | Other MetaFont-based bundles containing Euro symbols are to be found in | ||
- | [`china2e`](https://ctan.org/pkg/china2e) (whose primary aim is Chinese dates and suchlike | + | [[ctanpkg>china2e|china2e]] (whose primary aim is Chinese dates and suchlike |
- | matters) and the [`eurosym`](https://ctan.org/pkg/eurosym) fonts. | + | matters) and the [[ctanpkg>eurosym|eurosym]] fonts. |
+ | |||
+ | |||
+ | ----- | ||
+ | |||
+ | //Source:// [[faquk>FAQ-euro|Typesetting the Euro sign]] | ||
+ | {{htmlmetatags>metatag-keywords=(LaTeX,formatting) | ||
+ | metatag-og:title=(Typesetting the Euro sign) | ||
+ | metatag-og:site_name=(FAQ LaTeX francophone) | ||
+ | }} | ||