我编辑了这个sapthesis-template
并添加了一些包,但在输出中\dedication
和之间出现了一个空白页\tableofcontnts
。为什么?我该怎么做才能抑制它?
我的代码
太感谢了
% !TeX encoding = UTF-8
% !TeX program = pdflatex
% !TeX spellcheck = it_IT
\documentclass[binding=0.6cm]{sapthesis}
\usepackage{microtype}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
% My edit starts from following line...
\usepackage[svgnames,x11names]{xcolor}
\usepackage{sectsty}
\chapterfont{\color{Gold1}}
\sectionfont{\color{Silver}}
\usepackage[notextcomp]{stix}
\usepackage[notext, nomath, not1, notextcomp, upint]{stix2}
\usepackage[bb=ams]{mathalpha}
% ... and finishes here.
\usepackage{hyperref}
\hypersetup{pdftitle={La mia tesi},pdfauthor={Francesco Biccari}}
\title{La mia tesi}
\author{Francesco Biccari}
\IDnumber{123456}
\course{Laurea Magistrale in Fisica}
\courseorganizer{Facoltà di Scienze Matematiche, Fisiche e Naturali}
\AcademicYear{2021/2022}
\advisor{Prof. Caio}
\coadvisor{Dr. Sempronio}
\authoremail{[email protected]}
\copyyear{2022}
\thesistype{Tesi di Laurea Magistrale}
\begin{document}
\frontmatter
\maketitle
\dedication{Dedicato a\\ Donald Knuth}
\begin{abstract}
Questa tesi parla di me.
\end{abstract}
\tableofcontents
\mainmatter
\chapter{Introduzione}
...
\backmatter
\cleardoublepage
\phantomsection % Give this command only if hyperref is loaded
\addcontentsline{toc}{chapter}{\bibname}
% Here put the code for the bibliography. You can use BibTeX or
% the BibLaTeX package or the simple environment thebibliography.
\end{document}