[Tex/LaTex] Hide section number for a specific section

bookmarkshyperrefnumberingsectioningtable of contents

I'd like to hide the number of a specific section, but it's subsections should keep the right numbering, as should the labels and numbers that appear in the PDF's bookmarks (I think it's the hyperref package that does the bookmarks).

I was hopeful that the advice contained in the thread hide section numbering but continue adding-up would help, but the results I'm getting are similar to simply using the \section*{} variant.

Any suggestion?

Best Answer

You can use \stepcounter{section} which will increment the section counter by one, as demonstrated below

enter image description here

\documentclass{article}
\usepackage{lipsum}

\begin{document}

\section{Regular section}
\lipsum[1]

\stepcounter{section}
\section*{Starred section}
\subsection{Subsection}\label{ssec:test}

Here is a reference to subsection \ref{ssec:test}
\end{document}