从页数统计中排除术语和词汇表

从页数统计中排除术语和词汇表

我希望将术语表和术语表排除在页数之外。它们没有出现在目录中,但它们仍然增加了我的页数。我如何知道我的总页数应该从哪一页开始?

\documentclass[12pt]{report}
\makeglossaries
\begin{document}
\begin{titlepage}
 ...
\end{titlepage}
\begin{abstract}
 ...
\end{abstract}
\newglossaryentry{cdc}
{
name=CDC, description={Center for Disease Control}
}
\newglossaryentry{lstm}
{
name=LSTM, description={Long Short Term Memory}
}
...
\printglossaries

\nomenclature[M]{$\phi$}{...Activation function in a neural network}

\nomenclature[M]{\textbf{v}}{...bold and lower case letters represents a vector}

\printnomenclature
\tableofcontents
\chapter{..}
%myblabla
\end{document}

答案1

感谢 Raffaele,它可以通过命令运行\frontmatter\mainmatter

\documentclass[12pt]{report}
\makeglossaries
\begin{document}
\begin{titlepage}
 ...
\end{titlepage}
\begin{abstract}
 ...
\end{abstract}
\newglossaryentry{cdc}
{
name=CDC, description={Center for Disease Control}
}
\newglossaryentry{lstm}
{
name=LSTM, description={Long Short Term Memory}
}
...
\printglossaries

\nomenclature[M]{$\phi$}{...Activation function in a neural network}

\nomenclature[M]{\textbf{v}}{...bold and lower case letters represents a vector}

\printnomenclature
\tableofcontents
\chapter{..}
\mainmatter
\pagenumbering{arabic}
%myblabla
\end{document}

相关内容