Added template-specific bibliography strings

pull/6/head
Bastian Rieck 2019-04-12 18:46:28 +02:00
parent b10f442a4b
commit d70474eb8e
1 changed files with 26 additions and 0 deletions

26
english-mimosis.lbx Normal file
View File

@ -0,0 +1,26 @@
\ProvidesFile{english-mimosis.lbx}
\InheritBibliographyExtras{english}
% Do not abbreviate "technical report".
\DeclareBibliographyStrings{%
inherit = {english},
techreport = {{technical report}{technical report}},
}
% Use superscripts whenever appropriate and possible
\DeclareBibliographyExtras{%
\protected\def\mkbibordinal#1{%
\begingroup%
\@tempcnta0#1\relax\number\@tempcnta%
\@whilenum\@tempcnta>100\do{\advance\@tempcnta-100\relax}%
\ifnum\@tempcnta>20%
\@whilenum\@tempcnta>9\do{\advance\@tempcnta-10\relax}%
\fi%
\mkbibsuperscript{\ifcase\@tempcnta th\or st\or nd\or rd\else th\fi}%
\endgroup}%
\protected\def\mkbibmascord{\mkbibordinal}%
\protected\def\mkbibfemord{\mkbibordinal}%
\protected\def\mkbibneutord{\mkbibordinal}%
}
\endinput