How to add euro currency symbol (€) on a . tex page in Latex?

Asked

Viewed 711 times

3

I’m doing my TCC monograph on Overleaf and I’m having trouble inserting the euro symbol (€) on a page. tex template that my college offers to develop the monograph.

Concluding: I wanted to rename €50,000 to €50,000

\chapter{REVISÃO BIBLIOGRÁFICA/TEÓRICA}
\label{chap:fundamentacaoTeorica}

...
que custa 50 mil euros teve como pontos fortes a cor...
...
  • See: https://stackoverflow.com/questions/1252998/how-can-i-compile-latex-in-utf8

1 answer

4


You can use the package eurosym.

Utilizing

\usepackage{eurosym}
...
The book is 10 \euro.
The book is \euro 10.
The book is \EUR{10}.
\textbf{The book is \EUR{10}.}
\textit{The book is \EUR{10}.}

If you are using UTF-8, you can easily declare:

\usepackage{eurosym}
\usepackage[utf8]{inputenc}
\DeclareUnicodeCharacter{20AC}{\euro}

Or if a different encoding is used, such as latin9:

\usepackage{eurosym}
\usepackage[latin9]{inputenc}
\let € = \euro
...
Das Buch kostet 10 €.

I believe that the simplest way is to declare the package and use its function, which already makes the adaptations for each type of coding:

\usepackage{eurosym}
...
\EUR{50.000}

See an example on Overleaf.

  • where I place the \usepackage{eurosym}on the page . tex of the bibliographic/theoretical review?

  • That, at the beginning of the file .tex, where all package declarations are. See a example, where you stay with the others \usepackage{pacote}

  • 1

    I got it, I had to insert it \usepackage{eurosym} in the pacote.tex from my template. Thanks for your help.

  • In the Brazilian monograph, it is advisable to use € 50.000 or 50.000 € to describe the value?

  • I do not know how to inform this, you should consult the standard used. But in news and other, is usually used the € value.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.