在論文上製作出版部分

在論文上製作出版部分

我想在我的博士學位中開闢一個部分。專門針對出版物的論文(結構就像一個章節)。

這是我目前在論文中使用的程式碼(不考慮包列表):

\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}

如何插入出版品部分?

答案1

過去,我已經成功地做到瞭如下biblatex(我鼓勵您採用)。

在您出版品的 bibtex 條目中新增關鍵字,例如keywords = {mine}.

然後,對於正常參考,請使用\printbibliography[notkeyword=mine](以便您的出版物被過濾掉)。

然後,在 的幫助下refcontext,建立您的出版物清單。我曾經\nocite{}設定出現的順序,因為refcontext用 呼叫[sorting = none]。透過使用\nocite{},假定您的作品在整個文本中沒有被引用,並且僅在手稿的末尾列出。這也是為什麼notkeyword需要上一步的原因。

\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}

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}

確實,您不需要分離references.bibmypublications.bib但很可能您將bib分別使用論文的不同文件,並且單獨添加這些文件而不是合併它們是最快的(當然,除非有重複項) )。

在此輸入影像描述

相關內容