我希望章節從偶數頁開始,所以我使用了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