简介部分之后分页,并且 \nopagebreak 不起作用

简介部分之后分页,并且 \nopagebreak 不起作用

因此,我希望该部分在简介段落之后立即开始,但它会开始一个新页面。注意:我是新手,所以我不确定是否应该包含更多内容才能知道问题是什么。

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{graphicx}
\usepackage{setspace}
\setstretch{1.25}
\begin{document}
\begin{titlepage}
 \noindent  
\begin{flushleft}
\includegraphics[scale=0.25]{example-image} \textbf{text}
\end{flushleft}
\hrule
\vspace{3cm}
\begin{center}
\Huge{\textbf {text}}\\
\vspace{2mm}
\line(1,0){300}\\
\vspace{1cm}
\Large{\textbf{text}}\\
\vspace{2cm} 
\large{\textbf{Date of submission: /5/2023}}
\end{center}
\vfill
\begin{flushleft}
\large{
Name:\hfill
ID: }
\end{flushleft}
\end{titlepage}
\renewcommand{\contentsname}{\huge{Table of Contents}}
\begin{center}
\tableofcontents
\end{center}
\addtocontents{toc}{\vspace{4mm}}
\newpage \section*{Abstract}
\Large{text} 
\addcontentsline{toc}{section}{Abstract}
\vspace{1.5cm}
\section{Introduction}
\Large{text}
\vspace{1.5cm}
\section{System Modeling and Properties}
\subsection{Mathematical Modelling}
\subsection{Simulink Model}
\subsection{Open Loop transfer function}
\section{Controller Design}
\section{Simulation Results and Analysis}
\section{Conclusions}
\section{References}
\section{Appendix}

\end{document}

相关内容