TeXstudio的NOMENCLATURE
生活随笔
收集整理的這篇文章主要介紹了
TeXstudio的NOMENCLATURE
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
一、新建范例
\documentclass{article} \usepackage[utf8]{inputenc}\usepackage{nomencl}%在序言部分引入包 \makenomenclature%該命令通常放置在usepackage{nomencl}之后,begin{document}之前\begin{document}\nomenclature{$c$}{Speed of light in a vacuum inertial frame}%定義術(shù)語(yǔ)集條目。 \nomenclature{$h$}{Planck constant} %擁有兩個(gè)參數(shù),分別為符號(hào)和其對(duì)應(yīng)的描述。 \printnomenclature\end{document}?二、添加用戶(hù)自定義命令
在 Options→configure TeXstudio→Bulid→User Commands→Add 添加以下命令:
makeindex %.nlo -s nomencl.ist -o %.nls
?再點(diǎn)擊?Add 添加以下命令:
txs:///compile |makeindex %.nlo -s nomencl.ist -o %.nls | txs:///view
三、生成 nomenclature
方法一
1.點(diǎn)擊Tools→Compile——產(chǎn)生.nlo文件
2.點(diǎn)擊 Tools→User→1 ——代碼產(chǎn)生.nls文件
3.點(diǎn)擊Tools→Build&View——看見(jiàn)效果
方法二
點(diǎn)擊 Tools→User→2 ——看見(jiàn)效果
參考文章
1、如何在使用Latex編輯術(shù)語(yǔ)表,并在Texstudio中添加命令編輯https://zhuanlan.zhihu.com/p/46442713https://zhuanlan.zhihu.com/p/46442713
2、LaTeX 術(shù)語(yǔ)集 Nomenclatureshttps://blog.csdn.net/xovee/article/details/118604572https://blog.csdn.net/xovee/article/details/118604572
注釋
\makeglossary 和 \printglossary 命令現(xiàn)在已分別重命名為 \makenomenclature 和 \printnomenclature。 進(jìn)行此更改的原因是為了增加與其他使用MakeIndex的軟件包的兼容性。
總結(jié)
以上是生活随笔為你收集整理的TeXstudio的NOMENCLATURE的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: pxcook导出html代码,Pxcoo
- 下一篇: 周报告工作总结计算机,计算机实训工作总结