
Se eu tentar usar \cdot
em meu documento .tex (moderncv), recebo um erro como este:
! Missing $ inserted.
(inserted text)
$
here_it_gives_line_number_and_hint
Esta linha tem esta estrutura:
\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}
Quando eu removo \cdot
dele, meu documento é compilado com sucesso.
Responder1
O comando \cdot
funciona apenas em modo matemático, então digite $\cdot$
. A propósito, a mensagem de erro deu a dica correta.
\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}
Responder2
Como já foi dito, \cdot
só funciona no modo matemático, então você pode escrever arquivos $\cdot$
.
Porém, uma solução mais elegante na minha opinião é usar \textbullet
, que equivale a \cdot
mas para modo texto.