大家好,
我不知道为什么每个部分的数字都显示为 0.1、0.2 等。我尝试修复代码,但没有成功。非常感谢您的帮助和建议。以下是代码:
\documentclass[12pt]{report}%For type of paper
\usepackage{authblk}
\usepackage{setspace}% For double space
\doublespacing% For double space
\usepackage{subeqnarray} % For number equations (1a), (1b) etc.
\usepackage{graphicx,epstopdf} % For including graphics
\usepackage[framed , numbered]{matlab-prettifier}% For MATLAB code
\usepackage{amssymb}% ams math, symbol packages
\usepackage{amsmath} % more ams
\usepackage{nccmath}
\usepackage[english]{babel}
\usepackage{blindtext}
%-----------------------------------------------------------------------
\begin{document}
%-----------------------------------------------------------------------
\title{\textbf{Fourier Series and Gibbs Phenomenon with An Application in MATLAB} }
\author{Author: Waleed Al Ikhwan\\[0.5cm]{ Professor: Fernando Charro}}
\affil{Department of Mathematics}
\affil{Wayne State University}
\maketitle
\tableofcontents
\newpage
\doublespacing
\section{Abstract}
\section{introduction}
\section{Motivation}
\section{Analysis}
\subsection{Convergance of Fourier Series}
\subsection{Dirichlet Kernel}
\section{Results}
\section{Conclusion}
答案1
您正在使用该类report
,因此您应该将文本分为几章。由于您没有引入任何章节,因此 LaTeX 假定所有内容都发生在第 0 章中。因此使用 0。