diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty index d5f78b8c505..4d899d4076e 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-abstract.sty @@ -15,6 +15,7 @@ %% http://www.latex-project.org/lppl.txt %% and version 1.3 or later is part of all distributions of LaTeX %% version 2005/12/01 or later. +\ProvideDocumentEnvironment{abstract}{}{}{} \LWR@ProvidesPackagePass{abstract} \AtBeginDocument{ @@ -32,6 +33,33 @@ \@bslabeldelim}% } +\@ifclassloaded{memoir} +{ + \renewenvironment{abstract}{% + \null\vfil + \@beginparpenalty\@lowpenalty + \if@bsrunin + \else + \if@bsstyle + \abstitlestyle{\BlockClassSingle{abstracttitle}{\abstractname}} + \else + \ifnumber@bs + \num@bs + \else + \begin{\absnamepos}% + \abstractnamefont \BlockClassSingle{abstracttitle}{\abstractname} + \@endparpenalty\@M + \end\absnamepos% +%% \vspace{\abstitleskip}% + \fi + \fi + \vspace{\abstitleskip}% + \fi + \put@bsintoc% + \begin{@bstr@ctlist}\if@bsrunin\@bsrunintitle\fi\abstracttextfont}% + {\par\end{@bstr@ctlist}\vfil\null%\endtitlepage + } +}{% not memoir \if@titlepage \renewenvironment{abstract}{% \null\vfil @@ -79,7 +107,7 @@ \begin{@bstr@ctlist}\if@bsrunin\@bsrunintitle\fi\abstracttextfont}% {\par\end{@bstr@ctlist}} \fi - +}% not memoir \endinput %% |