我想将我的命名法的外观更改为更接近下图的设计,有人知道该怎么做吗?
现在看起来像:
我的小示例受到以下启发:(如何实现命名条目,如:符号、描述、尺寸和单位等?)
\documentclass{article}
\usepackage{nomencl,etoolbox,ragged2e,siunitx}
\newcommand{\insertnomheaders}{\item[\bfseries Symbol]%
\textbf{Description}\hfill{\textbf{Units}}}
\renewcommand\nomgroup[1]{%
\item[\large\bfseries
\ifstrequal{#1}{A}{Acronyms}{%
\ifstrequal{#1}{R}{Roman Symbols}{%
\ifstrequal{#1}{G}{Greek Symbols}{%
\ifstrequal{#1}{S}{Superscripts}{%
\ifstrequal{#1}{U}{Subscripts}{%
\ifstrequal{#1}{X}{Other Symbols}{}}}}}}]
\insertnomheaders
}
\renewcommand*{\nompreamble}{\markboth{\nomname}{\nomname}}
\newcommand{\nomdescr}[1]{\parbox[t]{4.5cm}{\RaggedRight #1}}
\newcommand{\nomwithdim}[4]{\nomenclature[#1]{#2}%
{\nomdescr{#3}{#4}}}
\makenomenclature
\begin{document}
\mbox{}
\nomwithdim{R}{\(a,b,c\)}{half axes of ellipsoid}{\si{m}}
\printnomenclature%[\textwidth]%[6em]
\end{document}