
Wenn ich bei XeLaTeX [backend=biber, style=authoryear-icomp, dashed=false]{biblatex}
zusammen mit \usepackage{polyglossia}
dann verwende \setmainlanguage{french}
, werden die Zitate und Referenzen in Kapitälchen geschrieben. Mein Lektor möchte, dass ich die Kapitälchen aus Text und Fußnoten entferne, die Kapitälchen in der Bibliographie aber beibehalte.
Die Antwort, die ich gefunden habeanderswoist \DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}
, aber dadurch werden die Kapitälchen sowohl im Text als auch im Literaturverzeichnis entfernt.
MWE unten:
\documentclass{article}
\usepackage[normalem]{ulem}
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp, dashed=false]{biblatex}
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
\setotherlanguage{latin}
\setotherlanguage[variant=ancient]{greek}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}
\usepackage{filecontents}
\begin{filecontents}{biblio.bib}
@article{abel2018,
title = {Estimates of {{Global Bilateral Migration Flows}} by {{Gender}} between 1960 and 2015},
author = {Abel, Guy J.},
date = {2018},
journaltitle = {International Migration Review},
shortjournal = {International Migration Review},
volume = {52},
pages = {809--852},
doi = {10.1111/imre.12327},
url = {http://journals.sagepub.com/doi/10.1111/imre.12327},
urldate = {2019-12-14},
langid = {english},
number = {3}
}
\end{filecontents}
\addbibresource{biblio.bib}
\begin{document}
I want to remove the small capitals here : \cite{abel2018}
\printbibliography[title={I want to keep the small capitals here}]
\end{document}
Was ich habe:
Natürlich funktioniert auch das Hinzufügen der Kurzform {Abel 2018}, aber ich habe mehr oder weniger tausend Einträge und das Leben ist kurz.
Antwort1
Sie können \mkbibnamefamily
Ihr Literaturverzeichnis unmittelbar vor dem Drucken neu definieren.
{
\protected\def\mkbibnamefamily#1{\textsc{#1}}
\printbibliography[title={I want to keep the small capitals here}]
}
Ihr MWE:
\documentclass{article}
\usepackage[normalem]{ulem}
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp, dashed=false]{biblatex}
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
%\setotherlanguage{latin}
%\setotherlanguage[variant=ancient]{greek}
%\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
%\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}
\DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}
\usepackage{filecontents}
\begin{filecontents}{biblio.bib}
@article{abel2018,
title = {Estimates of {{Global Bilateral Migration Flows}} by {{Gender}} between 1960 and 2015},
author = {Abel, Guy J.},
date = {2018},
journaltitle = {International Migration Review},
shortjournal = {International Migration Review},
volume = {52},
pages = {809--852},
doi = {10.1111/imre.12327},
url = {http://journals.sagepub.com/doi/10.1111/imre.12327},
urldate = {2019-12-14},
langid = {english},
number = {3}
}
\end{filecontents}
\addbibresource{biblio.bib}
\begin{document}
I want to remove the small capitals here : \cite{abel2018}
{
\protected\def\mkbibnamefamily#1{\textsc{#1}}
\printbibliography[title={I want to keep the small capitals here}]
}
\end{document}
Antwort2
Wenn Sie eine Lösung wünschen, die nur in der Präambel existiert, können Sie diese \mkbibnamefamily
mit einem \ifbibliography
Häkchen neu definieren.
\documentclass{article}
\usepackage[normalem]{ulem}
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\usepackage[backend=biber, style=authoryear-icomp, dashed=false]{biblatex}
\usepackage{csquotes}
\setmainlanguage{french}
\setotherlanguage{english}
\setotherlanguage{latin}
\setotherlanguage[variant=ancient]{greek}
%\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
\newfontfamily\greekfont[Script=Greek]{Linux Libertine O}
\DefineBibliographyExtras{french}{%
\renewcommand*\mkbibnamefamily[1]{%
\ifbibliography
{\textsc{#1}}
{#1}}}
\begin{filecontents}{\jobname.bib}
@article{abel2018,
title = {Estimates of Global Bilateral Migration Flows by Gender between 1960 and 2015},
author = {Abel, Guy J.},
date = {2018},
journaltitle = {International Migration Review},
shortjournal = {International Migration Review},
volume = {52},
pages = {809--852},
doi = {10.1111/imre.12327},
url = {http://journals.sagepub.com/doi/10.1111/imre.12327},
urldate = {2019-12-14},
langid = {english},
number = {3},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
I want to remove the small capitals here : \cite{abel2018}
\printbibliography[title={I want to keep the small capitals here}]
\end{document}