View previous topic :: View next topic |
Author |
Message |
nichocouk Guru
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Wed Jun 08, 2005 10:21 pm Post subject: How to get the Euro symbol in Latex? [SOLVED] |
|
|
Hi,
I want to make Euro symbols with latex, so I do , but here what I get:
Code: |
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] >=app-text/tetex-2 (is blocking dev-tex/eurosym-1.4)
[ebuild UD] app-text/tetex-1.0.7-r13 [2.0.2-r5] +X -debug 42,725 kB
[ebuild N ] dev-tex/eurosym-1.4 147 kB
Total size of downloads: 42,872 kB
!!! Error: The above package list contains packages which cannot be installed
!!! on the same system.
|
I'm not really keen to downgrade tetex. I have quite a few other latex-related packages and don't want to break what, so far, runs smoothly...
Any idea?
Cheers! _________________ nichocouk
L'Etat, c'est moi.
Last edited by nichocouk on Thu Jun 09, 2005 10:35 am; edited 1 time in total |
|
Back to top |
|
|
tomvollerthun Guru
Joined: 19 Mar 2005 Posts: 316
|
Posted: Thu Jun 09, 2005 8:31 am Post subject: |
|
|
I found that using marvosym provides you with a euro-symbol as well:
Quote: | 32) How can I get the Euro currency symbol?
In LaTeX, use the marvosym package (documentation: texdoc marvodoc).
It provides several Euro symbol by the command \EUR. The variants
\EURtm, \EURhv and \EURcr match are designed to be used together
with the fonts Times, Helvetica and Courier respectively. |
( http://www.math.upenn.edu/tex_docs/tetex/teTeX-FAQ )
Perhaps that's something you can use?
If nothing helps, a german page states that you can easily create your own (not-conforming) symbol with
Code: | \newcommand\euro{{\sffamily C%
\makebox[0pt][l]{\kern-.70em\mbox{--}}%
\makebox[0pt][l]{\kern-.68em\raisebox{.25ex}{--}}}} |
( http://www.cs.uu.nl/wais/html/na-dir/de-tex-faq/part8.html Section 8.1.6 Wie bekomme ich das Währungssymbol für den Euro?)
I don't know what they mean by "not-conforming", but chances are that you can't tell the difference unless you really know what to look for. Perhaps it's just that the symbol isn't adjusted to different fonts.
cu, tom _________________ Computer science is no more about computers than astronomy is about telescopes.
Dijsktra
---------------
Don't believe my "Guru" status! |
|
Back to top |
|
|
nichocouk Guru
Joined: 10 Mar 2005 Posts: 585 Location: Glasgow
|
Posted: Thu Jun 09, 2005 10:34 am Post subject: |
|
|
Excellent! I did not realise that marvosym provided the euro symbol and that furthermore, it was already installed!
Thanks a lot! _________________ nichocouk
L'Etat, c'est moi. |
|
Back to top |
|
|
tomvollerthun Guru
Joined: 19 Mar 2005 Posts: 316
|
Posted: Thu Jun 09, 2005 12:23 pm Post subject: |
|
|
Oh, that was easier than I had hoped for ;)
Pleasure to help. _________________ Computer science is no more about computers than astronomy is about telescopes.
Dijsktra
---------------
Don't believe my "Guru" status! |
|
Back to top |
|
|
stan666 Apprentice
Joined: 25 Jun 2007 Posts: 165 Location: Germany
|
Posted: Sun May 10, 2009 4:24 pm Post subject: |
|
|
Code: |
\usepackage[official]{eurosym}
|
should also work _________________ BOFH Excuse #450:
Terrorists crashed an airplane into the server room, have to remove /bin/laden. (rm -rf /bin/laden) |
|
Back to top |
|
|
karmaking Tux's lil' helper
Joined: 11 Feb 2004 Posts: 84 Location: Berlin, Germany
|
Posted: Fri Jul 03, 2009 7:58 pm Post subject: |
|
|
With installing dev-texlive/texlive-fontsrecommended you will get marvosym and eurosym, both of which provide an "official" EURO symbol. |
|
Back to top |
|
|
Ted79 n00b
Joined: 04 Jul 2009 Posts: 3
|
Posted: Sat Jul 04, 2009 11:27 am Post subject: |
|
|
Hello everybody! There are a number of different LaTeX packages and fonts that allow the symbol for the euro, the European currency unit, to be printed. The one I recommend below is the simplest and conforms best to the official rules.
One problem is that the official symbol is meant to be a sans serif character, always the same regardless of the font being used. This violates normal typesetting design and practice. After all, the dollar and pound signs are different for different fonts.
Of the various packages available, I recommend eurosans.
\usepackage{eurosans}
This creates the command \euro which is always sans serif, but changes to bold and/or italic as needed. _________________ omani chrome ore |
|
Back to top |
|
|
|