Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get the Euro symbol in Latex? [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Wed Jun 08, 2005 10:21 pm    Post subject: How to get the Euro symbol in Latex? [SOLVED] Reply with quote

Hi,
I want to make Euro symbols with latex, so I do
Code:
 emerge -av eurosym
, 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
View user's profile Send private message
tomvollerthun
Guru
Guru


Joined: 19 Mar 2005
Posts: 316

PostPosted: Thu Jun 09, 2005 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
nichocouk
Guru
Guru


Joined: 10 Mar 2005
Posts: 585
Location: Glasgow

PostPosted: Thu Jun 09, 2005 10:34 am    Post subject: Reply with quote

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
View user's profile Send private message
tomvollerthun
Guru
Guru


Joined: 19 Mar 2005
Posts: 316

PostPosted: Thu Jun 09, 2005 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
stan666
Apprentice
Apprentice


Joined: 25 Jun 2007
Posts: 165
Location: Germany

PostPosted: Sun May 10, 2009 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
karmaking
Tux's lil' helper
Tux's lil' helper


Joined: 11 Feb 2004
Posts: 84
Location: Berlin, Germany

PostPosted: Fri Jul 03, 2009 7:58 pm    Post subject: Reply with quote

With installing dev-texlive/texlive-fontsrecommended you will get marvosym and eurosym, both of which provide an "official" EURO symbol.
Back to top
View user's profile Send private message
Ted79
n00b
n00b


Joined: 04 Jul 2009
Posts: 3

PostPosted: Sat Jul 04, 2009 11:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum