How do I hide section number in section heading ? I can't just use \section*{xxxx}, because I want subsections numbered correctly. I also tried :
\section*{xxxx}
\stepcounter{xxxx}
Which hides section number and keeps subsection numbers. Unfortunately this solution also hides section in table of contents, which is undesirable.
Next attempt was :
\chapter{}
\section*{xxxx}
\addtocounter{section}{1}
However this made numbering of subsections continue on and on instead of reseting at new section. So what can I do to make it behave as normal, just not showing section numbers ? Thanks!


\ref? (ok admittedly referring to a section number when it is not printed is a bit weird, but still?) Thanks! – Matifou Jan 05 '23 at 13:24\refproduce if there's nothing to show? Even if we keep the numbering, how's a user supposed to find it? – egreg Jan 05 '23 at 13:54