TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to make this equation in LateX but I get some errors when i try to do that.

enter image description here

Can you help me please??

share|improve this question
Hi and Welcome to TeX.sx. Could you post what code you've tried as a complete, compilable document (even if it yields errors). – Alan Munn Jan 5 '14 at 21:26
Now im using this code: [{CTrain}_{Tot}= 4h*10\frac { \euro }{ h*pers } *1500pers] but i get "e" and not "€" i had already import the package "eurosym" – dadem Jan 5 '14 at 21:57
up vote 10 down vote accepted

I'd consider using siunitx for this kind of things:


  per-mode = fraction,
  inter-unit-product = \ensuremath{{}\cdot{}},

\SI{4}{h}\cdot \SI{10}{\EUR\per\hour\per\pers}\cdot\SI{1500}{\pers}

enter image description here

share|improve this answer
wonderful! thx man! i dont understand every row of your code but thx! – dadem Jan 5 '14 at 22:16
@dadem siunitx is a very powerful and customizable package; give a look at its manual. – egreg Jan 5 '14 at 22:21

Because you do not give more information I can only guess what documentclass you are using and what errors you are fighting. I have added two examples:

\usepackage{amsmath, amssymb}


${\text{Ctrain}_{\text{Tot}}=4h*10 \frac{\mbox{\euro}}{h*\text{pers}}*1500\text{pers}}$


${\text{Ctrain}_{\text{Tot}}=4h*10 \frac{\text{\euro}}{h*\text{pers}}*1500\text{pers}}$


You should also use the search function! There is an excellent answer here.

share|improve this answer
I get answer from @egreg already try the solution that you linked to me but doesn't work. Solution form egreg was very good! – dadem Jan 6 '14 at 9:31

use this in between $ signs :

 { CTrain }_{ Tot }\quad =\quad 4h*10\frac { \euro  }{ h*pers } *1500pers

To be able to use this code you must first import required package for euro sign. You can use any one of following packages:

  • eurosym
  • eurosans

If this is not working on your tex/latex editor use the following link:


share|improve this answer
already use it! but i still have the problem with € symbol – dadem Jan 5 '14 at 22:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.