資本與非資本引用

資本與非資本引用

我正在寫一篇小論文,我必須在整個文本中使用兩種類型的引用。

第一個是 1)“(作者,年份)”,第二個是 2)“作者(年份)”,同時我在參考書目中使用 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,如果是,則以小寫字母列印名稱。所有其他名稱均保留原樣。

相關內容