A .bib file is a plain text database containing your references in BibTeX format. Each entry has a type, unique key, and required fields.
@article{einstein1905,
author = {Albert Einstein},
title = {On the Electrodynamics of Moving Bodies},
journal = {Annalen der Physik},
year = {1905},
volume = {17},
pages = {891--921}
}
@book{knuth1984texbook,
author = {Donald E. Knuth},
title = {The TeXbook},
publisher = {Addison-Wesley},
year = {1984},
address = {Reading, Massachusetts}
}
@inproceedings{lecun1998mnist,
author = {Yann LeCun and Corinna Cortes},
title = {The MNIST Database of Handwritten Digits},
booktitle = {Proceedings of IEEE},
year = {1998}
}
% Journal Article
@article{smith2024ml,
author = {John Smith and Mary Johnson},
title = {Advances in Machine Learning},
journal = {Journal of AI Research},
year = {2024},
volume = {42},
number = {3},
pages = {123--145},
doi = {10.1234/jair.2024.123}
}
% Conference Paper
@inproceedings{brown2023neural,
author = {Alice Brown and Bob Wilson},
title = {Neural Network Optimization},
booktitle = {Proceedings of NeurIPS 2023},
year = {2023},
pages = {1--12},
address = {New Orleans, LA}
}
% Book
@book{goodfellow2016deep,
author = {Ian Goodfellow and Yoshua Bengio and Aaron Courville},
title = {Deep Learning},
publisher = {MIT Press},
year = {2016},
address = {Cambridge, MA},
isbn = {978-0262035613}
}
% Website
@misc{tensorflow2024,
author = {{TensorFlow Team}},
title = {TensorFlow: Machine Learning Platform},
year = {2024},
howpublished = {\url{https://www.tensorflow.org}},
note = {Accessed: 2024-10-04}
}
Naming Keys: Use descriptive, consistent keys like author-year-keyword (e.g., smith2024ml). Avoid spaces and special characters. Good keys make citations easy to remember and reduce errors.