我希望章节从偶数页开始,所以我使用了 twoside 和 open right 命令,但它导致 \restoregeometry 在偶数页上不起作用。有人能帮我解决这个问题吗?
\documentclass[twoside,12pt,openright]{report}
\usepackage{emptypage}
\usepackage[a4paper]{geometry}
%\usepackage[myheadings]{fullpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.1pt}
\fancyhead[RE]{Section \thesection}
\fancyhead[LE]{Chapter \thechapter}
\fancyhead[RO]{Section \thesection}
\fancyhead[LO]{Chapter \thechapter}
\usepackage{lastpage}
\usepackage{xcolor}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\newcommand{\HRule}[1]{\rule{\linewidth}{#1}}
\usepackage{fancyhdr}
\usepackage{afterpage,lipsum}
\begin{document}
\begin{titlepage}
\newgeometry{
a4paper,
total={170mm,250mm},
left=20mm,
right=10mm,
top=20mm,
}
\includegraphics[width = 50mm]{LOGOBourgogne.png}%\\[15ex]
\hspace{6.5cm}\includegraphics[width = 55mm]{Logo.PNG}\\[15ex]
\centering
{\scshape\LARGE University of Burgundy \par}
\vspace{1cm}
{\scshape\Large Final year project\par}
\vspace{1.5cm}
{\huge\bfseries Channel Emulation using SDR\par}
\vspace{2cm}
{\Large\itshape Ali SABRA\par}
\vfill
Supervised by\par
{\large\itshape Pr. Marion BERBINEAU}
\vfill
{\large \today\par}
%\author{Ali SABRA \\ Supervisor: Marion Berbineau}
%\date{from May to August 2019}
\end{titlepage}
\restoregeometry