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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
%%
%% This is file `orglett.chemstyle.cfg',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% chemstyle.dtx (with options: `orglett')
%% ----------------------------------------------------------------
%% The chemstyle bundle --- Schemes and style for chemistry
%% E-mail: joseph.wright@morningstar2.co.uk
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
\ProvidesFile{orglett.chemstyle.cfg}
[2010/06/06 v2.0i Org. Lett. journal style]
\DeclareCaptionLabelSeparator{perquad}{.\quad}
\captionsetup{
labelfont = bf,
labelsep = perquad
}
\setkeys{cst}{
abbrcomma = true,
abbremph = false,
notesbefore = false,
radhyphen = false,
radsuper = true
}
\RequirePackage{xcolor}
\newcommand*\fs@orglett{%
\def\@fs@cfont{\bfseries}%
\let\@fs@capt\floatc@ruled
\def\@fs@pre{%
\begingroup
\color{purple}%
\hrule height 12pt depth 0pt\relax
\kern 2pt\relax
\endgroup
}%
\def\@fs@mid{%
\vspace\belowcaptionskip\relax
}%
\def\@fs@post{%
\begingroup
\color{purple}%
\kern 2pt\relax
\hrule height 1.5pt depth 0pt\relax
\endgroup
}%
\let\@fs@iftopcapt\iftrue
}
\newcommand*\fs@orglettfig{%
\def\@fs@cfont{\bfseries}%
\let\@fs@capt\floatc@plain
\def\@fs@pre{%
\begingroup
\color{purple}%
\hrule height 12pt depth 0pt\relax
\kern 2pt\relax
\endgroup
}%
\def\@fs@mid{%
\vspace\abovecaptionskip\relax
}%
\def\@fs@post{%
\begingroup
\color{purple}%
\kern 2pt\relax
\hrule height1.5pt depth 0pt\relax
\endgroup
}%
\let\@fs@iftopcapt\iffalse
}
\DeclareFloatVCode{orglettthickrule}{%
\par
\begingroup
\color{purple}%
\hrule height 12pt depth 0pt\relax
\vskip 2pt\relax
\endgroup
\par
}
\DeclareFloatVCode{orglettlowrule}{%
\par
\begingroup
\vskip 2pt\relax
\hrule height 1.5pt depth 0pt\relax
\endgroup
\par
}
\@ifpackageloaded{floatrow}{%
\floatsetup{
capposition = top,
heightadjust = all,
postcode = orglettlowrule,
precode = orglettthickrule,
midcode = rule,
}
\floatsetup[figure]{
capposition = bottom,
heightadjust = all,
postcode = orglettlowrule,
precode = orglettthickrule,
midcode = rule,
}
}{%
\floatstyle{orglettfig}
\restylefloat{figure}
\floatstyle{orglett}
\restylefloat{scheme}
\restylefloat{table}
}
%%
%% Copyright (C) 2006-2010 by
%% Joseph Wright <joseph.wright@morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version. The latest
%% version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Joseph Wright.
%%
%% This work consists of the file chemstyle.dtx and
%% chemstyle.cdx,
%% and the derived files chemstyle.pdf,
%% chemstyle.ins,
%% chemstyle.sty,
%% chemscheme.sty,
%% and a number of .cfg files.
%%
%%
%% End of file `orglett.chemstyle.cfg'.
|