summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/pracjourn/pjsample.ltx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/pracjourn/pjsample.ltx')
-rw-r--r--macros/latex/contrib/pracjourn/pjsample.ltx136
1 files changed, 136 insertions, 0 deletions
diff --git a/macros/latex/contrib/pracjourn/pjsample.ltx b/macros/latex/contrib/pracjourn/pjsample.ltx
new file mode 100644
index 0000000000..7f7b0f9b85
--- /dev/null
+++ b/macros/latex/contrib/pracjourn/pjsample.ltx
@@ -0,0 +1,136 @@
+\documentclass{pracjourn}[2006/02/20]
+
+%%% Revision control
+\TPJrevision{2006}{02}{20}
+%%%
+
+%%% 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}
+
+\begin{figure}
+\centering test
+\caption{test}
+\end{figure}
+\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}