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.

egreg
  • 1,121,712

1 Answers1

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.

David Carlisle
  • 757,742