我在简介的第二页看到了 LoT 标题。我该如何解决这个问题?
\documentclass[12pt,a4paper,twoside,openright]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{lipsum}
\usepackage{microtype}
\usepackage{emptypage}
%-------------------------------
\usepackage{fancyhdr}
\newcommand{\changefont}{%
\fontsize{10}{11}\selectfont
}
\fancyhf{}
\fancyhead[RE,LO]{\changefont \slshape \leftmark}
\fancyfoot[C]{\changefont \thepage}
\pagestyle{fancy}
%-------------------------------
%-------------------------------
\begin{document}
\frontmatter
\tableofcontents
\renewcommand\contentsname{Indice}
\addcontentsline{toc}{chapter}{Indice}
\listoffigures
\renewcommand\listfigurename{Lista delle Figure}
\addcontentsline{toc}{chapter}{Lista delle Figure}
\listoftables
\renewcommand\listtablename{Lista delle Tabelle}
\addcontentsline{toc}{chapter}{Lista delle Tabelle}
\mainmatter
\chapter*{Introduzione}
\addcontentsline{toc}{chapter}{Introduzione}
\lipsum[1]
\bigskip
\lipsum[2]
\bigskip
\lipsum[1]
\end{document}
答案1
您可以\markboth{Introduzione}{}
在之后使用\chapter*{Introduzione}
;一个完整的示例(我还使用将预定义名称的重新定义移动到了序言中\addto\captionsitalian
):
\documentclass[12pt,a4paper,twoside,openright]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,italian]{babel}
\usepackage{lipsum}
\usepackage{microtype}
\usepackage{emptypage}
\addto\captionsitalian{%
\renewcommand\contentsname{Indice}
\renewcommand\listfigurename{Lista delle Figure}
\renewcommand\listtablename{Lista delle Tabelle}
}
%-------------------------------
\usepackage{fancyhdr}
\newcommand{\changefont}{%
\fontsize{10}{11}\selectfont
}
\fancyhf{}
\fancyhead[RE,LO]{\changefont \slshape \leftmark}
\fancyfoot[C]{\changefont \thepage}
\pagestyle{fancy}
%-------------------------------
%-------------------------------
\begin{document}
\frontmatter
\addcontentsline{toc}{chapter}{Indice}
\tableofcontents
\addcontentsline{toc}{chapter}{Lista delle Figure}
\listoffigures
\addcontentsline{toc}{chapter}{Lista delle Tabelle}
\listoftables
\mainmatter
\chapter*{Introduzione}
\addcontentsline{toc}{chapter}{Introduzione}
\markboth{Introduzione}{}
\lipsum[1-6]
\end{document}