장이 두 페이지 이상인 경우 페이지 번호가 누락됨

장이 두 페이지 이상인 경우 페이지 번호가 누락됨

페이지 번호는 논문의 모든 장 첫 번째 페이지에만 "만" 표시되고 다음 페이지에는 페이지 번호가 표시되지 않습니다.

나는 다음과 같은 서문을 사용했습니다.

\documentclass[12pt]{report}
\include{filename}
\usepackage{pgfplots}
\usepackage{tikz}
\pgfplotsset{compat=newest}
\pgfplotsset{ytick style={draw=none}}
\pgfplotsset{xtick style={draw=none}}
\topmargin=0.02cm
\textwidth =  17cm
\textheight = 23cm
\baselineskip=11pt
\setcounter{secnumdepth}{3}
\setlength{\oddsidemargin}{0.01 pt}
\setlength{\evensidemargin}{0.01 pt}
\renewcommand{\baselinestretch}{1.4}
\usepackage{amsmath,amsfonts,amssymb,amsthm}
\usepackage{graphicx}
\graphicspath{ }

\usepackage{ragged2e}
\usepackage{makecell, multirow, tabularx}
\renewcommand\theadfont{\small\bfseries} % for bold in table using \small

\usepackage{mathrsfs}
\usepackage{epstopdf}
\usepackage{csquotes}
\usepackage{wrapfig}
\usepackage{accents}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{calligra}
\usepackage[colorlinks]{hyperref}
\usepackage{kantlipsum}
\hypersetup{colorlinks, 
    breaklinks,
    linkcolor=red,
    citecolor=red,
    linktocpage=true}
\newtheorem{fig}{figure}[section]
\numberwithin{figure}{section}
\newcommand\norm[1]{\left\lVert#1\right\rVert}
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}[thm]{Lemma}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{cor}{Corollary}[thm]
\theoremstyle{definition}
\newtheorem{defn}{Definition}[section]
\newtheorem{conj}{Conjecture}[section]
\newtheorem{exmp}{Example}[section]
\setcounter{tocdepth}{3}
\theoremstyle{remark}
\newtheorem*{rem}{Remark}
\newtheorem*{note}{Note}
\usepackage{mathtools}
\graphicspath{{images/}}
\title{Thesis Title page}

\begin{document}

\maketitle

%\frontmatter

\pagestyle{empty}
\clearpage
\begin{center}
\textbf{\large DECLARATION}
\end{center}
\clearpage
\pagestyle{empty}
\begin{center}
\textbf{\large ACKNOWLEDGEMENTS}
\end{center}
\clearpage
\begin{center}
\textbf{\large CERTIFICATE FROM THE SUPERVISOR}
\end{center}

\clearpage

\pagestyle{empty}
\begin{center}
\textbf{\large NOTATIONS}
\end{center}

\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\thispagestyle{empty}
\newpage
\setcounter{page}{1}

\chapter{Introduction}

People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!
\chapter{Prelimineries}
People say that children are completely empty-headed. So what will be taught, so will learn, so will remember. But in the present time, this popular belief is largely shaken. Most parents complain, My child can't remember. Learning at home or at school, but test scores don't reflect that. Then the children forget!


\chapter{Main chapter 1}
\section{aa}
\section{bb}
\chapter{Main chapter 2}
\section{aa}
\section{bb}
\chapter{Main chapter 3}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\chapter{Main chapter 4}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\chapter{Main chapter 5}
\section{aa}
\subsection{aaa}
\section{bb}
\subsection{bbb}
\section{cc}

\end{document}

결과 pdf는여기

페이지 번호는 모든 장의 첫 번째 페이지에만 표시되고 후속 페이지에는 표시되지 않습니다. 예를 들어 "소개" 장의 2페이지에 페이지 번호가 없습니다.

위의 서문에서 "목차"와 관련하여 다음과 같은 특별한 부분을 강조하고 싶습니다.

\addtocontents{toc}{\protect\thispagestyle{empty}}
\tableofcontents
\thispagestyle{empty}
\newpage
\setcounter{page}{1}

\chapter{Introduction}

어쩌면 여기서 무슨 일이 일어나고 있을지도 모릅니다. 하지만 문제를 찾을 수 없었습니다.

감사해요

관련 정보