summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty')
-rw-r--r--Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty37
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty b/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty
new file mode 100644
index 00000000000..dfd4b5549cb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/dk-bib/dk-apali.sty
@@ -0,0 +1,37 @@
+% This file is based on BibTeX's original apalike.sty
+
+% This is dk-bib, Version 0.6 ($Id: dk-apali.sty 92 2006-05-21 21:18:10Z arne $)
+
+\def\@cite#1#2{(#1\if@tempswa , #2\fi)}
+\def\@biblabel#1{}
+
+\newlength{\bibhang}
+\setlength{\bibhang}{2em}
+
+% In case babel is not used we provide \refname and \bibname here
+\providecommand{\refname}{References}
+\providecommand{\bibname}{Bibliography}
+
+\@ifundefined{chapter}{\def\thebibliography#1{\section*{\refname\@mkboth
+ {\refname}{\refname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}%
+{\def\thebibliography#1{\chapter*{\bibname\@mkboth
+ {\MakeUppercase\bibname}{\MakeUppercase\bibname}}\list
+ {\relax}{\setlength{\labelsep}{0em}
+ \setlength{\itemindent}{-\bibhang}
+ \setlength{\leftmargin}{\bibhang}}
+ \def\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}}
+
+\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
+ \def\@citea{}\@cite{\@for\@citeb:=#2\do
+ {\@citea\def\@citea{; }\@ifundefined
+ {b@\@citeb}{{\bf ?}\@warning
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+{\csname b@\@citeb\endcsname}}}{#1}}