我为我的文档生成了一个命名法,无论符号有多长,符号和定义之间的水平间距都保持不变。例如:
\documentclass{article}
\usepackage{amsmath}
\usepackage{nomencl}
\makenomenclature
\begin{document}
Example of nomenclature
\nomenclature{TIARLW}{This is a really long word}
\nomenclature{TOA}{This one also}
\nomenclature{a}{another}
\nomenclature{$\partial{u}/\partial{z}$}{Here's another one}
\printnomenclature
\end{document}
导致
如何制定命名法以使每个定义都一致?是否可以将其视为表格?
答案1
您可以通过可选参数来修复(nomlabelwidth
符号的空间量)\printnomenclature
\printnomenclature[<width>]
最初它固定为1cm
。
完整代码:
\documentclass{article}
\usepackage{amsmath}
\usepackage{nomencl}
\makenomenclature
\begin{document}
Example of nomenclature
\nomenclature{TIARLW}{This is a really long word}
\nomenclature{TOA}{This one also}
\nomenclature{a}{another}
\nomenclature{$\partial{u}/\partial{z}$}{Here's another one}
\printnomenclature[1in] %%% add width here.
\end{document}
选择适当的值。