|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T a
Length: 7750 (0x1e46)
Types: TextFile
Names: »agugrl.sty«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12
└─⟦this⟧ »latex-style/agugrl.sty«
% agugrl.sty
% For American Geophysical Union
% Geophysical Research Letters
%
% This style option is designed to work with the article document
% style of LaTeX version 2.09. Use
% \documentstyle[agugrl]{article}
%
% Notes: if your output device is not at least 300dpi AGU will
% probably reject your paper. AGU requires 12pt type.
%
% The rules here are from "Specifications for typeset GRL papers" 5/85.
% 09 Jul 87
% Copyright (c) 1987 by Stephen Gildea
% Permission to copy all or part of this work is granted, provided
% that the copies are not made or distributed for resale, and that
% the copyright notice and this notice are retained.
%
% THIS WORK IS PROVIDED ON AN "AS IS" BASIS. THE AUTHOR PROVIDES NO
% WARRANTY WHATSOEVER, EITHER EXPRESS OR IMPLIED, REGARDING THE WORK,
% INCLUDING WARRANTIES WITH RESPECT TO ITS MERCHANTABILITY OR FITNESS
% FOR ANY PARTICULAR PURPOSE.
% If you make any improvements, I'd like to hear about them.
% Stephen Gildea
% MIT Earth Resources Lab
% Cambridge, Mass. 02139
% mit-erl!gildea
% gildea@erl.mit.edu
\oddsidemargin 1.1875in %set left margin to 2 3/16"
\textwidth 4.125in %or 25 picas or 10.4 cm
% With such a short line width, line breaking is going to be a
% problem, so give TeX a break:
\sloppy
\textheight 8.5in
\topmargin 0pt
\footheight 0pt
\footskip 0pt
\parindent 1em
\parskip 0in
\def\@normalsize{\@setsize\normalsize{14pt}\xiipt\@xiipt
\abovedisplayskip 14pt \belowdisplayskip \abovedisplayskip
\abovedisplayshortskip 14pt \belowdisplayshortskip \abovedisplayshortskip}
\def\footnotesize{\@setsize\footnotesize{12pt}\xpt\@xpt}
% Set up page style
\def\ps@agu{\def\@oddhead{\hss\hbox to 7in{\rm\hfil\thepage}\hss}
\let\@evenhead\@oddhead
\def\@oddfoot{}\def\@evenfoot{}}
\ps@agu
%% Bibliography %%
\def\thebibliography#1{\section*{References\markboth
{REFERENCES}{REFERENCES}}\list
%% default is no labels, for those not using \cite or BibTeX
{}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
\advance\leftmargin\labelsep
\usecounter{enumi}\@bibsetup}
\def\newblock{\hskip .11em plus .33em minus -.07em}
\sloppy
\sfcode`\.=1000\relax}
% Don't put the citation in an hbox.
\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}}
% Use a semicolon instead of a comma between multiple citations.
\def\@citesep{; }
% square brackets instead of the round parens that most nat. sci.
% publications use.
\def\@cite#1#2{[{#1\if@tempswa , #2\fi}]}
% Labels should not be printed in References
\def\@biblabel#1{\hfill}
% undent first line of a reference by using negative \itemindent.
% set \itemsep and \parsep to 0pt so there is no space between items.
\def\@bibsetup{\itemindent=-\leftmargin \itemsep=0pt \parsep=0pt}
%% Titles %%
% Use \thispagestyle{empty}
\def\maketitle{\par
\begingroup
\def\@makefnmark{\hbox
to 0pt{$^{\@thefnmark}$\hss}}
\if@twocolumn
\twocolumn[\@maketitle]
\else \newpage
\global\@topnum\z@ \@maketitle \fi\thispagestyle{empty}\@thanks
\endgroup
\setcounter{footnote}{0}
\let\maketitle\relax
\let\@maketitle\relax
\gdef\@thanks{}\gdef\@address{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\newpage
\@titleline{\@title}
\unvbox\@titlebox}
\def\title#1{\gdef\@title{\uppercase{#1}}}
% We have to accumulate the author info into a box because \author
% and \address may be called more than once if there are multiple
% authors with different addresses.
\newbox\@titlebox
\def\author#1{\setbox\@titlebox\vbox{\unvbox\@titlebox
{\@titleline{#1}}}}
\def\address#1{\setbox\@titlebox\vbox{\unvbox\@titlebox
{\@titleline{#1}}}}
% AGU allows the title and author to be 8 1/2 in wide, but obviously
% that will not fit on our paper.
\def\@titleline#1{\hbox to \hsize{\hss
\vbox{\hsize 7.9in\noindent\centering #1}\hss}\vskip 14pt}
% The abstract environment
\def\abstract{\vskip 14pt \subsubsection{Abstract}}
\def\endabstract{\par}
\def\acknowledgments{\vskip 14pt \subsubsection{Acknowledgments}}
\def\acknowledgements{\vskip 14pt \subsubsection{Acknowledgements}}
\def\endacknowledgments{\par}
\def\endacknowledgements{\par}
% Headings:
% for Grade 1 heading use \section
% for Grade 2 heading use \subsection
% for Grade 3 heading use \subsubsection
\setcounter{secnumdepth}{0}
\def\section{\@startsection {section}{1}{\z@}{14pt}{14pt}{\centering}}
\def\subsection{\@startsection {subsection}{2}{\z@}{14pt}{14pt}{\it}}
\def\subsubsection#1{\par{\it #1.}}
% Put the boxes in the margin that show the first reference
% to a figure or table
\def\marginboxed#1{\marginpar{{\Large\fbox{#1}}}}
% A modification of plain TeX to make the rule shorter.
\def\footnoterule{\kern-3\p@
\hrule width 4pc \kern 2.6\p@} % the \hrule is .4pt high
\def\authorrule{\footnoterule \vskip 2pt \relax}
% the addresses environment is used at the end of the paper to
% list the authors' full addresses. Put a blank line between addresses.
\def\addresses{\vskip-\lastskip\leavevmode\authorrule}
\def\endaddresses{\par}
% the received environment for the Received, Revised, Accepted lines
\def\received{\addvspace{\baselineskip}\parindent=0pt}
\def\endreceived{\par\addvspace{\baselineskip}}
\def\copyrightnotice#1{\addvspace{\baselineskip}\noindent#1\par
\addvspace{2ex}}
\def\papernumber#1{\noindent Paper number #1}
\def\runninghead#1{\runningheads{3}{#1}}
% \runningheads prints #1 copies of the text in #2
\newcount\@rhcnt
\def\runningheads#1#2{\par\addvspace{2\baselineskip}\@rhcnt=0
\loop\ifnum\@rhcnt<#1
\advance \@rhcnt by 1
\rhead{#2}
\repeat
\par\vskip 6pt}
\def\rhead#1{\par\noindent\vskip 6pt\hbox to 30pc{#1\hfil}}
% put this before the figure captions
\def\captions{\par\parskip 14pt \parindent 0pt}
\def\endcaptions{\par}
% Put each table in a separate table environment.
% "tables: type each on a separate page"
\def\table{\newpage\par \vskip 14pt \parskip 0pt \parindent 1em}
\def\endtable{\par}
% If figure captions or tables need to be a specific width,
% put them inside the wider environment. The argument is the
% width, ala minipage. The advantage over minipage is that the
% requested width can be wider than \textwidth
\def\wider#1{\par\noindent\hbox to \textwidth\bgroup
\begin{minipage}{#1}}
\def\endwider{\end{minipage}\hss\egroup\par}
% Unfortunately, the default \@arrayparboxrestore clobbers \parindent.
% This version doesn't.
\def\@arrayparboxrestore{\let\par\@@par
\let\-\@dischyph
\let\'\@acci \let\`\@accii \let\=\@acciii
\everypar{}\linewidth\hsize
\@totalleftmargin\z@ \leftskip\z@ \rightskip\z@ \@rightskip\z@
\parfillskip\@flushglue \lineskip\normallineskip
\baselineskip\normalbaselineskip\sloppy}
% The expandedtablar environment is like tabular, but always produces
% tables that are as wide as the current text length. It does NOT
% take the optional [] argument that tabular does.
% This is \@tabular and \@array collapsed.
\def\expandedtabular#1{\leavevmode \hbox \bgroup $\let\@acol\@tabacol
\let\@classz\@tabclassz
\let\@classiv\@tabclassiv \let\\\@tabularcr
\setbox\@arstrutbox=\hbox{\vrule
height\arraystretch \ht\strutbox
depth\arraystretch \dp\strutbox
width\z@}\@mkpream{#1}\edef\@preamble{\halign to \textwidth
\bgroup \tabskip 0pt plus 1fil \@arstrut \@preamble \tabskip\z@ \cr}%
\let\@startpbox\@@startpbox \let\@endpbox\@@endpbox
\vcenter
\bgroup \let\par\relax
\let\@sharp##\let\protect\relax \lineskip\z@\baselineskip\z@\@preamble}
\def\endexpandedtabular{\crcr\egroup\egroup $\egroup}