diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx')
-rw-r--r-- | Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx new file mode 100644 index 00000000000..039ad2b63f4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/biblatex-luh-ipw/bbx/standard-luh-ipw.bbx @@ -0,0 +1,75 @@ +% standard-luh-ipw.bbx, Oliver Heins (heins@sopos.org) 2011 + +\ProvidesFile{standard-luh-ipw.bbx}[2011/11/01 v0.1 bibliography style for use with biblatex 1.x] + +\DeclareBibliographyOption{ipwstrict}[true]{% + \ExecuteBibliographyOptions{noemphtitle=#1,yearnotinparens=#1}} + +\newtoggle{bbx:noemphtitle} +\DeclareBibliographyOption{noemphtitle}[true]{% + \settoggle{bbx:noemphtitle}{#1}} + +\newcommand{\mkbibvolume}[1]{\bibstring{jourvol}\adddot~#1} + +\DeclareLanguageMapping{english}{english-luh-ipw} +\DeclareLanguageMapping{german}{german-luh-ipw} + +\renewcommand*{\bibleftparen}{{\upshape (}} +\renewcommand*{\bibrightparen}{{\upshape )}\midsentence} +\renewcommand*{\bibleftbracket}{{\upshape [}} +\renewcommand*{\bibrightbracket}{{\upshape ]}\midsentence} +%\renewcommand*{\subtitlepunct}{\iffieldundef{subtitle}{}{\newunitpunct}} +\renewcommand*{\labelnamepunct}{\addcolon\space} +\renewcommand*{\nametitledelim}{\addcolon\space} + +\DeclareFieldFormat{origyear}{\mkbibparens{\upshape{#1}}} +\DeclareFieldFormat[article,periodical]{volume}{\mkbibvolume{#1}}% volume of a journal +\DeclareFieldFormat[article,periodical]{issue}{% volume of a journal + \ifnumerals{#1} + {\addcomma\space\bibstring{issue}\adddot~#1} + {\printtext[parens]{#1}}} + +%% Wenn die Option emphtitle=false, werden die Titel nicht hervorgehoben +\DeclareFieldFormat{citetitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat + [article,inbook,incollection,inproceedings,patent,thesis,unpublished] + {citetitle}{\iftoggle{bbx:noemphtitle}{#1\isdot}{\mkbibquote{#1\isdot}}} +\DeclareFieldFormat{booktitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat{journaltitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat{issuetitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat{maintitle}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat{title}{\iftoggle{bbx:noemphtitle}{#1}{\mkbibemph{#1}}} +\DeclareFieldFormat + [article,inbook,incollection,inproceedings,patent,thesis,unpublished] + {title}{\iftoggle{bbx:noemphtitle}{#1\isdot}{\mkbibquote{#1\isdot}}} + + +%% -> vor 'number' (z.B. ', Nr. ') +\newcommand*{\journumstring}{% + \addcomma\space% + \bibstring{number}% + \addnbspace} + +%% Formatierung bei Zeitschriften +\renewbibmacro*{volume+number+eid}{% + \setunit{\addcomma\space}% + \printfield{eid}% + \iffieldundef{number} + {} + {\setunit{\addcomma\addspace\journumstring}% + \printfield{number}}% + \iffieldundef{volume} + {\iffieldundef{month} + {} + {\setunit{\addcomma\space}}}% + {\setunit{\addcomma\space}% + \printfield{volume}% + \iffieldundef{date} + {} + {\printtext[parens]{\printfield{date}}}} + \newunit\newblock + \setunit{\addcomma\space}% + \printfield{eid}} + + +\endinput
\ No newline at end of file |