diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/margbib')
-rw-r--r-- | Master/texmf-dist/tex/latex/margbib/margbib.sty | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/margbib/margbib.sty b/Master/texmf-dist/tex/latex/margbib/margbib.sty new file mode 100644 index 00000000000..696929a3494 --- /dev/null +++ b/Master/texmf-dist/tex/latex/margbib/margbib.sty @@ -0,0 +1,65 @@ +%% +%% This is file `margbib.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% margbib.dtx +%% +%% This file is part of the MARGBIB package, a package for displaying +%% bibliography tags in the margins. Copyright (C) 1997 Karsten Tinnefeld. +%% +%% This file is NOT part of the LaTeX2e system, but intended for use with +%% it. +%% +%% This file is free software; you can redistribute it and/or modify it +%% under the terms of the GNU Library General Public License as published +%% by the Free Software Foundation; either version 2 of the License, or +%% (at your option) any later version. +%% +%% This document is distributed in the hope that it will be useful, but +%% WITHOUT ANY WARRANTY; without even the implied warranty of +%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +%% General Public License for more details. +%% +%% You should have received a copy of the GNU General Public License +%% somehow; if not, write to the Free Software Foundation, Inc., 675 Mass +%% Ave, Cambridge, MA 02139, USA. +%% +%% Error Reports in case of UNCHANGED versions to +%% +%% Karsten Tinnefeld +%% Leostrasse 11 +%% D-44225 Dortmund +%% Germany +%% Email: tinnefeld@irb.cs.uni-dortmund.de +%% +%%%%%%%%%%%%%%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{margbib} + [1997/11/11 1.0c Bib-Items into the margins] +\IfFileExists{marn.sty}{% + \RequirePackage{marn} + }{% + \PackageWarning{margbib}{% + marn package unavailable -- using \string\marginpar}% + \let\marn\marginpar} +\def\bibitem{\@ifnextchar[\@lbibitem\@bibitem} +\def\@lbibitem[#1]#2{\item[]\if@filesw + {\makebox{}\marn{\@biblabel{#1}}% + \let\protect\noexpand + \immediate + \write\@auxout{\string\bibcite{#2}{#1}}}\fi\ignorespaces} +\def\@bibitem#1{\item[]\if@filesw\immediate\write\@auxout + {\string\bibcite{#1}{\the\value{\@listctr}}}\fi\ignorespaces} +\let\m@rgbib=\thebibliography +\let\endm@rgbib=\endthebibliography +\renewenvironment{thebibliography}[1]{% + \begin{m@rgbib}{#1} + \parshape=0\relax + }{% + \end{m@rgbib} + } +\endinput +%% +%% End of file `margbib.sty'. |