> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://authorea.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Citation management for LaTeX users

${youtube}[How to cite articles in LaTeX](e2J5_nJj_sc)
## How to add a citation
From inside a LaTeX block in the Authorea beta editor, click on the cite button.

![](https://storage.crisp.chat/users/helpdesk/website/d38f777e-0276-4c52-8a15-b5855ac4903c/0453ca56-d00e-476f-9687-5521da619b00.png)
A citation tool opens up. Search for the paper by author name, title, keyword, and/or year of publication in one of our databases. When you find it, cite it and this will create a citation in your text such as \cite{Einstein1905} , which will render into a citation like [(Einstein 1905)](https://www.authorea.com/users/9932/articles/12628/_show_article#Einstein_1905) and a reference at the bottom of the doc upon saving.

## Advanced citation management
If you want to use textual and parenthetical citations, you can do so by altering the \cite command as follows:

* \citet{Einstein1905}  produces Einstein (1905)
* \citep{Einstein1905}  produces (Einstein, 1905)
* \citep[See e.g.][for a nice review]{Einstein1905} produces (See e.g. Einstein, 1905, for a nice review)`
* \cite{Einstein1905,Einstein1922}  produces (Einstein 1905, Einstein 1922)`

If you are using LaTeXML for Latex support and/or want your textual and parenthetical citations to also render nicely in the exported PDF, you have to include the following lines in your `header.tex` file (create it from the folder view, if it does not exist already): `\usepackage{natbib}` `\bibliographystyle{plainnat}`