命名法不起作用

命名法不起作用

尝试在文档中打印我的命名法。我不确定将\makenomenclatureand\printnomenclature命令放在哪里。尝试了几种方法,但都没有用。问题是:将这些命令放在哪里,以便正确编译命名法?

我使用以下序言(采用大学报告风格):

\documentclass{undefineduniversity-report}
\usepackage{changes}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{siunitx} %allow SI units
\usepackage{cleveref} %smart referencing, automatic sorting etc.
\usepackage{nomencl}
\makenomenclature 

\begin{document}

\renewcommand{\bibname}{References} %rename bibliography --> references

%% Use Roman numerals for the page numbers of the title pages and table of
%% contents.
\frontmatter

\title[ ]{Development of Siliconoxide as Electron Selective Passivating \\ Contact Layer in Silicon \\ Heterjunction Solar Cells}
\author{}
\affiliation{}
\coverimage{thesiscover.png}
\makecover

%% Include an optional title page.
\input{titlepage}

\input{abstract}

\input{nomenclature/nomenclature}

\tableofcontents

%% Use Arabic numerals for the page numbers of the chapters.
\mainmatter


\mainmatter % from here the arabic number starts

\input{chapters/introduction/introduction}
\input{chapters/background/background}
\input{chapters/methodology/methodology}
\input{chapters/results/results}
\input{chapters/discussion/discussion}
\input{chapters/conclusion/conclusion}
\input{chapters/acknowledgements/acknowledgements}


%% Use letters for the chapter numbers of the appendices.
\appendix

\input{appendix/appendix-a}
\input{appendix/appendix-b}

\bibliographystyle{IEEEtran}
\bibliography{references}

\结束{文档}

我对命名章节的定义如下:

\chapter*{Nomenclature}
\addcontentsline{toc}{chapter}{Nomenclature}

\nomenclature{$J_{sc}$}{Short circuit current: current through the solar cell \\ when the voltage across the solar cell is zero}

\printnomenclature

另外,我想知道命名法包如何列出其输入(按字母顺序或仅按照您在文档中输入的顺序)。

非常感谢您的帮助!!

相关内容