Latex: Put Year in Parenthesis for Citing

Hongtao Hao / 2022-07-14


To put year in parenthesis when citing in LaTex using APA format, for exmaple, According to Goodguy (1990), blablabla..., we can use this:

\newcommand{\citeauthorandyear}[2][]{
   \citeauthor{#2} (\citeyear[#1]{#2})
}

This solution is by Felix K. .

#latex

Last modified on 2022-12-04