The soul package defines a ton of short macros, some of which I use regularly for my own writing. I only need \hl and \sethlcolor. Is there a way to load the package and only get those two commands?
|
|
Some packages allow to select the amount of defined macros using options, but I don't think the For very simple packages could be loaded in a group and only the wanted commands could be defined globally. However, this is getting complicated as soon this commands are using internal macros which of course also must be kept defined. The
Also some internal LaTeX macro which are defined for every loaded package must be handled, etc. A better way would be to either only (re-)define the macros after loading the package, as Alan Munn already stated, or save and restore the macros in question around the
However, this might cause problems if the package relies on its own definition of these macros. |
|||||
|
|
You can load the |
|||
|
|