When using packages in LaTeX (or XeLaTeX, in my case), I load packages with \usepackage[options]{package}, but how can I "un-use" the package later in the document?
Is that even possible?
|
When using packages in LaTeX (or XeLaTeX, in my case), I load packages with Is that even possible? |
|||
|
No, this is not really possible. (La)TeX doesn't now namespaces and this makes it impossible to know which macros got defined by which packages. Also some packages might redefine existing macros and the old definition can't be restored. Same is for changed length or count registers. It might be possible to use However, you can redefine or even undefine macros defined by the package, but this must be done manually for every macro. You can mark the package as not loaded by using |
|||||||
|
undefined. – Marco Daniel Nov 10 '11 at 10:02