TeX - LaTeX Asked by Boris Benedikter on November 17, 2020
I have to write my PhD annual activity report. In a section, I am talking about my research citing many references (including some of my publications) that appear in the bibliography section at the end of the document.
However, I also have to list all my publications in a separate section. How can I print only my publications in that section?
My main.tex file looks something like this:
documentclass[11pt, a4paper]{article}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage[numbers]{natbib}
begin{document}
section{Research}
Some text citing my work cite{mywork2019} and others' work cite{otherswork}.
section{My Publications}
printmypublications % Some function that prints only my publications
bibliographystyle{unsrtnat}
bibliography{bibliography}
end{document}
My bibliography.bib file looks like this
@inproceedings{mywork2019,
title={My Work},
author={Me},
booktitle={Conference},
year={2019}
}
@inproceedings{otherswork,
title={Others' work},
author={Someone else},
booktitle = {Some Conference},
year = {2019}
}
Is there a function that prints some specific references?
I think it only prints references after you have cited them (that's the case with biblatex). If you want to print references you have not cited, you may have to define a new command(s) yourself. However, if you want to print different references in different bibliographies you just make separate .bib files and print them. Alternatively, you could use biblatex and write this in the end:
printbibliography[type=article,title={Articles only}]
printbibliography[type=book,title={Books only}]
printbibliography[keyword={physics},title={Physics-related only}]
printbibliography[keyword={latex},title={LaTeX-related only}]
and something like this in the start:
usepackage[
backend=biber,
style=authortitle,
sorting=ynt
]{biblatex}
addbibresource{ bibliography.bib}
You can read more about this at overleaf's help pages: https://www.overleaf.com/learn/latex/Natbib_bibliography_styles https://www.overleaf.com/learn/latex/Biblatex_bibliography_styles https://www.overleaf.com/learn/latex/Bibliography_management_in_LaTeX
Answered by Vebjorn on November 17, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP