Seite 1 von 1
biblatex - "&" statt "and" bei \cite
Verfasst: Do 27. Jun 2013, 20:07
von Andreas1704
Hallo,
wie kann ich den \cite-Befehl so konfigurieren, dass zwei Autoren durch "&" anstatt durch "and" verknüpft werden?
Hier sind meine Skripteinstellungen:
\RequirePackage[ % use biblatex for bibliography
bibencoding=utf8, % - use auto file encode
style=numeric, % - use alphabetic (or numeric)
bibstyle=authoryear, % - use author-year bib style
citestyle=authoryear, % - use author-year cite style
natbib=true, % - allow natbib commands
mcite=true, % - allow mcite commands
hyperref=true, % - activate hyperref support
backref=true, % - activate backrefs
isbn=false, % - don't show isbn tags
url=false, % - don't show url tags
doi=false, % - don't show doi tags
urldate=long, % - display type for dates
maxnames=99,%
minnames=1,%
maxbibnames=99,%
minbibnames=1,%
maxcitenames=2,%
mincitenames=1%
]{biblatex}
Verfasst: Fr 28. Jun 2013, 08:45
von Epllus
Ein
vollständiges Minimalbeispiel ist in solchen Fällen praktisch.
Grüße
Verfasst: Fr 28. Jun 2013, 15:24
von Andreas1704
%Das ist mein LaTeX-Dokument
\documentclass[a4paper]{scrreprt}
\usepackage[ngerman,english,american]{babel}
\usepackage[
backend= bibtex,
bibstyle=authoryear,
citestyle = authoryear,
natbib=true, % - allow natbib commands
mcite=true, % - allow mcite commands
hyperref=true, % - activate hyperref support
backref=true, % - activate backrefs
isbn=false, % - don't show isbn tags
url=false, % - don't show url tags
doi=false, % - don't show doi tags
urldate=long, % - display type for dates
maxnames=99,%
minnames=1,%
maxbibnames=99,%
minbibnames=1,%
maxcitenames=2,%
mincitenames=1%
]{biblatex}
\addbibresource{test.bib}
\begin{document}
\cite{Einstein.1972}.
\printbibliography
\end{document}
%Das ist mein biblatex-Dokument
@book{Einstein.1972,
author = {Einstein, Albert, and Freud, Sigmund},
year = {1972},
}
Und anstatt: Einstein and Freud, 1972
will ich : Einstein & Freud, 1972
Viele Grüße
Verfasst: Fr 28. Jun 2013, 16:43
von Andreas1704
Einfach
\renewcommand*{\multinamedelim}{\space\&\space}
\renewcommand*{\finalnamedelim}{\space\&\space}
in die Präambel einfügen.
Nur für cite
Verfasst: Sa 5. Aug 2017, 11:03
von Blabla
Kann man das renewcommand auch nur für \cite{} definieren? Für \textcite{} hätte ich weiterhin gerne das "und".
Verfasst: Sa 5. Aug 2017, 14:31
von Bartman
Beachte den Rat von Epllus, starte ein neues Thema und verweise dort auf dieses Thema.
Verfasst: Sa 5. Aug 2017, 15:50
von Gast
In den kommenden Version 3.8 von biblatex brauchst Du nur
\DeclareDelimFormat[cite,parencite]{finalnamedelim}{\space\&\space}
Im ganzen (mit kleinen Optimierungen Deiner Optionen - insbesonders solltest Du probieren, Biber zu nutzen. BibTeX unterstützt nicht alle Funktionen von biblatex und wird eigentlich nur noch für Abwärtskompatibilität unterstützt. Siehe
Biblatex with Biber: Configuring my editor to avoid undefined citations)
\documentclass[a4paper]{article}
\usepackage[ngerman,english,american]{babel}
\usepackage[
backend=biber, % wenn es geht, nutze lieber Biber
style=authoryear,
natbib=true,
mcite=true,
backref=true,
isbn=false,
url=false,
doi=false,
urldate=long,
minnames=1,
maxbibnames=99,
maxcitenames=2,
]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareDelimFormat[cite,parencite]{finalnamedelim}{\space\&\space}
\begin{document}
\cite{sigfridsson}
\textcite{sigfridsson}
\parencite{sigfridsson}
\printbibliography
\end{document}
Aktuell geht das leider noch nicht. Da ist es wohl am besten, das \cite-Makro umzudefinieren.
\DeclareCiteCommand{\cite}
{\renewcommand*{\finalnamedelim}{\space\&\space}%
\usebibmacro{prenote}}%
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\multicitedelim}
{\usebibmacro{postnote}}