# Remove Space Above Nomenclature Title in Article Class

I am using article document class and I am making all my section titles appearing centred at top of page. I am making a separate page for the nomenclature using \usepackage{nomencl} and everything is wokring fine EXCEPT: I would like the 'Nomenclature' title to appear centered at the top of the page and the list of symbols begin underneath with a space between title and first entry of, lets say 1cm.

I have checked some similar questions, but they appear to be using book or report class, which I think has something to do with why those solutions won't work in my case:

Remove space before nomenclature in Lyx

and

Spacing prior to start of the nomenclature

This is my code:

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}

\usepackage[intoc]{nomencl}
\makenomenclature

\begin{document}
\mbox{}

\nomenclature{$c$}{Speed of light in a vacuum inertial frame}
\nomenclature{$h$}{Planck constant}

\printnomenclature

\end{document}


In a real document, you probably want \printnomenclature to be preceded by text and, possibly, by \clearpage so that it starts at the top.

If the document has just nomenclature, you need \mbox{} so a page is actually shipped out and the nomenclature entries are written out.

In this case, add \mbox{} after \printnomenclature:

\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}

\usepackage[intoc]{nomencl}
\makenomenclature

\begin{document}

\nomenclature{$c$}{Speed of light in a vacuum inertial frame}
\nomenclature{$h$}{Planck constant}

\printnomenclature

\mbox{}

\end{document}


Note: the image has been prepared with \usepackage{showframe} in order to show the page boundaries.

Put the below code at the preamble of your main LaTeX document.

\renewcommand{\nompreamble}{\vspace*{-1cm}}


I hope this helps!