With the following code I am able to produce this:
Is it what you want?
\addtocounter{section}{1}
\section*{Section \thesection \\ Alpha}
\addtocounter{section}{1}
\section*{Section \thesection \\ Beta}
If you want to automate it you can define a new command before the \begin{document}
command:
\newcommand{\mysection}[1]{\addtocounter{section}{1}%
\section*{Section \thesection \\ #1}}
And use this new command instead of the usual \section
command
\mysection{Alpha}
\mysection{Beta}
NOTE: This has been obtained using the article
class.
\documentclass
are you using? Perhaps you can update your post to include a minimal working example (MWE). This should start with\documentclass
and end with\end{document}
. It just speeds up getting answers your way.