こんにちは。fancyhdr パッケージを使用して、ページ番号を右下に定義しています。通常は機能しますが、2 ページでは機能せず、ページ番号が右下ではなく中央下に表示されます。これらのページで番号付け形式を定義したためである可能性があります。しかし、この問題を解決できません。助けていただけませんか?
\documentclass[11pt]{report}
\usepackage[a4paper, margin=1in]{geometry}
\usepackage{amsmath, amsfonts}
\usepackage{graphicx,subfigure}
\usepackage[round,authoryear]{natbib}
\parindent 0ex
\usepackage[colorlinks=true,linkcolor=blue,urlcolor=blue, citecolor=blue]{hyperref}
\usepackage[table]{xcolor}
\usepackage{array,lscape,longtable,multicol,multirow,boldline,threeparttable,colortbl,enumitem}
\usepackage{fancyhdr}
\fancyhf{}
\pagestyle{fancy}
\rfoot{\thepage}
\begin{document}
\pagenumbering{roman}
\tableofcontents
\begingroup
\let\clearpage\relax
\listoffigures
\listoftables
\endgroup
\setcounter{chapter}{2}
%Chapter
%%===================================
\chapter{Methods of analysis of dams}
\pagenumbering{arabic}
\setcounter{page}{1}
\section{Introduction}
text...
\end document
答え1
各章の最初のページでは、plain
ページスタイルが使用されています。デフォルトでは、見出しはなく、ページ番号は下部中央に表示されます。目次、図表一覧などの見出しは、 コマンドを使用してタイプセットされる\chapter*
ため、動作は同じです。
ドキュメントのセクション 7plain
で説明されているように、スタイルを再定義することでこれを変更できます。fancyhdr
ドキュメントの序文に以下を追加します:
\fancypagestyle{plain}{%
\fancyhf{}% clear all header and footer fields
\rfoot{\thepage}%
\renewcommand{\headrulewidth}{0pt}%
\renewcommand{\footrulewidth}{0pt}%
}