summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-23 01:01:03 +0000
committerKarl Berry <karl@freefriends.org>2011-04-23 01:01:03 +0000
commitf283e0264e195b88ceda4b4365f76321474abf18 (patch)
tree77cfe9b7534524d66568f0ee98858c523e63e0c2 /Master/texmf-dist/tex
parent01694b80764a573ee0f6143764493534e7c51c40 (diff)
new biblatex package uni-wtal-ger (22apr11)
git-svn-id: svn://tug.org/texlive/trunk@22169 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.bbx94
-rw-r--r--Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.cbx22
2 files changed, 116 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.bbx b/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.bbx
new file mode 100644
index 00000000000..2733db28394
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.bbx
@@ -0,0 +1,94 @@
+% uni-wtal-ger.bbx, Carsten A. Dahlmann (Ace@Dahlmann.net)
+% based on authortitle-dw by Dominik Waßenhoven
+
+
+%% for Germanistik at Uni Wuppertal make sure to load these options:
+%
+% \usepackage[
+% style=uni-wtal-ger,
+% firstfull=true,
+% journalnumber=afteryear,
+% ibidpage=true,
+% idembibformat=dash,
+% maxnames=2,
+% xref=true,
+% bibwarn=false,
+% ]{biblatex}
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\ProvidesFile{uni-wtal-ger.bbx}
+
+%% requires authortitle-dw
+\RequireBibliographyStyle{authortitle-dw}
+
+%% last name always first
+\DeclareNameAlias{sortname}{last-first}
+
+%% titles in italics
+\DeclareFieldFormat{title}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat{booktitle}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat{maintitle}{\mkbibemph{#1\isdot}}
+\DeclareFieldFormat{journaltitle}{\mkbibemph{#1}}
+
+%% some punctation changes
+\renewcommand*{\newunitpunct}{\addperiod\space}
+\renewcommand*{\bibpagespunct}{\addperiod\space}
+\renewcommand*{\finentrypunct}{\addperiod}
+
+%% set delimiter between names
+\renewcommand*{\bibmultinamedelim}{\addspace\slash\space}
+\renewcommand*{\bibfinalnamedelim}{\addspace\slash\space}
+
+%% vertical spacing between entrys
+\setlength{\bibitemsep}{0.8\baselineskip}
+
+%% change of abbreviations
+\DefineBibliographyStrings{german}{%
+ and={u\adddot},
+ editor={Hg\adddot},
+ editors={Hg\adddot},
+ byeditor={hg\adddot\thinspace v\adddotspace},
+ thiscite={hier\addcolon\thinspace},
+ number={H\adddot},
+ }
+
+%% quotation marks for article, inbook, ...
+\DeclareFieldFormat
+ [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
+ {title}{\mkbibquote{#1}}
+
+%% idem for inbook, if author the same -- no \midsentence
+\renewbibmacro*{bybookauthor}{%
+ \ifnamesequal{author}{bookauthor}
+ {\ifbool{bbx:edbyidem}
+ {\bibstring[\mkidem]{idem\thefield{gender}}\addcolon}
+ {\printnames{bookauthor}%
+ \newunit\newblock}}
+ {\printnames{bookauthor}%
+ \newunit\newblock}}
+
+%% magazines: date in brackets, also if volume empty
+\renewbibmacro*{journal+issuetitle+afteryear}{%
+ \setunit{\addcomma\space}%
+ \printfield{eid}%
+ \setunit{\addspace}%
+ \iffieldundef{volume}
+ {\iffieldundef{month}
+ {}
+ {\setunit{\addspace}}%
+ \printtext[parens]{\usebibmacro{issue+date}}%
+ \iffieldundef{number}
+ {}
+ {\setunit*{\addcomma\space\journumstring}%
+ \printfield{number}}}%
+ {\printtext[parens]{\usebibmacro{issue+date}}%
+ \iffieldundef{number}
+ {}
+ {\setunit*{\journumstring}%
+ \printfield{number}}}%
+ \newunit\newblock
+ \usebibmacro{issue}%
+ \newunit
+ \usebibmacro{ifuse:byeditor+others}%
+ \newunit}
diff --git a/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.cbx b/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.cbx
new file mode 100644
index 00000000000..a8053e60d0f
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.cbx
@@ -0,0 +1,22 @@
+% uni-wtal-ger.cbx, Carsten A. Dahlmann (Ace@Dahlmann.net)
+% based on authortitle-dw by Dominik Waßenhoven
+
+\ProvidesFile{uni-wtal-ger.cbx}
+
+%% requires authortitle-dw
+\RequireCitationStyle{authortitle-dw}
+
+%% titles in italics
+\DeclareFieldFormat{citejournaltitle}{\mkbibemph{#1\isdot}}
+
+%% some punctation changes
+\renewcommand*{\citemultinamedelim}{\addspace\slash\space}
+\renewcommand*{\citefinalnamedelim}{\addspace\slash\space}
+
+%% no space before psq and psqq
+\renewcommand*{\sqspace}{}
+
+%% quotation marks for article, inbook, ...
+\DeclareFieldFormat
+ [article,inbook,incollection,inproceedings,patent,thesis,unpublished]
+ {citetitle}{\mkbibquote{#1}}