From 860b31bf928728ad05845f6b777a082d55ed1d6f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 4 Sep 2009 00:48:30 +0000 Subject: abstract update (2sep09) git-svn-id: svn://tug.org/texlive/trunk@15049 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/abstract/abstract.sty | 34 ++++++----------------- 1 file changed, 8 insertions(+), 26 deletions(-) (limited to 'Master/texmf-dist/tex') diff --git a/Master/texmf-dist/tex/latex/abstract/abstract.sty b/Master/texmf-dist/tex/latex/abstract/abstract.sty index ee1927806de..67d852fd80b 100644 --- a/Master/texmf-dist/tex/latex/abstract/abstract.sty +++ b/Master/texmf-dist/tex/latex/abstract/abstract.sty @@ -7,26 +7,23 @@ %% abstract.dtx (with options: `usc') %% %% ----------------------------------------------------------------- -%% Author: Peter Wilson, Herries Press (herries dot press at earthlink dot net) -%% Copyright 2000 --- 2009 Peter R. Wilson +%% Author: Peter Wilson, Herries Press +%% Maintainer: Will Robertson (will dot robertson at latex-project dot org) +%% Copyright 2000--2009 Peter R. Wilson %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either -%% version 1.3 of this license or (at your option) any -%% later version. -%% The latest version of the license is in -%% http://www.latex-project.org/lppl.txt -%% and version 1.3 or later is part of all distributions of -%% LaTeX version 2003/06/01 or later. +%% version 1.3c of this license or (at your option) any +%% later version: %% -%% This work has the LPPL maintenance status "author-maintained". +%% This work has the LPPL maintenance status "maintained". +%% The Current Maintainer of this work is Will Robertson. %% %% This work consists of the files listed in the README file. %% ----------------------------------------------------------------- %% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{abstract}[2009/05/23 v1.2 configurable abstracts] - +\ProvidesPackage{abstract}[2009/06/08 v1.2a configurable abstracts] \newif\if@bsonecol \@bsonecoltrue \newif\ifadd@bstotoc @@ -37,7 +34,6 @@ \@bsruninfalse \newif\if@bsstyle \@bsstylefalse - \DeclareOption{original}{\@bsonecolfalse} \DeclareOption{addtotoc}{\add@bstotoctrue} \DeclareOption{number}{\number@bstrue} @@ -46,22 +42,18 @@ \ProcessOptions\relax \if@bsstyle\number@bsfalse\add@bstotocfalse\fi \if@bsrunin\number@bsfalse\@bsstylefalse\fi - \newcommand{\abstractnamefont}{\normalfont\small\bfseries} \newcommand{\abstracttextfont}{\normalfont\small} - \newcommand{\absnamepos}{center} \newlength{\abstitleskip} \setlength{\abstitleskip}{-0.5em} \newlength{\absleftindent} \newlength{\absrightindent} \newlength{\absparindent} \newlength{\absparsep} - \newcommand{\abslabeldelim}[1]{\def\@bslabeldelim{#1}} \abslabeldelim{} \newcommand{\@bsrunintitle}{% \hspace*{\abstitleskip}{\abstractnamefont\abstractname\@bslabeldelim}} - \if@titlepage \setlength{\absleftindent}{\z@} \renewcommand{\abstractnamefont}{\normalfont\bfseries} @@ -85,7 +77,6 @@ \setlength{\absrightindent}{\absleftindent} \AtBeginDocument{\setlength{\absparindent}{\parindent} \setlength{\absparsep}{\parskip}} - \newenvironment{@bstr@ctlist}{% \list{}{% %%\topsep \z@ @@ -97,7 +88,6 @@ \parsep \absparsep}% \item\relax} {\endlist} - \newcommand{\put@bsintoc}{% \ifadd@bstotoc \ifnumber@bs\else @@ -105,14 +95,11 @@ \addcontentsline{toc}{chapter}{\abstractname}} \fi \fi} - \newcommand{\num@bs}{% \@ifundefined{chapter}{\section{\abstractname}}{% \chapter{\abstractname}} } - \newcommand*{\abstitlestyle}[1]{#1} - \if@titlepage \renewenvironment{abstract}{% \titlepage @@ -158,26 +145,21 @@ \begin{@bstr@ctlist}\if@bsrunin\@bsrunintitle\fi\abstracttextfont}% {\par\end{@bstr@ctlist}} \fi - \newenvironment{onecolabstract}{% \begin{@twocolumnfalse}\begin{abstract}}{% \end{abstract}\end{@twocolumnfalse}} - \providecommand{\appendiargdef}[2]{\begingroup \toks@\expandafter{#1{##1}#2}% \edef\@bsx{\endgroup \def\noexpand#1####1{\the\toks@}}% \@bsx} - \appendiargdef{\thanks}{% \protected@xdef\@bs@thanks{\@bs@thanks \protect\footnotetext[\the\c@footnote]{#1}}% } \let\@bs@thanks\@empty - \newcommand{\saythanks}{\begingroup \renewcommand{\thefootnote}{\fnsymbol{footnote}}\@bs@thanks \endgroup\global\let\@bs@thanks\@empty} - \endinput %% %% End of file `abstract.sty'. -- cgit v1.2.3