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.
Asked
Active
Viewed 3,763 times
8
egreg
- 1,121,712
-
2buy flowers and chocolate? – percusse Nov 21 '13 at 07:26
1 Answers
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.
\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