LaTeX术语表Nomenclature

模板

\documentclass{article}
\usepackage{nomencl}%所用宏包
\makenomenclature%必须加上,放在\begin{document}之前

\begin{document}
\printnomenclature%放在想输出术语表的地方,一般是段首
\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.
\end{document}

编译

  • 1.pdflatex直接运行,生成pdf文档。
    可以发现文件夹中出了一个后缀为.nlo的文件

  • 2.在对应文件夹下打开cmd命令窗口(Shift+鼠标右键),并输入下面命令,回车

    makeindex .nlo -s nomencl.ist -o .nls
    记得把换成自己tex文件的名称 如,makeindex Template.nlo -s nomencl.ist -o Template.nls
    一定要把<>去掉!!!

  • 3.pdflatex直接运行,就可以看到pdf相应位置出现了术语表

  • 3
    点赞
  • 12
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值