
Gostaria de fazer uma seção em meu doutorado. tese dedicada às publicações (estruturada como se fosse um capítulo).
Este é o código que estou usando atualmente para minha tese (sem considerar a lista de pacotes):
\documentclass[a4paper,12pt,twoside,cucitura]{report}
\usepackage[a4paper,outer=3.2cm,bottom=3.5cm,inner=2.2cm,top=2.5cm]{geometry}
\usepackage{booktabs,tabularx}
\newcommand\vn[1]{\mathit{#1}} % how to display variable names
\newcolumntype{C}{>{\centering\arraybackslash$\displaystyle }X<{$}}
\pagestyle{fancy}
\usepackage{hyperref
\hypersetup{%
pdfpagemode={UseOutlines},
bookmarksopen,
pdfstartview={FitH},
colorlinks,
linkcolor={blue},
citecolor={red},
urlcolor={blue}
}
\pagenumbering{roman}
\begin{document}\errorcontextlines=9
\interfootnotelinepenalty=10000
\tableofcontents
\fancyhead[RO,LE]{}
\fancyfoot[RO,LE]{}
\newcommand\blankpage{
\null
\thispagestyle{empty}
\addtocounter{page}{-1}
\newpage
}
\pagenumbering{arabic}
\input{Chapter1/Chapter1}
\input{Chapter2/Chapter2}
\input{Chapter3/Chapter3}
\input{Chapter4/Chapter4}
\input{Chapter5/Chapter5}
\begin{appendices}
\input{Appendix1/Appendix1}
\input{Appendix2/Appendix2}
\input{Appendix3/Appendix3}
()\end{appendices}
\renewcommand{\bibname}{References}
\bibliography{thesisbib}
\bibliographystyle{ieeetr}
\end{document}
Como posso inserir a seção de publicações?
Responder1
Antigamente, consegui fazer isso da seguinte maneira, com biblatex
(que encorajo você a adotar).
Adicione uma palavra-chave nas entradas do bibtex da sua publicação, como keywords = {mine}
.
Depois, para referências normais, use \printbibliography[notkeyword=mine]
(para que suas publicações sejam filtradas).
Depois, com a ajuda do refcontext
, crie sua lista de publicações. Eu costumava \nocite{}
definir a ordem de aparecimento, já que refcontext
é chamado com [sorting = none]
. Ao utilizar \nocite{}
, presume-se que seus trabalhos não são referenciados ao longo do texto, sendo listados apenas no final do manuscrito. Este também é o motivo pelo qual notkeyword
é necessário na etapa anterior.
\begin{refcontext}[sorting=none]
\defbibnote{myprenote}{If you wish to add explanations}
\nocite{mypaper1,mypaper2}
\printbibliography[%
title = {List of Publications},
prenote = myprenote,
keyword = mine,
]
\end{refcontext}
Um MWE é:
\documentclass[]{book}
\begin{filecontents}{references.bib}
@book{knuth1997art,
title={The Art of Computer Programming: Fundamental algorithms},
author={Knuth, D.E. and Addison-Wesley},
number={v. 1},
isbn={9780201896831},
lccn={97002147},
series={Addison-Wesley series in computer science and information processing},
url={https://books.google.it/books?id=B31GAAAAYAAJ},
year={1997},
publisher={Addison-Wesley}
}
\end{filecontents}
\begin{filecontents}{mypublications.bib}
@book{mypaper1,
title={The Art of something else},
author={me},
% isbn={ },
% lccn={},
keywords = {mine},
year={2020},
publisher={the publisher},
}
@book{mypaper2,
title={The Art of something else 2},
author={me},
% isbn={ },
keywords = {mine},
% lccn={},
year={2020},
publisher={the publisher},
}
\end{filecontents}
\usepackage[%
bibstyle = ieee,
citestyle = numeric,
% isbn = true,
% doi = false,
% % sorting = nty,
% % sorting = none,
% % sorting = debug,
% url = false,
% defernumbers = true,
% bibencoding = utf8,
% backend = biber
]{biblatex}
\addbibresource{references.bib}
\addbibresource{mypublications.bib}
\begin{document}
\cite{knuth1997art}
\printbibliography[notkeyword=mine]
\begin{refcontext}[sorting=none]
\defbibnote{myprenote}{If you wish to add explanations}
\nocite{mypaper1,mypaper2}
\printbibliography[%
title = {List of Publications},
prenote = myprenote,
keyword = mine,
]
\end{refcontext}
\end{document}
Na verdade, você não precisa separar references.bib
de mypublications.bib
, mas é provável que você use os diferentes bib
arquivos de seus documentos separadamente, e é mais rápido adicionar esses arquivos separadamente, em vez de mesclá-los (a menos que haja duplicatas, é claro ).