[Tex/LaTex] openright sections in article class

articlesectioning

Is there a way to achieve something like openright, but for sections in the article class?

The MWE would be somthing like this, real simple:

\documentclass{article}
\begin{document}

\tableofcontents

\section{Number 1}
Some text...
\section{Number 2}
Some text...
\section{Number 3}
Some text...
\section{Number 4}
Some text...

\end{document}

But every section should start on the right page.

Best Answer

Very likely you are using the wrong class.

Nevertheless, \cleardoublepage can be added before each \section. Also class option twoside needs to be set:

\documentclass[twoside]{article}

\usepackage{etoolbox}
\pretocmd\section{\cleardoublepage}{}%
  {\errmessage{Patching \noexpand\section failed}}

\begin{document}

\tableofcontents

\section{Number 1}
Some text...
\section{Number 2}
Some text...
\section{Number 3}
Some text...
\section{Number 4}
Some text...

\end{document}
Related Question