8

I would like to use both the marvosym package and the moderncv package. LaTeX throws an error that \fax was already defined. While this isn't a problem on MikTeX, I'm currently editing a joint document on http://writelatex.com which will not proceed to compile the document.

migrated from stackoverflow.com Nov 21 '13 at 7:11

This question came from our site for professional and enthusiast programmers.

  • 2
    buy flowers and chocolate? – percusse Nov 21 '13 at 7:26
14

Is this a problem with the native \fax command, or a problem with \fax existing in both of the the two libraries? The solution below assumes the latter, but can be modified for the former.

This pattern might help you:

\usepackage{savesym}
\usepackage{moderncv}
\savesymbol{fax}
\usepackage{marvosym}
\restoresymbol{MARV}{fax}

It should restore the regular \fax command while providing that command from marvosym as MARVfax.

Here is another link about it. And here is a link to CTAN for savesym.

  • This works perfectly. – Stephen_D_Lewis Nov 21 '13 at 0:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy