[LaTeX] Comment out some text in a bib file

This post introduces how to comment out some text in a .bib file.

Sometimes we need to keep some information associated with a paper, such as web link where we can find the file, but we do not want it appears in the references.

It said that “//” or “%” works for some cases, but apparently it does not work for me. My solution is use comment = {add the info you wanted to comment with this  pair of curly brackets},

See below for an example.

@article{author2015paper,
title={paper title here},
author={author name},
comment={https://example.pdf},
year={2015}
}

Leave a Reply

Your email address will not be published. Required fields are marked *