Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to replace all name delimiters by "--", so it shall be "Author1 -- Author2 -- Author3" instead of "Author1, Author2 and Author3".

Currently I am using this code:

\usepackage[citestyle=authoryear-comp,bibstyle=authortitle,sorting=nyt,dashed=false,%
maxcitenames=2]{biblatex}


\newcounter{mymaxcitenames}
\AtBeginDocument{%
  \setcounter{mymaxcitenames}{\value{maxnames}}%
}

\renewbibmacro*{begentry}{%
  \printtext[brackets]{%
    \begingroup
    \defcounter{maxnames}{\value{mymaxcitenames}}%
    \printnames{labelname}%
    \setunit{\nameyeardelim}%
    \usebibmacro{cite:labelyear+extrayear}%
    \endgroup
    }%
  \quad% or \addspace
}

I hope someone can help me - I am trying to get a bibliography which fits the rules of Deutsches Archäologisches Institut (DAI).

share|improve this question
4  
Use: \renewcommand*{\multinamedelim}{~--\space} \renewcommand*{\finalnamedelim}{~--\space} – Marco Daniel May 6 '12 at 15:13

1 Answer 1

To change the delimiters to, e.g., dashes both for citations and in the bibliography, add the following to your preamble:

\renewcommand*{\multinamedelim}{~--\space}
\renewcommand*{\finalnamedelim}{~--\space}

Preamble code for changing the delimiters only in the bibliography:

\AtBeginBibliography{%
  \renewcommand*{\multinamedelim}{~--\space}%
  \renewcommand*{\finalnamedelim}{~--\space}%
}

Preamble code for changing the delimiters only for citations:

\let\oldmultinamedelim\multinamedelim
\let\oldfinalnamedelim\finalnamedelim
\renewcommand*{\multinamedelim}{~--\space}
\renewcommand*{\finalnamedelim}{~--\space}
\AtBeginBibliography{%
  \renewcommand*{\multinamedelim}{\oldmultinamedelim}%
  \renewcommand*{\finalnamedelim}{\oldfinalnamedelim}%
}
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
http://tex.stackexchange.com/questions/54644/name-delimiters-in-biblatex/57622
tex.stackexchange.com
crawl=CC-MAIN-2015-48
70895
application/http; msgtype=response
sha1:UBBSPQFI7LBS2TSECYC4RF3XBWLE2NWL
<urn:uuid:de37fe65-ebe3-4e10-9ccf-70731d63430d>
2015-11-25T22:50:39Z
104.16.116.182
sha1:CFLRQ73LHG47VKJCXHT622PTASJS7NHB
<urn:uuid:d164cce6-0fe0-444a-b742-b75701a4f89b>
http://tex.stackexchange.com/questions/54644/name-delimiters-in-biblatex/57622
response
<urn:uuid:dcde65cc-f79b-4280-9331-67c7c34f050d>
robots: classic
hostname: ip-10-71-132-137.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2015-48
operator: CommonCrawl Admin
description: Wide crawl of the web for Nov 2015
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf