网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

Latex Nomenclature 包添加术语表方法

时间:2024-12-08 20:14:56

1、添加示例文件或者将以下内容复制到空白的Tex文件中。\documentclass{article}\usepackage{nomencl}\makenomenclature\begin{document}\section*{Main equations}\begin{equation}a=frac{N}{A}\end{equation}%\nomenclature{$a$}{The number of angels per unit area}%\nomenclature{$N$}{The number of angels per needle point}%\nomenclature{$A$}{The area of the needle point}%The equation $sigma = m a$%\nomenclature{$sigma$}{The total mass of angels per unit area}%\nomenclature{$m$}{The mass of one angel}follows easily.\printnomenclature\end{document}

Latex Nomenclature 包添加术语表方法Latex Nomenclature 包添加术语表方法

2、在示例文件夹下打开命令窗口(Shift+鼠标右键),并输入下面命令,回车latex <filename>.tex会生成以下文件。

Latex Nomenclature 包添加术语表方法Latex Nomenclature 包添加术语表方法

3、继续在当前的命令窗口输入下面命令,回车makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls便会在文件目录下多出nls文件

Latex Nomenclature 包添加术语表方法Latex Nomenclature 包添加术语表方法

4、再次对文档进行编译,仍在命令行中输入下面命令latex <filename>.tex回得到下图中所示的文档。

Latex Nomenclature 包添加术语表方法
© 2026 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com