latex apacite use brackets in citation
\documentclass{article}
\usepackage{apacite}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{Knu86,
author = {Knuth, Donald E.},
year = 1986,
title = {The {\TeX{ book},
}}}
\end{filecontents}
%
\makeatletter
\usepackage{etoolbox}
\makeatletter
\pretocmd{\@cite}{\def\@BBOP{[}\def\@BBCP{]}}{}{}
\makeatother
\makeatother
\begin{document}
\section{Demonstration}
To adhere to SBC (Brazilian Computer Society) style:
This citation should be using square brackets:~\cite{Knu86}.
This should be using parentheses:~\citeA{Knu86}.