Как сделать так, чтобы нумерация страниц отображалась на всех страницах

Как сделать так, чтобы нумерация страниц отображалась на всех страницах

В моем документе latex только введение и первая страница первой главы имеют номера страниц, но последующие страницы не нумеруются, пока я не дойду до следующей главы. Как мне сделать все страницы пронумерованными?

Вот мои посылки:

\documentclass[english, 12pt]{report}
\usepackage{color}
\usepackage{lettrine}
\usepackage[normalem]{ulem}
\usepackage{fancybox}
\usepackage[Lenny]{fncychap}%form
\usepackage{fancyhdr}
\usepackage[]{graphics}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{epsfig}
\usepackage{enumitem}
\usepackage{url}
\usepackage[skins]{tcolorbox}
\usepackage{silence}

\WarningFilter{minitoc(hints)}{W0023}
\WarningFilter{minitoc(hints)}{W0024}
\WarningFilter{minitoc(hints)}{W0028}
\WarningFilter{minitoc(hints)}{W0030}

\WarningFilter{blindtext}{} % this takes care of the `blindtext` messages

\usepackage[math,bible]{blindtext}
\usepackage{minitoc}
\usepackage{float} 
 \usepackage[pdfencoding = auto, psdextra, bookmarksdepth = 4]{hyperref}
\usepackage[noabbrev]{cleveref}
\usepackage{lmodern}
\usepackage[all]{xy}
\textwidth=16.5truecm \textheight=22.75truecm \voffset=-1truecm
\hoffset=-1 truecm 
\linespread{1.6}

\newtheorem{lem}{Lemma}[section]
\newtheorem{notations}{Notations}[section]
\newtheorem{notation}{Notation}[section]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{defn}{Definition}[chapter]
\newtheorem{remark}{Remark}[section]
\newtheorem{example}{Example}[chapter]
\newtheorem{cor}{Corollary}[section]

А это текст для Главы 1:

     \chapter*{\textbf{ Introduction}} 
     \addcontentsline{toc}{chapter}{\numberline{}Introduction}
     \pagenumbering{arabic}%number
      \pagestyle{fancy}
     \fancyhf{}
    \rhead{\thepage}
    \lhead{\bfseries Introduction}
     
 \lettrine{\bf{L}}{ }e mot
 
     \chapter{\rm\textbf{ The Time Scales Calculus}}
     \pagestyle{fancy}
    \fancyhf{}
     \lhead{\bfseries\nouppercase{\rightmark}}
    
    % \lettrine{A}{ }
     \section{Basic Definitions}
     
     We begin this chapter by stating out the basic definitions that will be used in this work.
     \begin{defn}
             A $\textit{time scale}$ is an ....
     \end{defn}

решение1

Вам следует задать изысканный стиль в преамбуле.

\RequirePackage{fix-cm}% for scalable CM fonts

\documentclass[english, 12pt]{report}
\usepackage{color}
\usepackage{lettrine}
\usepackage[normalem]{ulem}
\usepackage{fancybox}
\usepackage[Lenny]{fncychap}%form <---- OH, NO!
\usepackage{fancyhdr}
\usepackage{graphicx}% <--- NOT graphics
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
%\usepackage{epsfig}% <--- OBSOLETE
\usepackage{enumitem}
\usepackage{url}
\usepackage[skins]{tcolorbox}
\usepackage{silence}

\WarningFilter{minitoc(hints)}{W0023}
\WarningFilter{minitoc(hints)}{W0024}
\WarningFilter{minitoc(hints)}{W0028}
\WarningFilter{minitoc(hints)}{W0030}

\WarningFilter{blindtext}{} % this takes care of the `blindtext` messages

\usepackage[math,bible]{blindtext}
\usepackage{minitoc}
\usepackage{float} 
\usepackage{lmodern}
\usepackage[all]{xy}

\usepackage{geometry}
\usepackage{setspace}

\usepackage[pdfencoding = auto, psdextra, bookmarksdepth = 4]{hyperref}
\usepackage[noabbrev]{cleveref}

% USE geometry INSTEAD
%\textwidth=16.5truecm \textheight=22.75truecm \voffset=-1truecm
%\hoffset=-1 truecm
\geometry{textwidth=16.5cm,textheight=22.75cm,heightrounded,headheight=14.5pt}

% USE setspace INSTEAD
%\linespread{1.6}
\setstretch{1.6}

%% fancyhdr setup
\pagestyle{fancy}
\fancyhf{}
\rhead{\thepage}
\lhead{\bfseries\rightmark}

%% fncychap setup
\ChTitleVar{\Huge\bfseries}
\ChNameVar{\fontsize{14}{0}\selectfont}
\ChNumVar{\fontsize{60}{62}\selectfont} 

\newtheorem{lem}{Lemma}[section]
\newtheorem{notations}{Notations}[section]
\newtheorem{notation}{Notation}[section]
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{defn}{Definition}[chapter]
\newtheorem{remark}{Remark}[section]
\newtheorem{example}{Example}[chapter]
\newtheorem{cor}{Corollary}[section]

\begin{document}

\chapter*{Introduction}
\addcontentsline{toc}{chapter}{\numberline{}Introduction}
\markboth{Introduction}{Introduction}

\lettrine{\bfseries L}{}e mot
\blindtext \blindtext \blindtext
 
\chapter{The Time Scales Calculus}

\section{Basic Definitions}
     
We begin this chapter by stating out the basic definitions that will be used in this work.
\begin{defn}
A \emph{time scale} is an ....
\end{defn}

\blindtext \blindtext \blindtext

\end{document}

Пожалуйста, посмотрите на изменения, которые я сделал. И подумайте еще раз, стоит ли использовать Lenny: один из самых уродливых стилей заголовков глав, которые я когда-либо видел. Я попытался исправить самые очевидные ошибки, по крайней мере, используя тот же шрифт, что и в документе.

Обратите внимание, что \rmи \bfне поддерживаются уже около 30 лет.

Возможно, вы захотите исправить настройки страницы, но используйте geometryи ни в коем случае не трогайте \hoffsetи \voffset.

Кстати, $\textit{time scale}$это определенно неверно.

введите описание изображения здесь

Связанный контент