[233] | 1 | % It is suggested to use the "letterpaper" option below, output is |
---|
| 2 | % currently unpredictable if anything else is chosen |
---|
| 3 | |
---|
| 4 | % Including "titlepage" generates a separate titlepage and contents, |
---|
| 5 | % leaving it out causes a title header to be placed on the first page |
---|
| 6 | |
---|
| 7 | \documentclass[letterpaper, titlepage]{WARPdoc} |
---|
| 8 | |
---|
| 9 | \begin{document} |
---|
| 10 | |
---|
| 11 | \title{Using the WARPdoc Class} |
---|
| 12 | \author{Gareth B Middleton} |
---|
| 13 | \organization{Rice University\\ CMC Lab} |
---|
| 14 | |
---|
| 15 | %This version number will be included in the footer on every page |
---|
| 16 | %You must update it manually whenever you want a new version |
---|
| 17 | % number to show up in the PDF |
---|
| 18 | \version{1.2} |
---|
| 19 | |
---|
| 20 | \maketitle |
---|
| 21 | |
---|
| 22 | \section{Requirements} |
---|
| 23 | The WARPdoc document class requires: |
---|
| 24 | \begin{enumerate} |
---|
| 25 | |
---|
| 26 | \item {\bf WARP logo}: The WARP project logo in PDF form must be in the root directory of your LaTeX project and must be named ``warplogo.pdf". A copy of the logo is included with this example document. |
---|
| 27 | |
---|
| 28 | \item {\bf hyperref package}: The hyperref package must be in the path of your LaTeX installation. You can obtain a copy of the package from \href{http://www.tug.org/applications/hyperref/}{http://www.tug.org/applications/hyperref/}. |
---|
| 29 | |
---|
| 30 | \item {\bf color \& graphicx packages}: These packages are required for the color formatting and graphics included in the WARPdoc class. These are standard packages which are probably included in your LaTeX installation. |
---|
| 31 | |
---|
| 32 | \end{enumerate} |
---|
| 33 | |
---|
| 34 | \section{Sections} |
---|
| 35 | This document class supports hierarchy through sub-subsections, as illustrated below. |
---|
| 36 | |
---|
| 37 | \subsection{Subsections} |
---|
| 38 | This is the body of the first subsection. |
---|
| 39 | |
---|
| 40 | \subsubsection{Sub-subsections} |
---|
| 41 | This is the body of the first subsubsection. |
---|
| 42 | |
---|
| 43 | \section{Figures} |
---|
| 44 | |
---|
| 45 | Figures are included in the usual way. Here's a reference to the figure below: Figure \ref{fig:warplogo}. |
---|
| 46 | |
---|
| 47 | \begin{figure}[h*] |
---|
| 48 | \centering |
---|
| 49 | \includegraphics{warplogo.pdf} |
---|
| 50 | \caption{This is the WARP logo} |
---|
| 51 | \label{fig:warplogo} |
---|
| 52 | \end{figure} |
---|
| 53 | |
---|
[212] | 54 | \end{document} |
---|