解决方案如图所示如何在 BibTeX 中获取自定义引用类型?已复制到此处
\documentclass{article}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, natbib]{biblatex}
\DeclareLanguageMapping{american}{american-apa}
\addbibresource{apamovie.bib}
\DeclareLabelname[movie]{
\field{director}
}
\begin{document}
I've read a book \citep{book}.
I've seen a movie \citep{highlander}.
\printbibliography
\end{document}
围兜文件:
@Book{book,
author = {A. U. Thor},
title = {My first book},
publisher = {Methuen},
year = 1999}
@movie{highlander,
title = {Highlander},
director = {Mulcahy, Russell},
year = {1986},
publisher = {Cannon Films},
}
如何获得如下所示的输出
我们的大学要求如下,
如何实现
答案1
要以粗体打印作者,只需重新定义格式
\renewcommand{\mkbibnamefirst}[1]{\textbf{#1}}
\renewcommand{\mkbibnamefamily}[1]{\textbf{#1}}
\renewcommand{\mkbibnameprefix}[1]{\textbf{#1}}
\renewcommand{\mkbibnameaffix}[1]{\textbf{#1}}
为了使参考书目编号但保留作者年份样式,请看这里:Biblatex 枚举排序的参考书目(使用 authoryear-ibid 样式)