summaryrefslogtreecommitdiff
path: root/macros/luatex/latex/letgut/tex/letgut.cbx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/luatex/latex/letgut/tex/letgut.cbx')
-rw-r--r--macros/luatex/latex/letgut/tex/letgut.cbx16
1 files changed, 16 insertions, 0 deletions
diff --git a/macros/luatex/latex/letgut/tex/letgut.cbx b/macros/luatex/latex/letgut/tex/letgut.cbx
new file mode 100644
index 0000000000..229c1f97c9
--- /dev/null
+++ b/macros/luatex/latex/letgut/tex/letgut.cbx
@@ -0,0 +1,16 @@
+\ProvidesFile{letgut.cbx}[2022-03-18 v0.9 letgut base citation style]
+\RequireCitationStyle{numeric}
+\DeclareFieldFormat[bookreview]{title}{\textbf{\emph{#1}}}
+\renewbibmacro*{title}{%
+ \ifboolexpr{
+ test {\iffieldundef{title}}
+ and
+ test {\iffieldundef{subtitle}}
+ }
+ {}
+ {\printtext[title]{%
+ \printfield[titlecase]{title}%
+ \setunit{\subtitlepunct}}%
+ \printfield[emph]{subtitle}%
+ \newunit}%
+ \printfield{titleaddon}}