Reinhard Kotucha <[EMAIL PROTECTED]> writes:

> However, I proposed \input instead of \usepackage to allow inserting
> it at the very top of a file, i.e. before \documentclass.

That's a bad idea since it will not set the right catcodes for @ and
not record stuff properly and the option parsing does not work, and
you'll have \ProvidesPackage barf.

> \usepackage will issue the following error massage in this case:
>
>    ! LaTeX Error: \usepackage before \documentclass.

So use \RequirePackage instead.  That's for "internal use" and works
before \documentclass.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

Reply via email to