Reputation: 656
Is it possible in rmarkdown or bookdown when using citation_package: natbib
and biblio-style: apalike
to have citations as "[1]" rather than "(Author et al. Year)"?
I think you could achieve this in LaTeX by setting:
\usepackage[numbers]{natbib}
, but putting this in the preamble.tex did not change anything.
Any help would be great!
Upvotes: 1
Views: 707
Reputation: 656
I think I have made it work. In the preamble.tex file: \setcitestyle{numbers,square}
Upvotes: 1