[Tex/LaTex] \cdot not working in moderncv

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.

Best Answer

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}