title: Adjust cite format and style in RMarkdown
body: <p>I hope you are having a great time. I am working on <code>RMarkdown</code> for a report and I would like to ask a style related question. I am running the next code in a <code>.Rmd</code> file:</p>
  
  <pre><code>---
  bibliography: bb.bib
  fontsize: 11pt
  nocite: '@*'
  output: pdf_document
  link-citations: true
  ---
  \newpage
  
  \section{Testing}\label{sec1}
  ```{r}
  summary(cars)
  ```
  \section{Demo}
  This was done using @shiina and we will use some info from Section \ref{sec1} to do.
  ```{r}
  summary(iris)
  ```
  \section{References}
  </code></pre>
  
  <p>Everything is working fine, and I get this:
  <a href="https://i.stack.imgur.com/qe0DI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qe0DI.png" alt="enter image description here"></a></p>
  
  <p>In previous graph in circle is a citation I did but I would like to change the style. In this case, only the year makes hyperlink to bibliography while the autor part <code>Shiina and Birge</code> does not link to bibliography.</p>
  
  <p>Is it possible to adjust the style of citation so that I can have this: <code>Shiina and Birge, 2004</code> with both the autor and year linked to bibliography. Or would it be possible something like this: <code>[Shiina and Birge, 2004]</code> because <code>RMarkdown</code> uses <code>()</code> instead of <code>[]</code>. I do not how to set that style in RMarkdown.</p>
  
  <p>The content of <code>bb.bib</code> file is the next:</p>
  
  <pre><code>@article {shiina,
  author = {Shiina, Takayuki and Birge, John R.},
  title = {Stochastic unit commitment problem},
  journal = {International Transactions in Operational Research},
  volume = {11},
  number = {1},
  publisher = {Blackwell Publishing},
  pages = {19--32},
  year = {2004},
  }
  
  @book{groewe2001,
    title={Stochastic unit commitment in hydro-thermal power production planning},
    author={Gr{\"o}we-Kuska, N. and R{\"o}misch, W.},
    year={2001},
    series = { Preprints aus dem Institut f{\"u}r Mathematik },
    publisher = { Humboldt-Universit{\"a}t zu Berlin, Institut f{\"u}r Mathematik },
  }
  </code></pre>
  
  <p>Many thanks for your help.</p>