Bibliography & Citations
How to Add Citations in LaTeX
LaTeX with BibTeX provides powerful citation management. Store references in a .bib file and cite them automatically.
Create a .bib File
Store references in references.bib:
% references.bib
@article{smith2020deep,
author = {Smith, John and Doe, Jane},
title = {Deep Learning for NLP},
journal = {Nature},
year = {2020},
volume = {42},
pages = {123--145}
}
@book{knuth1984texbook,
author = {Knuth, Donald E.},
title = {The TeXbook},
publisher = {Addison-Wesley},
year = {1984}
}Cite in Your Document
Use \cite{key} to add citations:
Deep learning has revolutionized NLP~\cite{smith2020deep}.
As noted by Knuth~\cite{knuth1984texbook}, typography matters.
Multiple citations: \cite{smith2020deep, knuth1984texbook}Add Bibliography
Include the bibliography at the end:
\bibliographystyle{plain} % or ieee, apa, etc.
\bibliography{references} % references.bib fileCompile Sequence
Run these commands in order:
pdflatex document.tex
bibtex document
pdflatex document.tex
pdflatex document.tex💡 Tips
- •Google Scholar provides BibTeX entries—click 'Cite' then 'BibTeX'
- •Use citekey format: author + year + keyword (smith2020deep)
- •\citet{} for textual: 'Smith (2020) showed...' (needs natbib)
Try This in Bibby AI
Write LaTeX faster with AI auto-complete and instant compilation.
Start Writing Free