I am using a nomenclature in LyX with this preamble, which I learned to do here, in order to make a nomenclature with two columns and several groups. I have the exactly same preamble working in other document (I have attached too), but it isn't working here I don't know why.
Code: Select all
\renewcommand{\nomgroup}[1]{%
\ifthenelse{\equal{#1}{G}}{\item[\textbf{Símbolos griegos}]}{%
\ifthenelse{\equal{#1}{L}}{\item[\textbf{Símbolos latinos}]}{%
\ifthenelse{\equal{#1}{R}}{\item[\textbf{Sistemas de referencia}]}{%
\ifthenelse{\equal{#1}{SUB}}{\item[\textbf{Subíndices}]}{%
\ifthenelse{\equal{#1}{SUP}}{\item[\textbf{Superíndices}]}
{}
}% matches Símbolos griegos
}% matches Símbolos latinos
}% matches Sistemas de referencia
}% matches Subíndices
}% matches Superíndices
\usepackage{multicol}
\renewcommand*\nompreamble{\begin{multicols}{2}}
\renewcommand*\nompostamble{\end{multicols}}