apa 格式,并在正文中引用,就像在句子末尾引用一样

apa 格式,并在正文中引用,就像在句子末尾引用一样

目前,我使用的是\bibliographystyle{abbrvnat}。这使我能够使用 在文本中引用\citet{xxx}并在句子末尾使用 引用\citep{xxx}。此外,我的文档末尾的参考列表是根据作者姓氏的字母顺序排列的。但是,参考列表在每行开头显示作者名字的首字母,这不符合我的偏好。参考样式如下图所示:缩写参考样式

我希望我的参考文献列表采用 APA 格式。但是,仍然能够引用文内内容(爱因斯坦期刊论文 (1905) ...)以及在句末引用(爱因斯坦,1905)。

有人能帮我吗?谢谢!

答案1

您可以使用biblatexapa样式和 natbib引用样式。

\citefield{A-reference}{title}biblatex

b

尝试一下这个代码。

\documentclass[12pt,a4paper]{article}

\begin{filecontents}[overwrite]{jobname67.bib}
@article{einstein,
    author =       "Albert Einstein",
    title =        "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
    [{On} the electrodynamics of moving bodies]",
    journal =      "Annalen der Physik",
    volume =       "322",
    number =       "10",
    pages =        "891--921",
    year =         "1905",
    keywords =     "physics"
}
        
    @book{knuth,
        author       = {Knuth, Donald E.},
        title        = {The {\TeX book}},
        date         = 1984,
        maintitle    = {Computers \& Typesetting},
        volume       = {A},
        publisher    = {Addison-Wesley},
        location     = {Reading, Mass.},
        langid       = {english},
        langidopts   = {variant=american},
    }   
    
    @book{companion,
        author       = {Goossens, Michel and Mittelbach, Frank and Samarin, Alexander},
        title        = {The {LaTeX} Companion},
        date         = 1994,
        edition      = 1,
        publisher    = {Addison-Wesley},
        location     = {Reading, Mass.},
        pagetotal    = 528,
        langid       = {english},
        langidopts   = {variant=american},
    }
    
\end{filecontents}

\usepackage{csquotes}
\usepackage[backend=biber,
language=auto,
style=apa,
natbib=true]{biblatex}

\addbibresource{jobname67.bib} %<<<<<<<<<<<<<<<<<

\begin{document}

In this document there are three cited items:

\textit{\citefield{companion}{title}}  book \citep{companion}, the \citeauthor{einstein}'s journal paper (\citeyear{einstein}) and other \LaTeX\ related items  like \citet{companion} and a nice \citeauthor{knuth}`s book \citep{knuth}.

\printbibliography  
    
\end{document}

相关内容