summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx57
1 files changed, 57 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx
new file mode 100644
index 00000000000..0002d56dc3f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-trad/trad-alpha.bbx
@@ -0,0 +1,57 @@
+%% Copyright (c) 2012 Marco Daniel
+%%
+%% This package may be distributed under the terms of the LaTeX Project
+%% Public License, as described in lppl.txt in the base LaTeX distribution.
+%% Either version 1.0 or, at your option, any later version.
+\ProvidesFile{trad-alpha.bbx}[2012/09/09]
+
+\RequireBibliographyStyle{trad-standard}
+
+\ExecuteBibliographyOptions{%
+ maxnames = 99 , % set the maximum number of authors
+ sorting = anyt , % sorting alphlabel-name-title year
+ dateabbrev = false , % no short form of dates
+ abbreviate = false ,
+ labelalpha = true ,
+ maxalphanames = 99,
+}
+
+
+\DeclareNameAlias{author}{default}
+\DeclareNameAlias{editor}{default}
+\DeclareNameAlias{translator}{default}
+
+\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}}
+\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}}
+
+
+\defbibenvironment{bibliography}
+ {\list
+ {\printtext[labelalphawidth]{%
+ \printfield{prefixnumber}%
+ \printfield{labelalpha}%
+ \printfield{extraalpha}}}
+ {\setlength{\labelwidth}{\labelalphawidth}%
+ \setlength{\leftmargin}{\labelwidth}%
+ \setlength{\labelsep}{\biblabelsep}%
+ \addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}}%
+ \renewcommand*{\makelabel}[1]{##1\hss}}
+ {\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]{##1\hss}}}
+ {\endlist}
+ {\item}
+
+\endinput