引用部分以粗体显示,biblatex

引用部分以粗体显示,biblatex

我正在使用自定义 biblatex 模板来引用参考文献。出于某种原因,连词“and”总是粗体。我想让所有与作者姓名相关的引用部分都变得简单。

以下是截图:

参考文献列表: 在此处输入图片描述

文内引用: 在此处输入图片描述 我的代码如下所示:

\documentclass[10pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage{amsmath}

\usepackage{subcaption}
\usepackage{caption}
\captionsetup{skip=0pt, textfont=it, justification=centering, width=0.8\linewidth} %caption parameters

\usepackage{gensymb}
\usepackage{siunitx}
\sisetup{
    round-mode          = places, % Rounds numbers
    round-precision     = 2, % to 2 places
}
\usepackage{multirow}
\usepackage{booktabs}
\usepackage{fullpage}
\usepackage{multirow}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{enumitem}

\usepackage[
backend=biber,
style=ext-authoryear-comp, giveninits, uniquename=init, maxbibnames=999,
urldate=long,
innamebeforetitle, articlein=false,
]{biblatex}
\DeclareDelimFormat*{nameyeardelim}{\addcomma\space}
\DeclareDelimFormat[textcite]{nameyeardelim}{\addspace}
\DeclareDelimFormat{andothersdelim}{\addcomma\space}
\renewcommand*{\compcitedelim}{\multicitedelim}
\makeatletter
\AtEveryCitekey{\global\undef\cbx@lastyear}
\makeatother
\DeclareNameAlias{sortname}{family-given}
\DeclareFieldFormat{biblabeldate}{#1}
\DeclareFieldAlias{biblistlabeldate}{biblabeldate}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareDelimFormat{translatortypedelim}{\addspace}
\DeclareFieldFormat
[article,inbook,incollection,inproceedings,patent,thesis,unpublished]
{title}{#1\isdot}
\newcommand*{\mkbiburlangle}[1]{<#1>}
\DeclareFieldFormat{url}{Available at\addcolon\space\url{#1}}
\DeclareFieldFormat{urldate}{\mkbibbrackets{Visited:\space#1}}
\renewcommand*{\jourvoldelim}{\addcomma\space}
\renewcommand*{\volnumdelim}{}
\DeclareFieldFormat[article,periodical]{number}{\mkbibparens{#1}}
\renewcommand*{\volnumdatedelim}{\addcomma\space}
\DeclareFieldFormat{issuedate}{#1}
\DeclareFieldFormat{doi}{\url{https://doi.org/#1}}

\addbibresource{businessreport.bib}
\renewcommand*{\nameyeardelim}{\addcomma\space}

\begin{document}

Sentence with citation \parencite{Mullins2016}.    

\printbibliography

\end{document}

我的 bib 文件如下所示:

@book{Mullins2016,
address = {Harlow},
author = {Mullins, Laurie J. and Christy, Gill},
edition = {11th},
isbn = {978-1-292-08848-8},
publisher = {Pearson Education Limited},
title = {{Management and Organisational Behaviour}},
year = {2016}
} 

答案1

您正在加载babel但未设置任何语言,因此biblatex会因为不知道文档的语言而受到干扰,并且您看到的是 bibstrings 名称,而不是它们的值(因此它们被排版为粗体)。如果您需要babel英语,请使用 设置语言\usepackage[english]{babel}

\documentclass[10pt,a4paper]{report}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}

\usepackage[
backend=biber,
style=ext-authoryear-comp, giveninits, uniquename=init, maxbibnames=999,
urldate=long,
innamebeforetitle, articlein=false,
]{biblatex}

\addbibresource{businessreport.bib}

\begin{document}

Sentence with citation \parencite{Mullins2016}.

\printbibliography

\end{document}

在此处输入图片描述

相关内容