diff options
author | Karl Berry <karl@freefriends.org> | 2010-12-14 18:00:40 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-12-14 18:00:40 +0000 |
commit | dc9db3b0bed0e7ca4d6c1fd5b159ca0b62494c3a (patch) | |
tree | 618926a72be697e2b78bf15e0bff081277949241 /Build/source/extra/bibtex/apalike.sty | |
parent | 642cb4fe7002b0e56f1c537835e38e9ad03e99fe (diff) |
commit bibtex files from ftp.cs.stanford.edu, pre-2010 changes
git-svn-id: svn://tug.org/texlive/trunk@20737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/extra/bibtex/apalike.sty')
-rw-r--r-- | Build/source/extra/bibtex/apalike.sty | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Build/source/extra/bibtex/apalike.sty b/Build/source/extra/bibtex/apalike.sty new file mode 100644 index 00000000000..9c83ceb0d84 --- /dev/null +++ b/Build/source/extra/bibtex/apalike.sty @@ -0,0 +1,29 @@ +\def\@cite#1#2{(#1\if@tempswa , #2\fi)} +\def\@biblabel#1{} + +\newlength{\bibhang} +\setlength{\bibhang}{2em} + +\@ifundefined{chapter}{\def\thebibliography#1{\section*{References\@mkboth + {REFERENCES}{REFERENCES}}\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*{Bibliography\@mkboth + {BIBLIOGRAPHY}{BIBLIOGRAPHY}}\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}} |