blob: 6fe4351a872227634a02ec6e1d73cb709d6f498f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
|
%%
%% This is file `rsc.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% rsc.dtx (with options: `package')
%% ----------------------------------------------------------------
%% The rsc package - BibTeX and macro support for Royal Society
%% of Chemistry and Wiley chemistry articles
%% Maintained by Joseph Wright
%% E-mail: joseph.wright@morningstar2.co.uk
%% Released under the GNU General Public License
%% See http://www.gnu.org/licenses/gpl.txt
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{rsc}[2007/08/24 v2.1a
Useful chemistry functions]
\RequirePackage{unitsdef,graphicx,amssymb,fixltx2e,varioref}
\newif \ifRSC@fl \RSC@flfalse
\newif \ifRSC@cl \RSC@clfalse
\newif \ifRSC@chapter \RSC@chapterfalse
\newif \ifRSC@angew \RSC@angewfalse
\newif \ifRSC@natbib \RSC@natbibfalse
\DeclareOption{floatleft}{\global\RSC@fltrue}
\DeclareOption{fl}{\global\RSC@fltrue}
\DeclareOption{captionleft}{\global\RSC@cltrue}
\DeclareOption{cl}{\global\RSC@cltrue}
\DeclareOption{chapter}{\global\RSC@chaptertrue%
\PassOptionsToPackage{chapter}{chemscheme}}
\DeclareOption{ch}{\global\RSC@chaptertrue%
\PassOptionsToPackage{chapter}{chemscheme}}
\DeclareOption{angew}{\global\RSC@angewtrue%
\global\RSC@cltrue}
\DeclareOption{natbib}{\global\RSC@natbibtrue}
\DeclareOption{chemcompounds}%
{\PassOptionsToPackage{chemcompounds}{chemscheme}}
\ProcessOptions
\RequirePackage{chemscheme}
\ifRSC@natbib
\RequirePackage[numbers,sort&compress,super]{natbib}
\else
\RequirePackage[super]{cite}
\fi
\newunit{\cubiccentimeter}{\cm\unitsuperscript{3}}
\newcommand*{\cmc}{\cubiccentimeter}
\newcommand*{\Hz}{\hertz}
\newunit{\Molar}{\textsc{m}}
\newunit{\molar}{\mole\unitsep\dm\unitsuperscript{--3}}
\newunit{\mmHg}{mm\unitsep{}Hg}
\newcommand*{\standardstate}%
{\textsuperscript{\rotatebox[origin=c]{140.8}%
{\ensuremath{\varnothing}}}}
\newcommand*{\iPr}%
{\ifRSC@angew\emph{i}Pr\else Pr\textsuperscript{i}\fi}
\newcommand*{\iBu}%
{\ifRSC@angew\emph{i}Bu\else Bu\textsuperscript{i}\fi}
\newcommand*{\sBu}%
{\ifRSC@angew\emph{s}Bu\else Bu\textsuperscript{s}\fi}
\newcommand*{\tBu}%
{\ifRSC@angew\emph{t}Bu\else Bu\textsuperscript{t}\fi}
\ifRSC@angew
\ifRSC@natbib
\renewcommand\NAT@open{[}\renewcommand\NAT@close{]}
\else
\def\@citess#1{\textsuperscript{[#1]}}
\fi
\else
\def\@biblabel#1{#1}
\fi
\ifRSC@angew
\RequirePackage[labelsep=period,labelfont=bf]{caption}
\captionsetup[table]{labelsep=colon}
\else
\RequirePackage[labelsep=quad,labelfont=bf]{caption}
\fi
\ifRSC@cl
\captionsetup{singlelinecheck=off}
\else
\fi
\ifRSC@angew
\else
\renewcommand{\figurename}{Fig.}
\fi
\@ifclassloaded{memoir}
{\let\newfloat\@undefined
\RequirePackage{float}}
{}
\floatstyle{plaintop}
\restylefloat{table}
\floatstyle{plain}
\restylefloat{scheme}
\restylefloat{figure}
\floatplacement{table}{htbp}
\floatplacement{scheme}{htbp}
\floatplacement{figure}{htbp}
\ifRSC@fl
\floatcontentsleft
\else
\floatcontentscentre
\fi
\labelformat{scheme}{\schemename~#1}
\labelformat{figure}{\figurename~#1}
\labelformat{table}{\tablename~#1}
\endinput
%%
%% End of file `rsc.sty'.
|