如何消除第 0 章在里面目录
\documentclass[a4paper,12pt,openany]{book}
\usepackage{etex}
\usepackage[utf8]{inputenc}
\usepackage{chngcntr}
\usepackage{fontenc}
\usepackage[french]{babel}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{titleps}
\newpagestyle{mine}{%
\headrule
\sethead{\itshape\chaptername\thechapter}{}{\itshape\chaptertitle}
\setfoot{}{}{\thepage}}%
\renewpagestyle{plain}{%
\setfoot{}{}{\thepage}}%
\pagestyle{mine}
\usepackage{color}
\usepackage{dsfont}
\usepackage{lastpage}
\usepackage{sectsty}
\usepackage[left=2cm,right=2cm,top=2.75cm,bottom=3cm]{geometry}
\usepackage[Bjornstrup]{fncychap}
\begin{document}
\tableofcontents
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\chapter{a}
\end{document}
答案1
诸如 的命令\chapter*{Introduction}
会产生未编号的章节,该章节不会出现在目录中。如果本应为第 1 章的内容显示为第 0 章或第 2 章,则应将\setcounter{chapter}{1}
其放在前面。