summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-05 00:51:51 +0000
committerKarl Berry <karl@freefriends.org>2020-03-05 00:51:51 +0000
commit3848f603b7ff9c1452267d1756dbc42244e4f870 (patch)
tree4013b453f18d840a217d0db9fe304e352111e394 /Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial
parent2a4d9a46e5888f5a36b37046111771100f1424ab (diff)
biblatex-ajc2020unofficial (4mar20)
git-svn-id: svn://tug.org/texlive/trunk@54093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial')
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx73
-rw-r--r--Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx4
2 files changed, 77 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx
new file mode 100644
index 00000000000..7b52892aae5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.bbx
@@ -0,0 +1,73 @@
+\ProvidesFile{ajc2020unofficial.bbx}[2020/03/03 v0.0.1 unofficial biblatex bibliography style for Australasian Journal of Combinatorics]
+
+\RequireBibliographyStyle{numeric}
+\RequireCitationStyle{numeric}
+
+\ExecuteBibliographyOptions{labelnumber,firstinits=true,sorting=nyt}
+
+
+\RequireBibliographyStyle{standard}
+\newbibmacro*{bbx:savehash}{%
+ \savefield{fullhash}{\bbx@lasthash}}
+\DeclareBibliographyOption[boolean]{dashed}[false]{%
+ \ifstrequal{#1}{true}{
+ \ExecuteBibliographyOptions{pagetracker}%
+ \renewbibmacro*{bbx:savehash}{\savefield{fullhash}{\bbx@lasthash}}
+ }{
+ \renewbibmacro*{bbx:savehash}{}
+ }
+}
+\DeclareBibliographyOption[boolean]{sentencetitle}[false]{%
+ \ifstrequal{#1}{true}{%
+ \DeclareFieldFormat{titlecase}{\MakeSentenceCase*{##1}}%
+ }{
+ \DeclareFieldFormat{titlecase}{{##1}}%
+ }%
+}
+\ExecuteBibliographyOptions{sentencetitle,dashed}
+
+\renewcommand*{\bibfont}{\footnotesize}
+\renewcommand*{\subtitlepunct}{\textup{\addcolon}\space}
+\renewcommand*{\newunitpunct}{\addcomma\space}
+\renewcommand*{\mkbibquote}[1]{\mkbibemph{#1}}
+\renewcommand*{\labelnamepunct}{\addcomma\space}
+\renewbibmacro*{in:}{}
+\renewbibmacro*{author}{%
+ \ifboolexpr{
+ test \ifuseauthor
+ and
+ not test {\ifnameundef{author}}
+ }
+ {\usebibmacro{bbx:dashcheck}
+ {\bibnamedash}
+ {\printnames{author}%
+ \setunit{\addcomma\space}%
+ \usebibmacro{bbx:savehash}}%
+ \usebibmacro{authorstrg}}
+ {\global\undef\bbx@lasthash}}
+
+\DeclareFieldFormat{journaltitle}{\textup{#1}}
+\DeclareFieldFormat{booktitle}{\textup{#1}}
+\DeclareFieldFormat[article]{number}{\mkbibbold{#1}}
+\DeclareFieldFormat[book]{number}{\mkbibbold{#1}}
+\DeclareFieldFormat
+ [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
+ {title}{\mkbibemph{#1\isdot}}
+
+\newbibmacro*{bbx:dashcheck}[2]{%
+ \ifboolexpr{
+ test {\iffieldequals{fullhash}{\bbx@lasthash}}
+ and
+ not test \iffirstonpage
+ }
+ {#1}
+ {#2}}
+\renewcommand*{\bibnamedash}{\rule{3em}{0.4pt}\hspace*{.16667em}\addcomma\addspace}
+
+
+\DeclareFieldFormat{pages}{#1}
+\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}\isdot}
+\DeclareFieldFormat*{title}{#1}
+
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx
new file mode 100644
index 00000000000..77c0589e7c5
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/biblatex-ajc2020unofficial/ajc2020unofficial.cbx
@@ -0,0 +1,4 @@
+\ProvidesFile{ajc2020unofficial.cbx}[2020/03/03 v0.0.1 unofficial biblatex bibliography style for Australasian Journal of Combinatorics]
+\RequireCitationStyle{numeric}
+
+\endinput