diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx new file mode 100644 index 00000000000..531dfe4df02 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-plain.bbx @@ -0,0 +1,81 @@ +%% Copyright (c) 2012 -- 2015 Marco Daniel +%% 2016 -- Moritz Wemheuer +%% +%% This package is released under the terms of the +%% LaTeX Project Public License v1.3c or later +%% See http://www.latex-project.org/lppl.txt +%% +\ProvidesFile{trad-plain.bbx}[2016/06/26 v0.3 biblatex-trad] + +\RequireBibliographyStyle{trad-standard} + +\ExecuteBibliographyOptions{% + maxnames = 99 , % set the maximum number of authors + sorting = nty , % sorting name - title - year + dateabbrev = false , % no short form of dates + abbreviate = false , + labelnumber= true , +} + +\DeclareFieldFormat{bibentrysetcount}{\mkbibparens{\mknumalph{#1}}} +\DeclareFieldFormat{labelnumberwidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} + +\@ifpackagelater{biblatex}{2016/05/14}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{labelprefix}% + \printfield{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} + {\item}% +}{% + \defbibenvironment{bibliography} + {\list + {\printtext[labelnumberwidth]{% + \printfield{prefixnumber}% + \printfield{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} + {\item}% +} + +\defbibenvironment{shorthands} + {\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} + {\item} + +\DeclareBibliographyDriver{set}{% + \entryset + {\ifbool{bbx:subentry} + {\printfield[bibentrysetcount]{entrysetcount}% + \setunit*{\addnbspace}} + {}} + {}% + \newunit\newblock + \usebibmacro{setpageref}% + \finentry} + + +\endinput |