\documentclass[draft,titlepage]{article}
\usepackage{lipsum}



\def\frontmatter{%
    \pagenumbering{roman}
    \setcounter{page}{1}
    \renewcommand{\thesection}{\Roman{section}}
  }%

  \def\mainmatter{%
    \newpage
    \pagenumbering{arabic}
    \setcounter{page}{1}
    \setcounter{section}{0}
    \renewcommand{\thesection}{\arabic{section}}
  }%
  

\def\backmatter{%
    \setcounter{section}{0}
    \renewcommand{\thesection}{\Alph{section}}
  }%
  

\title{The title}
\author{Gerardo Marx Chávez Campos}

\begin{document}
\maketitle

\frontmatter

\section{Why Do This?}

\lipsum[1]

\section{Because I Can!}

\lipsum[2]

\newpage
\tableofcontents

\mainmatter

\section{See?  It works!}

\lipsum[3]

\section{It's the best this way!}

\lipsum[4]

\backmatter

\section{And We Even Get Appendices!}

\lipsum[1]

\end{document}

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
