I want to create a glossary using glossaries where first latin symbols are displayed (in alphabetical order) and greek symbols after that.
I use the code below:
Code: Select all
\documentclass[listof=flat,a4paper,12pt,headsepline,bibliography=totoc,listof=totoc,index=totoc,cleardoublepage=empty,numbers=noenddot,headings=normal]{scrreprt}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{makeidx}
\usepackage[nonumberlist,toc,acronym]{glossaries}
\newglossary[slg]{symbolslist}{syi}{syg}{Notation}
\renewcommand*{\glspostdescription}{}
\glsdisablehyper
\makeglossaries
\include{Symbols}
\newglossaryentry{latinletters}{name={},description={},sort=a}
\newglossaryentry{greekletters}{name={},description={},sort=b}
\newglossaryentry{symb:c}{sort=ac,
name={\ensuremath{c}},
description={first-stage objective (e.g. $c^Tx$)},
parent=latinletters,
type=symbolslist}
\newglossaryentry{symb:Omega}{sort=bomega,
name={\ensuremath{\Omega}},
description={set of all random events},
parent=greekletters,
type=symbolslist}
\glsaddall
\begin{document}
\newglossarystyle{mylist}{%
\glossarystyle{super}% base this style on the list style
\renewcommand{\glsgroupskip}{}% make nothing happen between groups
}
\printglossary[type=symbolslist,style=mylist ,title=Notation]
helloworld
\end{document}
How can I sort out this problem?
Many thanks!