summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pracjourn/pjsample.tex
blob: 7391d0c95bd93b61b7df3a8202fc9f5ed7f735be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
\documentclass{pracjourn}[2006/02/20]

%%% Revision control and journal issue
\TPJrevision{2006}{02}{20}
\TPJissue{2005}{2}
%%%

%%% Mandatory article metadata %%%
\title{Example of a \PracTeX\ Journal article}
\author{Will Robertson}
\abstract{This is an example document created with the
  \PracTeX\ Journal's class file. It is based on the article class,
  using 12\,pt Palatino with 15.5\,pt leading. This new version 
  obviously has a modified layout, with a bunch of
  optional extra author info commands.
  
  Some people have more than a single paragraph in their 
  abstract. In fact, it is quite common.}
%%%

%%% Optional article metadata %%%
\email{will@guerilla.net.au}
%\hyperlinkemail
\website{http://www.mecheng.adelaide.edu.au/~will/} 
\address{Adelaide, Australia} 
% Please adjust the copyright statement to your needs:  
\license{Copyright \textcopyright\ 2006 Will Roberton.\\
  Permission is granted to distribute verbatim or modified\\
  copies of this document provided this notice remains intact.}
%%%

%%% Defining more metadata:
\addinfospace{1ex}
\addinfo[\color{blue}\scshape]{Hobby}
\hobby{Sleeping in.}
%%%

%%% Changing the hyperlink colour:
\definecolor{linkcolour}{rgb}{0.7,0.2,0.2}
%%%

\begin{document}
\maketitle

\section{Introduction}
This is an example of the \texttt{pracjourn} document class.
Articles should always start with a section title, which will usually be `Introduction' or somesuch.

This document demonstrates the features of the document class.
Here are some logos and abbreviations:
  \note{Tuned for Palatino, but refinements welcomed.}
\TeX, \pdfTeX, \BibTeX, \MF, \MP, \LaTeX, \LaTeXe, 
\mbox{\ConTeXt}, \pdfLaTeX, \XeTeX, \PracTeX, \TPJ, \PS.

On the following pages are shown the document divisions and list environments.

\newpage
\section{Section headings}
\itshape The fact is that his precocity in vice was awful. At five months of age he
used to get into such passions that he was unable to articulate. At six
months, I caught him gnawing a pack of cards. At seven months he was in
the constant habit of catching and kissing the female babies. At eight
months he peremptorily refused to put his signature to the Temperance
pledge.
  \note{Text from Edgar Allen Poe's `Never bet the Devil your head'.}

\subsection{Subsection}

Poverty was another vice which the peculiar physical deficiency of
Dammit's mother had entailed upon her son. He was detestably poor, and
this was the reason, no doubt, that his expletive expressions about
betting, seldom took a pecuniary turn. I will not be bound to say that I
ever heard him make use of such a figure of speech as ``I'll bet you a
dollar.'' It was usually ``I'll bet you what you please,'' or ``I'll bet you
what you dare,'' or ``I'll bet you a trifle,'' or else, more significantly
still, \emph{``I'll bet the Devil my head.''}

\subsubsection{Subsubsection}

\upshape Subsubsections are in the same font size as the body text, so I guess
it's possibly a little small. I doubt many people really will wish to
use a subsubsection in a journal article. But if they wish, there's
nothing stopping 'em.
  \note{Another footnote test. 
    This one has to be really long to see what happens 
    when a footnote extends over more than one line. 
    I.e., two or more.}

\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.

\subparagraph{Subparagraphs} For those who want them\dots.

\newpage
\section{Lists}
An itemized list:
\begin{itemize}
\item one,
\item two, and
\item three.
  A nested itemised list:
  \begin{itemise}
  \item one,
  \item two, and
  \item three.
  \end{itemise}
\end{itemize}
An enumerated list:
\begin{enumerate}
\item one,
\item two, and
\item three.
\end{enumerate}
A description list:
\begin{description}
\item [one] the first,
\item [two] the second, and
\item [three] the third. A nested description list:
  \begin{description}
  \item [one] the first,
  \item [two] the second, and
  \item [three] the third.
  \end{description}
\end{description}

%Here is the content of the revision file, \verb+_rev.tex+:
%\begingroup\makeatletter\def\@tempa{\begin{verbatim}\@@input _rev.tex}%
%\expandafter\endgroup\@tempa\end{verbatim}

%Here is the content of the issue file, \verb+_iss.tex+:
%\begingroup\makeatletter\def\@tempa{\begin{verbatim}\@@input _iss.tex}%
%\expandafter\endgroup\@tempa\end{verbatim}

\end{document}