diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx |
Initial commit
Diffstat (limited to 'macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx')
-rw-r--r-- | macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx b/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx new file mode 100644 index 0000000000..8e460f2cbb --- /dev/null +++ b/macros/latex/contrib/biblatex-contrib/biblatex-iso690/iso-alphabetic.bbx @@ -0,0 +1,46 @@ +\ProvidesFile{alphabetic.bbx} +[2017/04/25 v0.3.2 biblatex citation style] + +% This is a copy of alphabetic.bbx +% It only uses iso as base style, instead of standard + +\RequireBibliographyStyle{iso} +\ExecuteBibliographyOptions{labelalpha,sorting=nyt} % was sorting anyt + +\DeclareNameAlias{author}{default} +\DeclareNameAlias{editor}{default} +\DeclareNameAlias{translator}{default} + +\DeclareFieldFormat{labelalphawidth}{\mkbibbrackets{#1}} +\DeclareFieldFormat{shorthandwidth}{\mkbibbrackets{#1}} + +\defbibenvironment{bibliography} + {\list + {\printtext[labelalphawidth]{% + \printfield{labelprefix}% + \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{shorthand} + {\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 |