summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx')
-rw-r--r--macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx42
1 files changed, 42 insertions, 0 deletions
diff --git a/macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx b/macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx
new file mode 100644
index 0000000000..6ec3eb2225
--- /dev/null
+++ b/macros/latex/contrib/biblatex-ms/latex/bbx/draft-ms.bbx
@@ -0,0 +1,42 @@
+\ProvidesFile{draft-ms.bbx}
+[\abx@bbxid]
+
+\RequireBibliographyStyle{standard}
+\ExecuteBibliographyOptions{sorting=debug}
+
+\DeclareNameAlias{author}{default}
+\DeclareNameAlias{editor}{default}
+\DeclareNameAlias{translator}{default}
+
+\DeclareNameWrapperAlias{author}{default}
+\DeclareNameWrapperAlias{editor}{default}
+\DeclareNameWrapperAlias{translator}{default}
+
+\DeclareFieldFormat{shorthandwidth}{#1}
+
+\defbibenvironment{bibliography}
+ {\list
+ {\printfield{entrykey}}
+ {\setlength{\labelwidth}{0pt}%
+ \setlength{\itemindent}{-\leftmargin}%
+ \setlength{\itemsep}{\bibitemsep}%
+ \setlength{\parsep}{\bibparsep}%
+ \renewcommand*{\makelabel}[1]{%
+ \hspace\labelsep\bfseries##1}}}
+ {\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