Latex术语表中nomencl分类(subgroup)为 参数Parameters 变量Variables等

nomencl宏包
提问
参考How to achieve nomenclature entries like: symbol, Description, Dimension and unit, etc?

主要copy这一篇customize vertical space of entries and subgroup names in nomenclature

效果图

直接用:

\documentclass{article}
\usepackage{nomencl}
\usepackage{ifthen}

\renewcommand{\nompreamble}{}% code after main title
\renewcommand{\nomgroup}[1]{%
  \item[\textbf{%
    \ifthenelse{\equal{#1}{M}}{Parameters}{}%
    \ifthenelse{\equal{#1}{N}}{Variables}{}% add more groups as needed
    }]%

}

\makenomenclature

\begin{document}

\nomenclature[M]{M$_1$}{big-M parameters}
\nomenclature[N]{$t$}{temperature}
\nomenclature[N]{$t1$}{temperature111}
\nomenclature[M]{$t2$}{temperature121}
\printnomenclature
\end{document}
posted @ 2020-03-26 15:15  inexcel  阅读(1963)  评论(0编辑  收藏  举报