| 1 |
\documentclass{pracjourn}[2006/02/20] |
| 2 |
|
| 3 |
%%% Revision control |
| 4 |
\TPJrevision{2006}{02}{20} |
| 5 |
%%% |
| 6 |
|
| 7 |
%%% Mandatory article metadata %%% |
| 8 |
\title{Example of a \PracTeX\ Journal article} |
| 9 |
\author{Will Robertson} |
| 10 |
\abstract{This is an example document created with the |
| 11 |
\PracTeX\ Journal's class file. It is based on the article class, |
| 12 |
using 12\,pt Palatino with 15.5\,pt leading. This new version |
| 13 |
obviously has a modified layout, with a bunch of |
| 14 |
optional extra author info commands. |
| 15 |
|
| 16 |
Some people have more than a single paragraph in their |
| 17 |
abstract. In fact, it is quite common.} |
| 18 |
%%% |
| 19 |
|
| 20 |
%%% Optional article metadata %%% |
| 21 |
\email{[email protected]} |
| 22 |
%\hyperlinkemail |
| 23 |
\website{http://www.mecheng.adelaide.edu.au/~will/} |
| 24 |
\address{Adelaide, Australia} |
| 25 |
% Please adjust the copyright statement to your needs: |
| 26 |
\license{Copyright \textcopyright\ 2006 Will Roberton.\\ |
| 27 |
Permission is granted to distribute verbatim or modified\\ |
| 28 |
copies of this document provided this notice remains intact.} |
| 29 |
%%% |
| 30 |
|
| 31 |
%%% Defining more metadata: |
| 32 |
\addinfospace{1ex} |
| 33 |
\addinfo[\color{blue}\scshape]{Hobby} |
| 34 |
\hobby{Sleeping in.} |
| 35 |
%%% |
| 36 |
|
| 37 |
%%% Changing the hyperlink colour: |
| 38 |
\definecolor{linkcolour}{rgb}{0.7,0.2,0.2} |
| 39 |
%%% |
| 40 |
|
| 41 |
\begin{document} |
| 42 |
\maketitle |
| 43 |
|
| 44 |
\section{Introduction} |
| 45 |
This is an example of the \texttt{pracjourn} document class. |
| 46 |
Articles should always start with a section title, which will usually be `Introduction' or somesuch. |
| 47 |
|
| 48 |
This document demonstrates the features of the document class. |
| 49 |
Here are some logos and abbreviations: |
| 50 |
\note{Tuned for Palatino, but refinements welcomed.} |
| 51 |
\TeX, \pdfTeX, \BibTeX, \MF, \MP, \LaTeX, \LaTeXe, |
| 52 |
\mbox{\ConTeXt}, \pdfLaTeX, \XeTeX, \PracTeX, \TPJ, \PS. |
| 53 |
|
| 54 |
On the following pages are shown the document divisions and list environments. |
| 55 |
|
| 56 |
\newpage |
| 57 |
\section{Section headings} |
| 58 |
\itshape The fact is that his precocity in vice was awful. At five months of age he |
| 59 |
used to get into such passions that he was unable to articulate. At six |
| 60 |
months, I caught him gnawing a pack of cards. At seven months he was in |
| 61 |
the constant habit of catching and kissing the female babies. At eight |
| 62 |
months he peremptorily refused to put his signature to the Temperance |
| 63 |
pledge. |
| 64 |
\note{Text from Edgar Allen Poe's `Never bet the Devil your head'.} |
| 65 |
|
| 66 |
\subsection{Subsection} |
| 67 |
|
| 68 |
Poverty was another vice which the peculiar physical deficiency of |
| 69 |
Dammit's mother had entailed upon her son. He was detestably poor, and |
| 70 |
this was the reason, no doubt, that his expletive expressions about |
| 71 |
betting, seldom took a pecuniary turn. I will not be bound to say that I |
| 72 |
ever heard him make use of such a figure of speech as ``I'll bet you a |
| 73 |
dollar.'' It was usually ``I'll bet you what you please,'' or ``I'll bet you |
| 74 |
what you dare,'' or ``I'll bet you a trifle,'' or else, more significantly |
| 75 |
still, \emph{``I'll bet the Devil my head.''} |
| 76 |
|
| 77 |
\subsubsection{Subsubsection} |
| 78 |
|
| 79 |
\begin{figure} |
| 80 |
\centering test |
| 81 |
\caption{test} |
| 82 |
\end{figure} |
| 83 |
\upshape Subsubsections are in the same font size as the body text, so I guess |
| 84 |
it's possibly a little small. I doubt many people really will wish to |
| 85 |
use a subsubsection in a journal article. But if they wish, there's |
| 86 |
nothing stopping 'em. |
| 87 |
\note{Another footnote test. |
| 88 |
This one has to be really long to see what happens |
| 89 |
when a footnote extends over more than one line. |
| 90 |
I.e., two or more.} |
| 91 |
|
| 92 |
\paragraph{Paragraphs} Named paragraphs are very similar to description lists; however, these may be useful more \emph{multiple} paragraphs, whereas description lists work better with only a single paragraph per item. |
| 93 |
|
| 94 |
\subparagraph{Subparagraphs} For those who want them\dots. |
| 95 |
|
| 96 |
\newpage |
| 97 |
\section{Lists} |
| 98 |
An itemized list: |
| 99 |
\begin{itemize} |
| 100 |
\item one, |
| 101 |
\item two, and |
| 102 |
\item three. |
| 103 |
A nested itemised list: |
| 104 |
\begin{itemise} |
| 105 |
\item one, |
| 106 |
\item two, and |
| 107 |
\item three. |
| 108 |
\end{itemise} |
| 109 |
\end{itemize} |
| 110 |
An enumerated list: |
| 111 |
\begin{enumerate} |
| 112 |
\item one, |
| 113 |
\item two, and |
| 114 |
\item three. |
| 115 |
\end{enumerate} |
| 116 |
A description list: |
| 117 |
\begin{description} |
| 118 |
\item [one] the first, |
| 119 |
\item [two] the second, and |
| 120 |
\item [three] the third. A nested description list: |
| 121 |
\begin{description} |
| 122 |
\item [one] the first, |
| 123 |
\item [two] the second, and |
| 124 |
\item [three] the third. |
| 125 |
\end{description} |
| 126 |
\end{description} |
| 127 |
|
| 128 |
%Here is the content of the revision file, \verb+_rev.tex+: |
| 129 |
%\begingroup\makeatletter\def\@tempa{\begin{verbatim}\@@input _rev.tex}% |
| 130 |
%\expandafter\endgroup\@tempa\end{verbatim} |
| 131 |
|
| 132 |
%Here is the content of the issue file, \verb+_iss.tex+: |
| 133 |
%\begingroup\makeatletter\def\@tempa{\begin{verbatim}\@@input _iss.tex}% |
| 134 |
%\expandafter\endgroup\@tempa\end{verbatim} |
| 135 |
|
| 136 |
\end{document} |