我想知道是否有办法让页面编号从 2 开始而不是从 1 开始。(我的献词页从 1 开始,我希望它从 2 开始,因此将标题页算作 1 但不显示数字)。
\documentclass[12pt]{report}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\graphicspath{ {images/} }
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{setspace}
\usepackage{fourier, erewhon, cabin}
\usepackage[english]{babel}
\usepackage{float}
\usepackage{titletoc}
\usepackage{relsize}
%\usepackage[margin=1.25in]{geometry}
\usepackage{lipsum}
\usepackage[top=1.5in, left=1.25in, bottom=1.75in, right=1.25in]{geometry}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\normalfont\huge\bfseries\centering}{\centering\chaptertitlename\ \thechapter}{15pt}{\huge}
\titlespacing*{\chapter}
{0pt}{15pt}{15pt}
\addto\captionsenglish{\renewcommand*\contentsname{\centerline{Table of contents}}}
\graphicspath{{C:/Users/User/OneDrive - Seattle University/Documents/Latex/Dissertation/Figures}}
\newcommand\tab[1][1cm]{\hspace*{#1}}
\renewcommand*\contentsname{Table of Contents}
\renewcommand{\contentsname}{\centering Contents}
\newcommand\Chapter[2]{\chapter
[#1\hfil\hbox{}\protect\linebreak{\itshape#2}]%
{#1\\[2ex]\Large\itshape#2}%
}
\newlength{\bracewidth}
\newcommand{\myunderbrace}[2]{\settowidth{\bracewidth}{$#1$}#1\hspace*{-1\bracewidth}\smash{\underbrace{\makebox{\phantom{$#1$}}}_{#2}}}
\usepackage{tocloft}
\usepackage{comment}
%\begin{comment}
\renewcommand{\cftchapdotsep}{\cftdotsep} % dots after chapter entries
\setlength{\cftchapnumwidth}{8em} % increase space for chapter numbers
\renewcommand{\cftchappresnum}{CHAPTER } % put this before chapter numbers
\begin{document}
\pagestyle{empty}
\input{title}
\pagenumbering{roman}
\input{Dedication}
\input{ACKNOWLEDGEMENTS}
\tableofcontents
\listoffigures
\listoftables
\pagenumbering{arabic}
\input{Chapter_1}
\input{Chapter_2}
\input{Chapter_3}
\input{Chapter_4}
\input{Chapter_5}
\input{Chapter_6}
\input{Appendix}
\end{document}
答案1
\pagenumbering{roman}
重置页码1
并更改格式(罗马字体)。因此只需执行
\pagenumbering{roman}%
\stepcounter{page}% Change page to page + 1 (which is 2 in this case)
或者,如果您想要一些通用的页码<num>
,请使用
\pagenumbering{roman}%
\setcounter{page}{<num>}%