# How to format(bold) only the authors part of in text citation using apacite package

I am using apacite package to format a report. At the moment using the \cite{key} command for the in text citation it appears as (Author, year), however I want to change the Author name labels to bold.

I have skimmed through the customize section of the package documentation, but could not find how to achieve it. So my question is how can I customize the formatting of author names-(change it to bold)?

My latex code:

\documentclass{report}
\usepackage[utf8]{inputenc}
\usepackage{apacite}
\title{latex MWE}
\author{Imran}
\begin{document}
\cite{bib:Apriori}
\bibliographystyle{apacite}
\bibliography{reference}
\end{document}


In the reference.bib file I have the following entry:

@INPROCEEDINGS{bib:Apriori,
author =       "Agrawal Rakesh and Srikant Ramakrishnan",
title =        "Fast algorithms for mining association rules",
booktitle =    "VLDB'94, Proceedings of 20th International Conference on Very
Large Data Bases",
year =         "1994",
PAGES =        "487-499"
}


And the output is

The desired output would be to have the Author's name to appear as:

(Rakesh & Ramakrishnan, 1994)

Update:


• \renewcommand{\BAstyle}{\bfseries}? – moewe Sep 17 '17 at 12:34
• @moewe your suggestion solved the problem, thanks a lot. – Imran Ali Sep 17 '17 at 13:38

You already identified \BAstyle yourself, but you can't use a macro such as \textbf for it, you need to use a switch
\renewcommand{\BAstyle}{\bfseries}