我试图引用一个组织,但该命令的\citepalias
作用不一样\citep
,它会删除括号。
%!TEX program = xelatex
\begin{filecontents}{mybib.bib}
@book{fao1990,
author = {{Food and Agriculture Organization}},
title = {FAO soils bulletin},
publisher = {FAO},
year = {1990}
}
\end{filecontents}
\documentclass[a4paper,11pt,authoryear]{article}
\usepackage{natbib}
\usepackage[colorlinks, hidelinks, colorlinks, linktocpage=false, pagebackref=true, breaklinks=false]{hyperref}
\hypersetup{%
pdfborder = {0 0 0},
colorlinks,
citecolor=blue,
filecolor=Darkgreen,
linkcolor=blue,
urlcolor=BlueViolet%cyan!50!black!90
}
\usepackage[T1]{fontenc}
\usepackage{xurl}
\bibliographystyle{apa}
\begin{document}
\defcitealias{fao1990}{FAO, 1990}
\citepalias{fao1990}
\bibliography{mybib}
\end{document}