I wish I could have the groups inside nomenclature
in different pages each and their titles centered. So far I tried the following MWE:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{etoolbox}
\usepackage{nomencl}
\makenomenclature
\renewcommand\nomgroup[1]{%
\item[\centering\normalsize\bfseries
\ifstrequal{#1}{A}{%
\MakeUppercase{List of Abbreviations and Acronyms}%
}{%
\ifstrequal{#1}{S}{\MakeUppercase{List of Symbols}}{}}%
]\thispagestyle{empty}}
\renewcommand{\nomname}{}
\begin{document}
\nomenclature[A]{H2O}{Water}
\nomenclature[A]{CO2}{Chemical 1}
\nomenclature[A]{CO}{Chemical 2}
\nomenclature[A]{HC}{Chemical 3}
\nomenclature[A]{kWp}{kilowatt-peak}
\nomenclature[S]{EPE}{Research Electrical Company}
\printnomenclature[1cm]
\end{document}
I got this:
But I wish I have them in different pages and the titles centered like this:
The solution here seem to solve the different pages problem but it doesn't solve the title centered. Could anyone help me please?