blob: ca01ebf45d6bc191f71602e2c8eedcc7cf4a316d (
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
|
%%
%% This is file `achemso.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% achemso.dtx (with options: `package')
%% ----------------------------------------------------------------
%% The achemso package - A BibTeX style for American Chemical
%% Society publications
%% Maintained by Joseph A. Wright
%% E-mail: joseph.wright@morningstar2.co.uk
%% Originally developed by Mats Dahlgren
%% (c) 1996-98 by Mats Dahlgren
%% (c) 2007 Joseph Wright
%% Released under the LaTeX Project Public license v1.3 or later
%% ----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{achemso}
[2007/01/17 v2.0 Enhancements for ACS publications]
\def\ACSver{\texttt{achemso} v2.0 (2007/01/17)}
\newif \ifACS@sctnnmbr \ACS@sctnnmbrfalse
\newif \ifACS@lst \ACS@lstfalse
\newif \ifACS@note \ACS@notefalse
\DeclareOption{note}{\global\ACS@notetrue}
\DeclareOption{number}{\global\ACS@sctnnmbrtrue}
\DeclareOption{list}{\global\ACS@lsttrue}
\DeclareOption*{\OptionNotUsed}
\ProcessOptions
\RequirePackage[super,nospace]{cite}
\@ifpackageloaded{babel}
{\ACS@notefalse\PackageWarning{achemso}%
{babel package loaded - note option disabled}}
{\relax}
\def\ACS@biberror{\PackageError{achemso}%
{No bibliography name command defined}\@eha}
\ifx\refname\undefined
\ifx\bibname\undefined
\ACS@biberror
\else
\ifACS@note
\renewcommand*{\bibname}{References and Notes}
\else
\renewcommand*{\bibname}{References}
\fi
\fi
\else
\ifACS@note
\renewcommand*{\refname}{References and Notes}
\fi
\fi
\ifACS@sctnnmbr
\RequirePackage[numbib]{tocbibind}
\fi
\ifACS@lst
\bibliographystyle{achemsol}
\RequirePackage[notcite]{showkeys}
\else
\bibliographystyle{achemso}
\fi
\def\@biblabel#1{#1.}
\def\ACS@bibwarning{\PackageWarning{achemso}%
{Additional bibliographystyle command ignored}}
\def\bibliographystyle{\ACS@bibwarning\@gobble}
\endinput
%%
%% End of file `achemso.sty'.
|