%%% ====================================================================== %%% @LaTeX-style-file{ %%% filename = "segbib.sty", %%% version = "0.9", %%% date = "September 9, 1992", %%% ISO-date = "1993.9.9", %%% time = "00.00.00", %%% author = "Martin Karrenbach", %%% contact = "Stanford Exploration Project", %%% address = "366 Mitchell %%% Stanford, CA 94305", %%% telephone = "(415) 723-6007", %%% email = "martin@sep.stanford.edu (Internet)", %%% supported = "maybe", %%% archived = "not yet", %%% keywords = "REVTeX, version 3.0, main style, %%% Society of Exploration Geophysicists", %%% codetable = "ISO/ASCII", %%% docstring = "This is the main society-specific bibliographic %%% file for the Society of Exploration Geophysicists %%% under REVTeX 3.0 %%% (release of September 9, 1993)." %%% %%% ====================================================================== % ****** Start of file segbib.sty ****** % % % This file is part of the SEG files in the REVTeX 3.0 distribution. % Version 3.0 of REVTeX, November 10, 1992. % % Copyright (c) 1993 The Society of Exploration Geophysicists. % % See the REVTeX 3.0 README file for restrictions and more information. % Here goes some sep specific bibliography stuff: \def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi \def\@citea{}\@cite{\@for\@citeb:=#2\do {\@citea\def\@citea{\@citesep}\@ifundefined {b@\@citeb}{{\bf ?}\@warning {Citation `\@citeb' on page \thepage \space undefined}}% {\csname b@\@citeb\endcsname}}}{#1}} % undent first line of reference by using negative \itemindent. \def\@bibsetup{\itemindent=-\leftmargin} % Use a semicolon instead of a comma between multiple citations. \def\@citesep{; } \let\old@cite\@cite \def\@cite#1#2{({#1\if@tempswa , #2\fi})} % this one makes ( ) instead of [ ] \let\@internalcite\cite \def\cite{\def\citeauthoryear##1##2{##1, ##2}\@internalcite} \def\shortcite{\def\citeauthoryear##1##2{##2}\@internalcite} \def\@biblabel#1{\def\citeauthoryear##1##2{##1, ##2}\hfill} \def\thebibliography#1{% %\ifpreprintsty\else\newpage\fi %\par %\hbox to\hsize{\hss\small\bf\refname\hss}% \section{\bf\refname}% \list{}{% \settowidth\labelwidth{[#1]}% \leftmargin\labelwidth% \advance\leftmargin\labelsep% governs the indent, ok screws up last \usecounter{enumi}% \@bibsetup% }% \def\newblock{\hskip .11em plus .33em minus .07em} \sloppy\clubpenalty4000\widowpenalty4000 \sfcode`\.=1000\relax% } \def\endthebibliography{% \def\@noitemerr{\@warning{Empty `thebibliography' environment}}% \endlist } %\let\CITE\cite \let\onlinecite\cite % this fixes the bibliography style to be SEG compliant \bibliographystyle{seg} %% ****** End of file sepbib.sty ******