我必须以“书本风格”撰写报告。以下是我的序言+正文:
\documentclass[a4paper]{book}
% Load the VUB package.
% This has many options, please read the documentation at
% https://gitlab.com/rubdos/texlive-vub
\usepackage{vub}
\usepackage[utf8]{inputenc}
% \usepackage{titling}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{ {./img/} }
\usepackage{todonotes}
\usepackage[
separate-uncertainty = true,
multi-part-units = repeat
]{siunitx}
\usepackage{cite}
\usepackage{natbib}
\usepackage{caption}
\usepackage{float}
\usepackage[]{amssymb }
\usepackage{subfig}
\usepackage[]{booktabs}
\renewcommand\thesection{\arabic{section}}
% Some highly suggested packages, please read their manuals.
%\usepackage{cleveref}
%\usepackage[natbib,style=apa]{biblatex}
%\addbibresource{bibliography.bib}
\title{MY TITLE}
\pretitle{\flushleft{Graduation thesis submitted in partial fulfilment of the requirements for the degree of engineering sciences: Applied Sciences and Engineering: Applied Computer Science }}
\author{ME}
\date{2021-2022}
\promotors{MY PROF}
\faculty{faculty}
\begin{document}
\frontmatter
\maketitle%
\chapter*{Abstract}
\addcontentsline{toc}{chapter}{Abstract}
blablabla
\newpage
\chapter*{Acknowledgements}
\addcontentsline{toc}{chapter}{Acknowledgements}
blabla
\newpage
\tableofcontents
\newpage
\pagenumbering{arabic}
\chapter*{List of abbreviations}
blabla list
\listoffigures
\chapter{Introduction}
\section{Tumor}
\section{Challenges}
\subsection{Heterogeneity}
\subsection{Non-contrast enhancing tumor}
\subsection{Manual Delineation}
\chapter{State of the art}
\section{Detection using technique A}
\section{Detection using technique B}
即使我以 \chapter{} 命令开始,我的目录仍然以 0.1、0.2、0.3 等开头对所有内容进行编号...
因此,我添加了\renewcommand\thesection{\arabic{section}}
命令,它会删除尾随的零,但不会对目录中的章节进行编号。
如何获得如下所示的目录:
TOC:
Abstract
Acknowledgements
List of abbreviations
1. Intro
1.1 Section 1
1.2 Section 2
2. Chapter2
2.1 Section 3
2.2 Section 4
而不是像这样:
TOC:
Abstract
Acknowledgements
Introduction 5
0.1 Tumor
0.2 Challenges
0.2.1 Heterogeneity
0.2.2 Non-contrast enhancing tumor
0.2.3 Manual Delineation
State of the art: GBM delineation
0.3 Detection using technique A
0.4 Detection using technique B
任何帮助,将不胜感激