%%
%% This is file `rsc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rsc.dtx  (with options: `package')
%%  ----------------------------------------------------------------
%%  The rsc package - BibTeX support for Royal Society of Chemistry
%%  and Wiley style article
%%  Maintained by Joseph Wright
%%  E-mail: joseph.wright@morningstar2.co.uk
%%  Released under the LaTeX Project Public License v1.3 or later
%%  See http://www.latex-project.org/lppl.txt
%%  ----------------------------------------------------------------
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rsc}[2008/01/16 v2.2b
  Useful chemistry functions]
\PackageInfo{rsc}{The rsc package has been superseded!}
\DeclareOption{floatleft}{\AtEndOfPackage{\floatcontentsleft}}
\DeclareOption{fl}{\ExecuteOptions{floatleft}}
\DeclareOption{natbib}{\AtEndOfPackage{%
  \RequirePackage[numbers,sort&compress,super]{natbib}}}
\DeclareOption{rsc}{%
  \PassOptionsToPackage{\CurrentOption}{chemstyle}%
  \def\@biblabel#1{#1}%
  \PackageInfo{rsc}%
    {Loading the chemstyle package with the `rsc' option}%
}
\DeclareOption{angew}{%
  \PassOptionsToPackage{\CurrentOption}{chemstyle}%
  \PackageInfo{rsc}%
    {Loading the chemstyle package with the `angew' option}%
  \AtBeginDocument{%
    \@ifpackageloaded{natbib}
      {\renewcommand*\NAT@open{[}\renewcommand*\NAT@close{]}}
      {\def\@citess#1{\textsuperscript{[#1]}}}
  }
}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{chemstyle}}
\ExecuteOptions{rsc}
\ProcessOptions\relax
\RequirePackage{chemstyle}
\floatcontentscentre
\AtEndOfPackage{
  \@ifpackageloaded{natbib}{}
    {\RequirePackage[super]{cite}}
}
\endinput
%%
%% End of file `rsc.sty'.
