首页 > 分享 > LaTeX技巧889: 用LaTeX生成术语表

LaTeX技巧889: 用LaTeX生成术语表

在采用Latex撰写学术论文时,有时需要生成论文的术语表,用以说明论文中所使用符号或者是专业术语,给出其详细的解释,在LaTeX里,可以调用Nomenclature包进行术语表的生成。载入usepackage{nomencl} 宏包,其使用与makeindex非常类似,下面是其制作的一个样例代码:

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}

在示例文件夹下打开命令窗口(Shift+鼠标右键),并输入下面命令,回车

latex <filename>.tex

继续在当前的命令窗口输入下面命令,回车

makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls

便会在文件目录下多出nls文件。 如果你需要中文的术语表的名字,可以用renewcommand{nomname}{术语表} 来修正。 效果图如下: 选自:http://blog.sciencenet.cn/blog-798994-768983.html

相关知识

latex 画图
LaTeX 计数器
LaTeX大冒险:从新手菜鸟到排版大师的奇幻旅程
《Word排版艺术》读后感,兼谈LaTeX
【LaTex】花体字应用全指南:从基础到高级的字体美化技巧
LaTex图和表之直接在 LaTeX 中绘制图表
Latex安装和基本使用(Mac+MikTex+TexStudio)
学术写作利器——LaTeX入门笔记整理(不定期更新,附加使用心得)
LaTeX排版工具与学术论文模板:理工科实验报告的高效解决方案
LaTeX技巧838:LaTeX 公式上下花括号的交错

网址: LaTeX技巧889: 用LaTeX生成术语表 https://m.huajiangbk.com/newsview2599786.html

所属分类:花卉
上一篇: 【技术】转发收藏!印刷行业常用的
下一篇: 常用sci论文——术语Nomen