diff options
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/achemso/achemso.sty | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/achemso/achemso.sty b/Master/texmf-dist/tex/latex/achemso/achemso.sty new file mode 100644 index 00000000000..27a1959422a --- /dev/null +++ b/Master/texmf-dist/tex/latex/achemso/achemso.sty @@ -0,0 +1,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'. |