I want to use symbols from wasysym and marvosym packages:


but it gives an errors as both packages have the command of \CheckedBox. I do not want to use this command, but since both packages have it, it makes confusion for latex. How can I ignore one command to have both packages?


If you load the packages in the other order, then everything works fine.


If you want to keep them in the order you currently have, then the following works

  • In the last version of marvosym.sty, the command \CheckedBox is not defined any more (there's always been the alias \Checkedbox). – egreg Apr 19 '12 at 12:01
  • @cmhughes I like your second solution, as conflicts may happen with other packages too. For example, I have conflict of /Cross for marvosym and bbding. – Googlebot Apr 19 '12 at 12:13

As cmhughes indicates, sometimes loading the packages in reverse order solves the problem. However, if reversing the order still produces clashes, or if, for some reason, reversing the order is not an option, there's a nice procedure to prevent symbol names clashes when two packages define the same symbol(s): load the first package, rename the conflicting symbols, and then load the second package. The \savesymbol command from the savesym package can be used to this; \savesymbol{XXX} renames a symbol from \XXX to \origXXX:





enter image description here

  • very interesting solution. It will be a tricky approach, useful for many cases we may face; particularly when we do not want to miss a conflicted symbol. – Googlebot Apr 19 '12 at 12:15

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.