summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/afparticle/afpsample.tex
blob: da324f40c88129c7838a62cb395a7113a48c0a32 (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
\documentclass[1p]{afparticle}
\usepackage{lipsum}
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Information about the current issue
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Volume
\volumenumber{2}
% Issue
\issuenumber{1}
% Year
\publicationyear{2014}
% Number of the paper in the journal
\papernumber{2}
% First page
\startpage{256}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Information about the paper
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title.  If necessary, put the short title in the [..]
\title[Research Title]{Unnecessarily Complicated Research Title}
% Authors.  The star denotes thecorressponding author
\author*{John Smith}
\address{Department, University, City, State, Country, Phone, E-mail}
\author{Tom F. Johnson}
\address{Department, University, City, State, Country}
\author{Peter Sellers}
\address{Department, University, City, State, Country}
\author{Jay P. Singh}
\address{Department, University, City, State, Country}
% If necessary, redefine \shortauthors
\renewcommand\shortauthors{John Smith et al}
% Abstract
\begin{abstract}
  \lipsum[1]
\end{abstract}
% Keywords
\begin{keyword}
  One\sep Two\sep Three
\end{keyword}

% Technical information
% Reception
\received{April 1, 2013}
% Revision;  can be repeated
\revised{May 20, 2013}
\revised{June 15, 2013}
% Acceptance
\accepted{July 30, 2013}

% Making title
\maketitle

\section{First section}
\lipsum[2]

% In-text citation
As shown by \citet{Haidt07}, people are selfish, but morally
motivated.  See also the work by
\citet{Stapel08042011}. 

% Parenthetical citations
The method in \citep{Zintzaras10} may help.

\subsection{A subsection}

\lipsum[4]

\subsubsection{A subsubsection}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  TABLE
%
% Put caption before the table.  Use booktabs for table
% formatting 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{table}
  \centering
  \caption{A sample table}
  \label{tab:sample}
  \begin{tabular}{lrrr}
    \toprule
    Item & Units & Cost per unit, \$ & Total cost, \$\\
    \midrule
    Stuffed Gnus &  5  & 12.50  & 62.50 \\
    Memory Sticks & 4  &  6.00  & 24.00\\
    \midrule
    Total & & & 86.50\\
    \bottomrule
  \end{tabular}
\end{table}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%  FIGURE
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{figure}
  \centering
  \includegraphics{vitruvian}
  \caption{A sample figure}
  \label{fig:sample}
\end{figure}

\lipsum[7-21]


% Bibliography
\bibliography{afpsample}
\bibliographystyle{apacite}

% This should be the last command
\printbackmatter

\end{document}