
XeLaTeX에서는 then [backend=biber, style=authoryear-icomp, dashed=false]{biblatex}
과 함께 사용하면 인용 및 참고문헌이 소문자로 표시됩니다. 내 편집자는 텍스트와 각주에서 소문자 대문자를 제거하고 참고문헌에서는 소문자를 유지하기를 원합니다.\usepackage{polyglossia}
\setmainlanguage{french}
내가 찾은 답다른 곳에서이지만 \DefineBibliographyExtras{french}{\restorecommand\mkbibnamefamily}
텍스트와 참고 문헌 모두에서 작은 대문자가 제거됩니다.
아래 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}
\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}
내가 가진 것:
물론 약어 = {Abel 2018}을 추가하면 작업이 완료되지만 항목이 천 개 정도 있고 수명이 짧습니다.
답변1
\mkbibnamefamily
참고문헌을 인쇄하기 직전에 재정의할 수 있습니다 .
{
\protected\def\mkbibnamefamily#1{\textsc{#1}}
\printbibliography[title={I want to keep the small capitals here}]
}
귀하의 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}
답변2
서문에만 존재하는 솔루션을 원한다면 확인 \mkbibnamefamily
을 통해 재정의할 수 있습니다 \ifbibliography
.
\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}