![모든 페이지에 페이지 번호 매기기를 표시하는 방법](https://rvso.com/image/461870/%EB%AA%A8%EB%93%A0%20%ED%8E%98%EC%9D%B4%EC%A7%80%EC%97%90%20%ED%8E%98%EC%9D%B4%EC%A7%80%20%EB%B2%88%ED%98%B8%20%EB%A7%A4%EA%B8%B0%EA%B8%B0%EB%A5%BC%20%ED%91%9C%EC%8B%9C%ED%95%98%EB%8A%94%20%EB%B0%A9%EB%B2%95.png)
내 라텍스 문서에서는 첫 장의 소개와 첫 페이지에만 페이지 번호가 있지만 다음 장에 도달할 때까지 다음 페이지에는 번호가 매겨져 있지 않습니다. 모든 페이지에 번호를 매기려면 어떻게 해야 합니까?
내 패키지는 다음과 같습니다.
\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를 사용할지 다시 생각해 보세요. 나는 최소한 문서와 동일한 글꼴을 사용하여 가장 명백한 결함을 수정하려고 노력했습니다.
약 30년 동안 더 이상 사용되지 \rm
않습니다 .\bf
페이지 설정을 수정하고 싶을 수도 있지만 및 를 geometry
절대 만지지 마세요 .\hoffset
\voffset
그건 그렇고, $\textit{time scale}$
확실히 잘못된 것입니다.