diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-15 01:10:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-15 01:10:02 +0000 |
commit | b77b8199329b20ca0d1db70060cef4e81704e74d (patch) | |
tree | a4d9ff9e9db47d18d182e88154272db9fb00fd06 /Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx | |
parent | d943f64a02a10d7684bfc86f484132152e174ce1 (diff) |
new (long-awaited) package biblatex 0.9 (14feb10)
git-svn-id: svn://tug.org/texlive/trunk@17026 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx b/Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx new file mode 100644 index 00000000000..3ff85cf53aa --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx @@ -0,0 +1,57 @@ +% $Id: numeric.bbx,v 0.9 2010/02/14 15:42:33 lehman beta $ + +\ProvidesFile{numeric.bbx} +[\abx@bbxid $Id: numeric.bbx,v 0.9 2010/02/14 15:42:33 lehman beta $] + +\RequireBibliographyStyle{standard} +\ExecuteBibliographyOptions{labelnumber} + +\providebool{bbx:subentry} + +\DeclareBibliographyOption{subentry}[true]{% + \setbool{bbx:subentry}{#1}} + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} +\DeclareNameAlias{translator}{default} + +\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} +\renewcommand*{\thebibitem}{\item} +\renewcommand*{\thelositem}{\item} + +\renewenvironment*{thebibliography} + {\list + {\printfield[labelnumberwidth]{labelnumber}} + {\setlength{\labelwidth}{\labelnumberwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}}% + \renewcommand*{\makelabel}[1]{\hss##1}} + {\endlist} + +\renewenvironment*{theshorthands} + {\list + {\printfield[shorthandwidth]{shorthand}} + {\setlength{\labelwidth}{\shorthandwidth}% + \setlength{\leftmargin}{\labelwidth}% + \setlength{\labelsep}{\biblabelsep}% + \addtolength{\leftmargin}{\labelsep}% + \setlength{\itemsep}{\bibitemsep}% + \setlength{\parsep}{\bibparsep}% + \renewcommand*{\makelabel}[1]{\hss##1}}} + {\endlist} + + +\DeclareBibliographyDriver{set}{% + \ifbool{bbx:subentry} + {\entryset{% + \printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}}{}} + {\entryset{}{}} + \finentry} + +\endinput |