blob: 27a1959422a76f6911c98547820bbb48faa6d262 (
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
|
%%
%% This is file `achemso.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% achemso.dtx (with options: `paketkod')
%%
%% Copyright (c) 1995-97 by Mats Dahlgren <matsd@homenet.se>.
%% All rights reserved. See the file `achemso.ins' for information
%% on how you may (re-)distribute the `achemso' package files.
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{achemso}[1997/02/22 version 0.99.]
\def\achemsover{\texttt{achemso} version 0.99 (1997/02/22)}
\newif \ifsctnnmbr \sctnnmbrfalse
\newif \iflst \lstfalse
\DeclareOption{note}{\renewcommand{\refname}{References and Notes}}
\DeclareOption{number}{\global\sctnnmbrtrue}
\DeclareOption{list}{\global\lsttrue}
\DeclareOption*{\OptionNotUsed}
\ProcessOptions
\RequirePackage[nospace]{overcite}
\iflst
\bibliographystyle{achemsol}
\if@twocolumn
\else
\reversemarginpar
\fi
\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
{\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces
\@showtag{#1}}
\def\@lbibitem[#1]#2{\item[\@biblabel{#1}\hfill]\if@filesw
{\let\protect\noexpand
\immediate
\write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces
\@showtag{#2}}
\newcommand{\thecitetag}[1]{\fbox{\texttt{#1}}}
\def\@showtag#1{\@tempdima=\baselineskip
\addtolength{\@tempdima}{0.5ex}
\marginpar{\hfill\raisebox{-\@tempdima}[0pt][0pt]{\thecitetag{#1}}}}
\else
\bibliographystyle{achemso}
\fi
\renewenvironment{thebibliography}[1]
{\iflst \else \par\clearpage \fi
\ifsctnnmbr
\section{\refname
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
\else
\section*{\refname
\@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
\fi
\list{\@biblabel{\@arabic\c@enumiv}}%
{\settowidth\labelwidth{\@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\@openbib@code
\usecounter{enumiv}%
\let\p@enumiv\@empty
\renewcommand\theenumiv{\@arabic\c@enumiv}}%
\sloppy\clubpenalty4000\widowpenalty4000%
\sfcode`\.\@m}
{\def\@noitemerr
{\@latex@warning{Empty `thebibliography' environment}}%
\endlist}
\def\@biblabel#1{#1.}
%%
%% End of file `achemso.sty'.
|