New answers tagged

1

You can redefine \section to capture and condition on when the starred-version is used. Upon finding \section*, issue it just like you would \section, but remove the number-printing mechanism through an appropriate setting of the counter secnumdepth. \documentclass{article} \usepackage{xparse} \let\oldsection\section \makeatletter ...



Top 50 recent answers are included