# \cdot not working in moderncv

If I try to use \cdot in my .tex document (moderncv) then I'm getting error like this:

! Missing $inserted. (inserted text)$
here_it_gives_line_number_and_hint


This line have this structure:

\tlcventry[orange]{year}{0}{DESC_1}{\href{http://DESC_1}{DESC_1} \cdot \href{http://DESC_1}{DESC_1}}{DESC_1}{ \scriptsize{\underline{\textbf{DESC_1}}} }{DESC_COMMENT}

When I remove \cdot from it, then my document compiles sucessfully.

-
as the error message says, \cdot is a math command, you have to use it in math mode: $\cdot$ –  Juri Robl Sep 2 '12 at 11:08
It seems you need no math mode here. You can also use \dots without switching in mathmode. –  Kurt Sep 2 '12 at 14:31
@Kurt \dots is not the same as $\cdot$. \dots produces an ellipsis, i.e. three consecutive dots on the baseline, while $\cdot$ produce a single dot that is centered vertically. The equivalent of \cdot in text mode is \textbullet. –  Xavier Sep 7 '12 at 12:50
@Xavier: you are right. I oversaw the missing s. –  Kurt Sep 7 '12 at 13:20

The command \cdot works only in mathmode so type $\cdot$. By the way the error message gave you the correct hint.
\tlcventry[orange]{year}{0}{DESC_1}{\href{http://DESC_1}{DESC_1}$\cdot$ \href{http://DESC_1}{DESC_1}}{DESC_1}{ \scriptsize{\underline{\textbf{DESC_1}}} }{DESC_COMMENT}

As others have said, \cdot only works in math mode, so you can write $\cdot$.
However, a more elegant solution in my opinion is to use \textbullet, which is the equivalent of \cdot but for text mode.