Difference between revisions of "ISO-8859-15"
m (category added (Fonts, International, From LaTeX), perhaps some of them are not really suitable, this should move to ConTeXt core anyway) |
m (Text replacement - "</cmd>" to "}}") |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | LaTeX | + | [http://en.wikipedia.org/wiki/ISO_8859-15 ISO-8859-15], also known as ISO-Latin-9, is a character set that can be used for most Western European languages. It is a revision of ISO-8859-1, replacing some less common symbols with the euro sign and some other characters that were missing. According to [http://en.wikipedia.org/wiki/ISO_8859 Wikipedia], the ISO-8859-15 character set covers Basque, Catalan, Danish, Dutch (except for IJ/ij), English, Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian, Portuguese, Rhaeto-Romanic, Scottish Gaelic, Spanish, and Swedish, as well as Albanian (Eastern Europe), Afrikaans, and Swahili (Africa). |
+ | |||
+ | == LaTeX == | ||
+ | |||
+ | In LaTeX, the ISO-8859-15 can be used as an input encoding with the <code>inputenc</code> package. The <code>eurosym</code> package is also needed, in order to produce the Euro symbol in the output. | ||
+ | |||
<texcode> | <texcode> | ||
\documentclass{article} | \documentclass{article} | ||
Line 9: | Line 14: | ||
</texcode> | </texcode> | ||
− | ConTeXt | + | == ConTeXt == |
− | + | ||
+ | You can use ISO-8859-15 as an input encoding via the {{cmd|useregime}} and {{cmd|enableregime}} commands. | ||
+ | |||
<texcode> | <texcode> | ||
\useregime[il9] | \useregime[il9] | ||
Line 18: | Line 25: | ||
\stoptext | \stoptext | ||
</texcode> | </texcode> | ||
+ | |||
+ | This produces the following output (which unfortunately appears to be broken in this Wiki): | ||
+ | |||
+ | <context> | ||
+ | \useregime[il9] | ||
+ | \enableregime[il9] | ||
+ | \starttext | ||
+ | c½ur et 100\,¤ | ||
+ | \stoptext | ||
+ | </context> | ||
[[Category:Fonts]] | [[Category:Fonts]] | ||
− | [[Category: | + | [[Category:Languages]] |
[[Category:From LaTeX]] | [[Category:From LaTeX]] |
Latest revision as of 13:26, 9 August 2020
ISO-8859-15, also known as ISO-Latin-9, is a character set that can be used for most Western European languages. It is a revision of ISO-8859-1, replacing some less common symbols with the euro sign and some other characters that were missing. According to Wikipedia, the ISO-8859-15 character set covers Basque, Catalan, Danish, Dutch (except for IJ/ij), English, Faeroese, Finnish, French, German, Icelandic, Irish, Italian, Norwegian, Portuguese, Rhaeto-Romanic, Scottish Gaelic, Spanish, and Swedish, as well as Albanian (Eastern Europe), Afrikaans, and Swahili (Africa).
LaTeX
In LaTeX, the ISO-8859-15 can be used as an input encoding with the inputenc
package. The eurosym
package is also needed, in order to produce the Euro symbol in the output.
\documentclass{article} \usepackage[latin9]{inputenc} \usepackage{eurosym}\def\texteuro{\euro} \begin{document} c½ur et 100\,¤ \end{document}
ConTeXt
You can use ISO-8859-15 as an input encoding via the \useregime and \enableregime commands.
\useregime[il9] \enableregime[il9] \starttext c½ur et 100\,¤ \stoptext
This produces the following output (which unfortunately appears to be broken in this Wiki):