I adapted the nomenclature from this post here: How to achieve nomenclature entries like: symbol, Description, Dimension and unit, etc? but I had difficulties adapting it for my own purpose.
This is the code I am currently working with:
\newcommand{\nomunit}[1]{\hfill\makebox[2em]{#1\hfill}\ignorespaces}
\newcommand{\insertnomheaders}{\item[\bfseries Symbol]%
\textbf{Description}\nomunit{\textbf{Units}}}
\renewcommand\nomgroup[1]{%
\item[\large\bfseries
\ifstrequal{#1}{A}{Acronyms}{%
\ifstrequal{#1}{R}{Roman Symbols}{%
\ifstrequal{#1}{G}{Greek Symbols}}}]
\insertnomheaders}
\renewcommand*{\nompreamble}{\markboth{\nomname}{\nomname}}
\newcommand{\nomdescr}[1]{\parbox[t]{12cm}{\RaggedRight #1}}
\newcommand{\nomwithdim}[4]{\nomenclature[#1]{#2}%
{\nomdescr{#3}\nomunit{#4}}}
\makenomenclature
\begin{document}
\mbox{}
\nomwithdim{R}{(a,b,c)}{half axes of ellipsoid}{\si{m}}
\nomwithdim{R}{(C)}{dimensionless coefficient (e.g.\ for drag model)}
\nomwithdim{G}{( \varepsilon_0 )}{vacuum permittivity}
\printnomenclature[6em]
\end{document}
What I want to have in the end is "Acronyms" with only symbol and description without units and Greek & Roman symbols with symbol description and units.
The original design is fine but I have difficulties with deleting the dimension and for acronyms both dimension and units without getting errors.
