如何将简介放在目录中而不计入章节数

如何将简介放在目录中而不计入章节数

简介未出现在目录中。以下示例说明了如何实现此目的。

\documentclass{book}
%\usepackage{graphicx}
\usepackage{tcolorbox}
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.0}
\title{Operation research}
\author{Dr.C. Andrey Vinajera-Zamora}
\begin{document}
    \tableofcontents
    \maketitle
\chapter*{Introduction}
In recent years the operation research has played an important role in ...
\chapter{Operation research}
the operation research is ....
\section{Lineal Programming}
 The lineal programming is considered
 \chapter{Solution methods}
 Some solution methods are
\end{document}

答案1

使用\frontmatter\mainmatter

\documentclass{book}
%\usepackage{graphicx}
\usepackage{tcolorbox}
\usepackage{setspace}
\renewcommand{\baselinestretch}{1.0}
\title{Operation research}
\author{Dr.C. Andrey Vinajera-Zamora}

\begin{document}

\pagestyle{empty}   
    \maketitle
    \tableofcontents
        \thispagestyle{empty}

\frontmatter
\pagestyle{plain}
\setcounter{page}{1}
\pagenumbering{arabic}
\chapter{Introduction}
In recent years the operation research has played an important role in ...

\mainmatter
\setcounter{page}{3}
\chapter{Operation research}
the operation research is ....
\section{Lineal Programming}
 The lineal programming is considered
 \chapter{Solution methods}
 Some solution methods are
\end{document}

编辑:这里是使用等方法解决您的其他问题的完整解决方案\setcounter

相关内容