Hi all,

I crawled all over Google and CTAN and couldn't find an answer to this 
question:

What's the difference between \RequirePackage and \usepackage?

When would I use \RequirePackage? I've never used it before -- I've always 
used \usepackage.

One thing my Google travels did uncover is that if you use two different 
packages both containing \RequirePackage{fancyhdr}, you'll get an error 
message and compilation will halt. There's no solution for this as easy as the 
old C idiom:

#ifndef MYINCLUDE
#define MYINCLUDE 1
/*begin code for myinclude.h*/
/*end code for myinclude.h*/
#endif

So, when would I need to use \RequirePackage?

Thanks

StevET
 as easy
-- 
Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


Reply via email to