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}


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM