大写和非大写引用

大写和非大写引用

我正在写一篇小论文,并且必须在整篇文章中使用两种类型的引用。

第一个是 1)“(AUTHOR,Year)”,第二个是 2)“Author(Year)”,同时我在参考书目中使用 apa 格式,以便打印“姓氏,首字母(年份)。标题。等等”。

我成功地使用了一种引用样式(1 或 2)和参考书目,但我无法同时使用这三种样式。我看到了一些解决方案,但它们要么只使用全大写引用和给定类型的参考书目样式,要么反过来,只使用非大写引用和给定类型的参考书目样式。

我正在使用 Mendeley 来编写我的 .bib 文件、Windows 8.1 和 TexMaker。

提前致谢!

梅威瑟:

\documentclass[12pt,a4paper]{article}

\usepackage[backend=biber,natbib=true,style=apa,maxbibnames=99,maxalphanames=99]{biblatex}
\usepackage{tablefootnote}
\addbibresource{C:/Users/Andre/Documents/Bibtex/library.bib}

\begin{document}


This should be the first type of citation "(AUTHOR et al.,Year)" but what I get is:\\ \citep{Alsina2017} \\
and this should be the second type of citation "Author et al.(Year)" and I sucessfuly get this:\\
\citet{Alsina2017} .


\newpage


\printbibliography
\end{document}

答案1

以下是近期的biblatex一些作品

\makeatletter
\renewcommand*{\mkbibnamefamily}[1]{%
  \ifdefstring{\blx@delimcontext}{parencite}
    {\textsc{#1}}
    {#1}}
\makeatother

这将检查我们是否在 a 中\parencite,如果是,则以小写字母打印名称。所有其他名称均保持原样。

相关内容