# Can one reconfigure packages after \usepackage?

Is it possible to change the options a package was invoked with after the fact? That is, could one define \OopsIWishIHadWrittenDraftWhenIncludingGraphicx so that

\documentclass{article}
\usepackage[final]{graphicx}
\begin{document}
...
\end{document}


would produce the same result as

\documentclass{article}
\usepackage[draft]{graphicx}
\begin{document}
...
\end{document}


?

-
Have you tried using \usepackage a second time with different parameters? –  sfat Nov 1 '13 at 12:56
Depends on the option. In your example you only need to use \makeatletter\Gin@drafttrue\makeatother. But not every option is so simple. –  Ulrike Fischer Nov 1 '13 at 12:58
In general, the answer is "no". The problem is that an entirely different branch of the package code may execute, depending on which options are passed to \usepackage[...]{...}. –  Jubobs Nov 1 '13 at 13:57

• hyperref
• geometry
• enumitem