von Gast » Mi 23. Mär 2016, 15:36
Nee, das geht einfach. Unterstreichungen gehört schon zu den sehr schlimmen Dingen bei TeX.
\renewcommand*{\multinamedelim}{\addspace\slash\space}
statt \renewcommand*{\multinamedelim}{\addslash} sollte es tun.
Man kann sich das Kopieren der Driver übrigens mit dem Paket
xpatch sparen.
\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[citestyle=authoryear,bibstyle=authortitle,giveninits=true,backend=biber]{biblatex}
\usepackage{xpatch}
\addbibresource{biblatex-examples.bib}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{family-given}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\renewbibmacro*{editor}{%
\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{editorstrg}%
\clearname{editor}}
{}}
\renewbibmacro*{editor+others}{%
\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{editor+othersstrg}%
\clearname{editor}}
{}}
\renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand*{\labelnamepunct}{\addcolon\space}
\renewcommand*{\subtitlepunct}{\addcomma\space}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\multinamedelim}{\addspace\slash\space}
\renewcommand*{\finalnamedelim}{\multinamedelim}
\renewcommand*{\finentrypunct}{}
\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{journaltitle}{#1}
\DeclareFieldFormat*{issuetitle}{#1}
\DeclareFieldFormat*{maintitle}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat[article,periodical]{volume}{\mkbibordinal{#1}\addnbspace\bibstring{jourvol}}% volume of a journal
\DeclareFieldFormat[article,periodical]{number}{Heft\addnbspace#1}% number of a journal
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{\mkbibbrackets{#1}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\newunit
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\printfield{volume}%
\newunit
\usebibmacro{date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit
\printfield{number}%
\newunit}
\newbibmacro*{puborginst+location+date}{%
\printlist{location}%
\setunit*{\space}%
\usebibmacro{date}%
\newunit}
\renewbibmacro*{publisher+location+date}{\usebibmacro{puborginst+location+date}}
\renewbibmacro*{institution+location+date}{\usebibmacro{puborginst+location+date}}
\renewbibmacro*{organization+location+date}{\usebibmacro{puborginst+location+date}}
\xpatchbibdriver{inbook}
{\usebibmacro{bybookauthor}%
\newunit\newblock}
{\usebibmacro{bybookauthor}%
\newunit\newblock
\usebibmacro{editor+others}%
\setunit{\labelnamepunct}\newblock}
{\typeout{biblatex: successfully patched @inbook driver}}
{\typeout{biblatex: failed to patch @inbook driver, stuff might not work as expected}}
\xpatchbibdriver{incollection}
{\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}}
{\usebibmacro{in:}%
\usebibmacro{editor+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{maintitle+booktitle}}
{\typeout{biblatex: successfully patched @incollection driver}}
{\typeout{biblatex: failed to patch @incollection driver, stuff might not work as expected}}
\begin{document}
\cite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,wassenberg,
companion,worman,geer,aristotle:anima,ctan,itzhaki,markey,kant:ku,
westfahl:frontier,gaonkar,gaonkar:in,brandt,hyman,westfahl:space}
\printbibliography
\end{document}
Nee, das geht einfach. Unterstreichungen gehört schon zu den sehr schlimmen Dingen bei TeX.
[code]\renewcommand*{\multinamedelim}{\addspace\slash\space}[/code] statt [tt]\renewcommand*{\multinamedelim}{\addslash}[/tt] sollte es tun.
Man kann sich das Kopieren der Driver übrigens mit dem Paket [p]xpatch[/p] sparen.
[code]\documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[citestyle=authoryear,bibstyle=authortitle,giveninits=true,backend=biber]{biblatex}
\usepackage{xpatch}
\addbibresource{biblatex-examples.bib}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{family-given}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\renewbibmacro*{editor}{%
\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{editorstrg}%
\clearname{editor}}
{}}
\renewbibmacro*{editor+others}{%
\ifboolexpr{
test \ifuseeditor
and
not test {\ifnameundef{editor}}
}
{\printnames{editor}%
\setunit{\addspace}%
\usebibmacro{editor+othersstrg}%
\clearname{editor}}
{}}
\renewcommand*{\nameyeardelim}{\addcomma\space}
\renewcommand*{\labelnamepunct}{\addcolon\space}
\renewcommand*{\subtitlepunct}{\addcomma\space}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewcommand*{\multinamedelim}{\addspace\slash\space}
\renewcommand*{\finalnamedelim}{\multinamedelim}
\renewcommand*{\finentrypunct}{}
\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{journaltitle}{#1}
\DeclareFieldFormat*{issuetitle}{#1}
\DeclareFieldFormat*{maintitle}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat[article,periodical]{volume}{\mkbibordinal{#1}\addnbspace\bibstring{jourvol}}% volume of a journal
\DeclareFieldFormat[article,periodical]{number}{Heft\addnbspace#1}% number of a journal
\DeclareFieldFormat{url}{\url{#1}}
\DeclareFieldFormat{urldate}{\mkbibbrackets{#1}}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\newunit
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\printfield{volume}%
\newunit
\usebibmacro{date}%
\setunit{\addcolon\space}%
\usebibmacro{issue}%
\newunit
\printfield{number}%
\newunit}
\newbibmacro*{puborginst+location+date}{%
\printlist{location}%
\setunit*{\space}%
\usebibmacro{date}%
\newunit}
\renewbibmacro*{publisher+location+date}{\usebibmacro{puborginst+location+date}}
\renewbibmacro*{institution+location+date}{\usebibmacro{puborginst+location+date}}
\renewbibmacro*{organization+location+date}{\usebibmacro{puborginst+location+date}}
\xpatchbibdriver{inbook}
{\usebibmacro{bybookauthor}%
\newunit\newblock}
{\usebibmacro{bybookauthor}%
\newunit\newblock
\usebibmacro{editor+others}%
\setunit{\labelnamepunct}\newblock}
{\typeout{biblatex: successfully patched @inbook driver}}
{\typeout{biblatex: failed to patch @inbook driver, stuff might not work as expected}}
\xpatchbibdriver{incollection}
{\usebibmacro{in:}%
\usebibmacro{maintitle+booktitle}}
{\usebibmacro{in:}%
\usebibmacro{editor+others}%
\setunit{\labelnamepunct}\newblock
\usebibmacro{maintitle+booktitle}}
{\typeout{biblatex: successfully patched @incollection driver}}
{\typeout{biblatex: failed to patch @incollection driver, stuff might not work as expected}}
\begin{document}
\cite{sigfridsson,knuth:ct:a,knuth:ct:b,knuth:ct:c,knuth:ct:d,wassenberg,
companion,worman,geer,aristotle:anima,ctan,itzhaki,markey,kant:ku,
westfahl:frontier,gaonkar,gaonkar:in,brandt,hyman,westfahl:space}
\printbibliography
\end{document}[/code]