From f283e0264e195b88ceda4b4365f76321474abf18 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 23 Apr 2011 01:01:03 +0000 Subject: new biblatex package uni-wtal-ger (22apr11) git-svn-id: svn://tug.org/texlive/trunk@22169 c570f23f-e606-0410-a88d-b1316a301751 --- .../tex/latex/uni-wtal-ger/uni-wtal-ger.bbx | 94 ++++++++++++++++++++++ .../tex/latex/uni-wtal-ger/uni-wtal-ger.cbx | 22 +++++ 2 files changed, 116 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.bbx create mode 100644 Master/texmf-dist/tex/latex/uni-wtal-ger/uni-wtal-ger.cbx (limited to 'Master/texmf-dist/tex/latex/uni-wtal-ger') 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}} -- cgit v1.2.3