summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/chemstyle/orglett.jdf
blob: b58a72e13900ef206ca7ac7e36455d5c738ce537 (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
%%
%% This is file `orglett.jdf',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% chemstyle.dtx  (with options: `orglett')
%%  ----------------------------------------------------------------
%%  The chemstyle bundle --- Schemes and style for chemistry
%%  Maintained by Joseph Wright
%%  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.jdf}
  [\cst@ver Org. Lett. journal style]
\RequirePackage{xcolor}
\@ifpackageloaded{floatrow}
  {\PackageError{chemstyle}
    {Org. Lett. style only works with float}
    {Load chemstyle with the floatrow=false option
      to\MessageBreak use the orglett style}}
  {}
\newcommand*{\OrgLettColour}{purple}
\newcommand*{\fs@orglett}{%
  \def\@fs@cfont{\bfseries}%
  \let\@fs@capt\floatc@ruled
  \def\@fs@pre{\begingroup\color{\OrgLettColour}
    \hrule height12pt depth0pt \kern2pt\endgroup}%
  \def\@fs@mid{\vspace\belowcaptionskip\relax}%
  \def\@fs@post{\begingroup\color{\OrgLettColour}\kern2pt
    \hrule height1.5pt depth0pt\endgroup}%
  \let\@fs@iftopcapt\iftrue}
\newcommand*{\fs@orglettfig}{%
  \def\@fs@cfont{\bfseries}%
  \let\@fs@capt\floatc@plain
  \def\@fs@pre{\begingroup\color{\OrgLettColour}%
    \hrule height12pt depth0pt \kern2pt\endgroup}%
  \def\@fs@mid{\vspace\abovecaptionskip\relax}%
  \def\@fs@post{\begingroup\color{\OrgLettColour}\kern2pt
    \hrule height1.5pt depth0pt\endgroup}%
  \let\@fs@iftopcapt\iffalse}
\floatstyle{orglettfig}
\restylefloat{figure}
\floatstyle{orglett}
\restylefloat{scheme}
\restylefloat{table}
\DeclareCaptionLabelSeparator{perquad}{.\quad}
\captionsetup{labelfont=bf,labelsep=perquad}
\setkeys[cst]{opt}{
  radprefix=true,
  rademph=true,
  radsuper=true,
  radhyphen=false,
  abbremph=false,
  abbrcomma=true,
  notesbefore=true}
\cst@notesbeforefalse
\endinput
%%
%% End of file `orglett.jdf'.