what exactly is the difference between \usepackage and \RequirePackage in LaTeX? Which one is
to be used in which case ?
Igor
AFAIK \usepackage is a user command to make the TeX
compile use a certain LaTeX package while compiling your
document. \RequirePackage on the other hand is used by
package writers to have their LaTeX package load other
packages they need to implement certain features.
HTH
Sven
--
-----------------------------------------------------------
sven dot bovin at chem dot kuleuven dot ac dot be
-----------------------------------------------------------
To elaborate a bit, \usepackage contains extra error checking.
If \usepackage is used before the \documentclass or after the
\begin{document}, LaTeX will output an error message. Between
\documentclass and \begin{document}, \usepackage is let-bound
to \RequirePackage (i.e., the two are equivalent).
As Sven said, \usepackage is intended for users to use in
their documents, and \RequirePackage is intended for package
authors.
-- Scott