
Si intento usarlo \cdot
en mi documento .tex (moderncv), aparece un error como este:
! Missing $ inserted.
(inserted text)
$
here_it_gives_line_number_and_hint
Esta línea tiene esta estructura:
\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}
\cdot
Cuando lo elimino , mi documento se compila correctamente.
Respuesta1
El comando \cdot
sólo funciona en modo matemático, así que escriba $\cdot$
. Por cierto, el mensaje de error te dio la pista correcta.
\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}
Respuesta2
Como han dicho otros, \cdot
sólo funciona en modo matemático, por lo que puedes escribir $\cdot$
.
Sin embargo, en mi opinión, una solución más elegante es usar \textbullet
, que es el equivalente a \cdot
pero para el modo texto.