如何用罗马数字插入摘要、致谢和贡献部分?

如何用罗马数字插入摘要、致谢和贡献部分?

我正在整理我的生物化学论文。这是我第一次使用 latex。我很高兴和自豪我学会了如何使用它(基础知识)。感谢社区对我的帮助(以及在线视频!:我真的很感激!我正在整理我的论文。这是我的 main.tex:

\documentclass[12pt, twoside]{report}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{pdflscape}
\usepackage{caption}
\captionsetup[figure]{labelfont=bf}
\graphicspath{{./Chapters/Figures/}}

\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}

%Load math package
\usepackage{amsmath}

%Set up the headers
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{14.5pt}
%Allows first indent and loads setspace package to be used in different documents.
\usepackage{indentfirst}
\usepackage{setspace}
\usepackage{url}

%Make cell space and scientific notation
\usepackage{longtable, cellspace, booktabs}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\usepackage[table]{xcolor}
\usepackage{siunitx}
\sisetup{scientific-notation = true}


%Enables paragraph spacing. Saves the old indent value and restores it after loading the parskip package. Otherwise, you lose the indents. 
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent

\usepackage[sorting=none,backend=biber]{biblatex}
\addbibresource{Chapters/references.bib}
\usepackage[nottoc]{tocbibind}

\usepackage{cleveref}

\begin{document}

\input{Chapters/pageTitle.tex}

\listoffigures
\listoftables
\tableofcontents

% %Add chapters 
\chapter{Introduction}
\input{Chapters/Introduction.tex}

\chapter{Methodology}
\input{Chapters/Methodology.tex}

\chapter{Results}
\input{Chapters/Results.tex}

\chapter{Discussion}
\input{Chapters/Discussion.tex}

\chapter{Conclusion}
\input{Chapters/Conclusion.tex}

\appendix
\chapter{Figures}
\input{Chapters/Figures.tex}

\chapter{Tables}
\input{Chapters/Tables.tex}

\singlespacing
\printbibliography[heading=bibintoc]

\end{document}

我正在尝试在引言前添加罗马数字的摘要、致谢和贡献部分。我希望目录中有这样的内容:

Abstract.............II
Acknowledgement......III
Contribution.........IV
TableOfContents......V

Introduction.........1
....

我看过类似的关于使用 book 类的帖子。但是,我正在使用 report 类。我不知道更换类是否会影响任何事情。有简单的解决方法吗?或者使用 report 类的示例?非常感谢您抽出时间!

编辑:

   \documentclass[12pt, openany]{book}
    \usepackage{graphicx}
    \usepackage[a4paper,margin=1in]{geometry}
    \usepackage{pdflscape}
    \usepackage{caption}
    \captionsetup[figure]{labelfont=bf}
    \graphicspath{{./Chapters/Figures/}}

    \usepackage[T1]{fontenc}
    \usepackage[utf8]{inputenc}

    %Load math package
    \usepackage{amsmath}

    %Set up the headers
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \setlength\headheight{14.5pt}
    %Allows first indent and loads setspace package to be used in different documents.
    \usepackage{indentfirst}
    \usepackage{setspace}
    \usepackage{url}

    %Make cell space and scientific notation
    \usepackage{longtable, cellspace, booktabs}
    \setlength\cellspacetoplimit{4pt}
    \setlength\cellspacebottomlimit{4pt}
    \usepackage[table]{xcolor}
    \usepackage{siunitx}
    \sisetup{scientific-notation = true}


    %Enables paragraph spacing. Saves the old indent value and restores it after loading the parskip package. Otherwise, you lose the indents. 
    \edef\restoreparindent{\parindent=\the\parindent\relax}
    \usepackage{parskip}
    \restoreparindent

    \usepackage[sorting=none,backend=biber]{biblatex}
    \addbibresource{Chapters/references.bib}
    \usepackage[nottoc]{tocbibind}

    \usepackage{cleveref}

    \begin{document}

    \input{Chapters/titlePage.tex}
    \frontmatter
    \setcounter{page}{2}
    \chapter{Abstract}
    \input{Chapters/Abstract.tex}
    \listoffigures
    \listoftables
    \tableofcontents
    \addcontentsline{toc]{chapter}{Contents}

    \mainmatter
    \chapter{Introduction}
    \input{Chapters/Introduction.tex}

    \chapter{Methodology}
    \input{Chapters/Methodology.tex}

    \chapter{Results}
    \input{Chapters/Results.tex}

    \chapter{Discussion}
    \input{Chapters/Discussion.tex}

    \chapter{Conclusion}
    \input{Chapters/Conclusion.tex}

    \appendix
    \chapter{Figures}
    \input{Chapters/Figures.tex}

    \chapter{Tables}
    \input{Chapters/Tables.tex}

    \singlespacing
    \printbibliography[heading=bibintoc]

    \end{document}

这给了我:

在此处输入图片描述

相关内容