The \maketitle
function for articles and reports proves useful, but the format required for my situation is different from the standard Title that is given. I am using LaTeX from MiKTeX on Windows, and have found the class and style files for article, but can't understand the code completely. I need to modify:
- Add a component to be created called
\class
, which would work the same was as\author
. - Make the Title show below the author, class, and date.
- Flush the author, class, and date to the right.
To illustrate, I want to be able to write my maketitle code like the following:
\documentclass[notitlepage,12pt,Arial]{article}
\author{Me}
\date{April 14, 2015}
\class{1}
\title{Example Title}
\begin{document}
\maketitle
Some Text here.
\end{document}
It should turn out Something like the following:
\documentclass{...}
and ending with\end{document}
. Is easier for us in this way can help you copiyng and running code instead watch a screenshot.titlepage
.