zoukankan      html  css  js  c++  java
  • LaTeX术语表Nomenclature

    模板

    documentclass{article}
    usepackage{nomencl}%所用宏包
    makenomenclature%必须加上,放在egin{document}之前
    
    egin{document}
    printnomenclature%放在想输出术语表的地方,一般是段首
    section*{Main equations}
    egin{equation}
    a=frac{N}{A}
    end{equation}%
    
    omenclature{$a$}{The number of angels per unit area}%
    
    omenclature{$N$}{The number of angels per needle point}%
    
    omenclature{$A$}{The area of the needle point}%
    The equation $sigma = m a$%
    
    omenclature{$sigma$}{The total mass of angels per unit area}%
    
    omenclature{$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相应位置出现了术语表

    想要了解更多关于Latex术语表中nomencl分类(subgroup)为 参数Parameters 变量Variables等

  • 相关阅读:
    java线程上
    java常用类
    java面向对象4
    java 面向对象三
    java面向对象下
    java面向对象
    java基础下
    Java之Stream流
    JAVA泛型
    英语
  • 原文地址:https://www.cnblogs.com/inexcel/p/12574163.html
Copyright © 2011-2022 走看看