[LaTeX] Include a reference in the bibliography without citing it in the text

Sometimes when we are writing documents  (e.g., for some applications), where it may require a list of recent publications – in this case, we need to list the references without citing it in the text body. The solution is:

Use \nocite{keyname} for a single input in the references without marking it in the document. To mark any key in the .bib file use \nocite{*}

write \nocite{*} for all entries in the bib data file or \nocite{key} for a single one, which is not cited in the text. Place these commands anywhere in your text body. I prefer the place before printing the bib.

 

For example:

%myrefbib.bib
@misc{abc,
    author = "NAME",
    date = "YEAR",
    howpublished = "ACM Digital"
    }
%example.tex

\documentclass{article}

\begin{document}

\nocite{abc}

\bibliographystyle{alpha}
\bibliography{myrefbib}

\end{document}

 

Leave a Reply

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