私は短い論文を書いているのですが、本文全体で 2 種類の引用を使用する必要があります。
最初のものは 1)「(著者、年)」、2 番目は 2)「著者(年)」ですが、同時に参考文献では APA スタイルを使用して、「姓、イニシャル (年)。タイトルなど」を印刷します。
引用スタイル (1 または 2) と参考文献の 1 つだけをうまく使用できましたが、3 つすべてを使用することはできません。いくつかの解決策を見ましたが、すべて大文字の引用と特定のタイプの参考文献スタイル、またはその逆に、大文字以外の引用と特定のタイプの参考文献スタイルのいずれかしか使用していませんでした。
私は Mendeley、Windows 8.1、TexMaker を使用して .bib ファイルを作成しています。
前もって感謝します!
MWE:
\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
これは、 内にあるかどうかを確認し\parencite
、そうである場合は、名前を小文字で出力します。他のすべての名前はそのまま残されます。