LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and AcronymsCreate different types of nomanclature on the same page

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Colin93
Posts: 57
Joined: Mon Apr 04, 2016 2:55 pm

Create different types of nomanclature on the same page

Postby Colin93 » Mon Apr 18, 2016 1:56 pm

Hi everyone

I have a nomenclature with 4 entries : Symbol, Descrption, Dimension & Units. My basis is this :

  1. \documentclass{article}
  2.  
  3. \usepackage{nomencl,etoolbox,ragged2e,siunitx}
  4.  
  5. \newcommand{\DimensUnits}[2]{\hfill\makebox[8em]{#1\hfill}%
  6. \makebox[4em]{#2\hfill}\ignorespaces}
  7. \newcommand{\insertnomheaders}{\item[\bfseries Symbol]%
  8. \textbf{Description}\DimensUnits{\textbf{Dimensions}}{\textbf{Units}}}
  9.  
  10. \renewcommand\nomgroup[1]{%
  11. \item[\large\bfseries
  12. \ifstrequal{#1}{A}{Acronyms}{%
  13. \ifstrequal{#1}{R}{Roman Symbols}{%
  14. }
  15.  
  16. \renewcommand*{\nompreamble}{\markboth{\nomname}{\nomname}}
  17.  
  18. \newcommand{\nomdescr}[1]{\parbox[t]{4cm}{\RaggedRight #1}}
  19. \newcommand{\nomwithdim}[5]{\nomenclature[#1]{#2}%
  20. {\nomdescr{#3}\DimensUnits{#4}{#5}}}
  21.  
  22. \makenomenclature
  23.  
  24. \begin{document}
  25. \mbox{}
  26. \nomwithdim{R}{\(a,b,c\)}{half axes of ellipsoid}{L}{\si{m}}
  27.  
  28. \printnomenclature[6em]
  29. \end{document}



However, I want to create on the same page a nomenclature with only with "Symbol" and "Descrption" I want to create another group but having trouble. Could you help me ?
Last edited by cgnieder on Mon Apr 18, 2016 2:43 pm, edited 1 time in total.
Reason: added code markup

Tags:

Return to “MakeIndex, Nomenclature, Glossaries and Acronyms”

Who is online

Users browsing this forum: No registered users and 0 guests