This is what I have at the head of my tex document (article):
\title{Some Article}
\author{John Doe}
\date{\today}
\documentclass[pdftex,12pt,a4paper]{article}
\usepackage{setspace}
\usepackage[textwidth=16cm,textheight=24cm]{geometry}
\begin{document}
\maketitle
. . .
I want to add a subtext below the title. As shown in the practical example given here I want to have the author's name on the left side, and supervisor's name on the right side. How can I do it? I tried the example from the above link, but, while compiling, it shows the error: document begin is not specified.