Debian Codegraph @

texmf-dist/doc/latex/apa6/samples/longsample.tex

raw
1 %%
2 %% This is file `./samples/longsample.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% apa6.dtx (with options: `longsample')
8 %% ----------------------------------------------------------------------
9 %%
10 %% apa6 - A LaTeX class for formatting documents in compliance with the
11 %% American Psychological Association's Publication Manual, 6th edition
12 %%
13 %% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
14 %%
15 %% This work may be distributed and/or modified under the
16 %% conditions of the LaTeX Project Public License (LPPL), either
17 %% version 1.3c of this license or (at your option) any later
18 %% version. The latest version of this license is in the file:
19 %%
20 %% http://www.latex-project.org/lppl.txt
21 %%
22 %% Users may freely modify these files without permission, as long as the
23 %% copyright line and this statement are maintained intact.
24 %%
25 %% This work is not endorsed by, affiliated with, or probably even known
26 %% by, the American Psychological Association.
27 %%
28 %% ----------------------------------------------------------------------
29 %%
30 \documentclass[man]{apa6}
31
32 \usepackage{lipsum}
33
34 \usepackage[american]{babel}
35
36 \usepackage{csquotes}
37 \usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex}
38 \DeclareLanguageMapping{american}{american-apa}
39 \addbibresource{bibliography.bib}
40
41 \title{Sample APA-Style Document Using the \textsf{apa6} Package}
42 \shorttitle{Sample Document}
43
44 \author{Brian D.\ Beitzel}
45 \affiliation{SUNY Oneonta}
46
47 \leftheader{Beitzel}
48
49 \abstract{\lipsum[1]}
50
51 \keywords{APA style, demonstration}
52
53 \authornote{Brian D.\ Beitzel, Department of Educational Psychology,
54 Counseling and Special Education, SUNY Oneonta.
55
56 Correspondence concerning this article should be addressed to Brian
57 D.\ Beitzel, Department of Educational Psychology, Counseling and
58 Special Education, SUNY Oneonta, 366 Fitzelle Hall, Oneonta, NY
59 13820. E-mail: [email protected]}
60
61 \begin{document}
62 \maketitle
63 \lipsum[2]
64
65 \Textcite{vonDavier2011} said this,
66 too \parencite{vonDavier2011,Lassen2006}. Further evidence comes from
67 other sources \parencite{Shotton1989,Lassen2006}. \lipsum[3]
68
69 \section{Method}
70 \subsection{Participants}
71 \lipsum[4]
72
73 \subsection{Materials}
74 \lipsum[5]
75
76 \subsection{Design}
77 \lipsum[6]
78
79 \subsection{Procedure}
80 \lipsum[7]
81
82 \subsubsection{Instrument \#1}
83 \lipsum[8]
84
85 \paragraph{Reliability}
86 \lipsum[9]
87
88 \subparagraph{Inter-rater reliability}
89 \lipsum[10]
90
91 \subparagraph{Test-retest reliability}
92 \lipsum[11]
93
94 \paragraph{Validity}
95 \lipsum[12]
96
97 \subparagraph{Face validity}
98 \lipsum[13]
99
100 \subparagraph{Construct validity}
101 \lipsum[14]
102
103 \section{Results}
104 Table~\ref{tab:BasicTable} summarizes the data. \lipsum[15]
105
106 \begin{table}
107 \caption{Sample Basic Table}
108 \label{tab:BasicTable}
109 \begin{tabular}{@{}llr@{}} \toprule
110 \multicolumn{2}{c}{Item} \\ \cmidrule(r){1-2}
111 Animal & Description & Price \\ \midrule
112 Gnat & per gram & 13.65 \\
113 & each & 0.01 \\
114 Gnu & stuffed & 92.50 \\
115 Emu & stuffed & 33.33 \\
116 Armadillo & frozen & 8.99 \\ \bottomrule
117 \end{tabular}
118 \end{table}
119
120 \begin{figure}
121 \includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
122 \caption{This is my first figure caption.}
123 \label{fig:Figure1}
124 \end{figure}
125
126 Figure~\ref{fig:Figure1} shows this trend. \lipsum[16]
127
128 \section{Discussion}
129 \lipsum[17]
130
131 \lipsum[18]
132
133 \lipsum[19]
134
135 \printbibliography
136
137 \appendix
138
139 \section{Instrument}
140 \label{app:instrument}
141
142 As shown in Figure~\ref{fig:Figure2}, these results are impressive. \lipsum[20]
143
144 \begin{figure}
145 \includegraphics[bb=0in 0in 2.5in 2.5in, height=2.5in, width=2.5in]{Figure1.pdf}
146 \caption{This is my second figure caption.}
147 \label{fig:Figure2}
148 \end{figure}
149
150 \lipsum[21]
151 \section{Pilot Data}
152 \label{app:surveydata}
153
154 The detailed results are shown in Table~\ref{tab:DeckedTable}. \lipsum[22]
155
156 \begin{table}
157 \begin{threeparttable}
158 \caption{A More Complex Decked Table}
159 \label{tab:DeckedTable}
160 \begin{tabular}{@{}lrrr@{}} \toprule
161 Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\
162 & \multicolumn{2}{l}{targets with} & of trials per \\
163 & \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3}
164 & Onset & Coda & \\ \midrule
165 Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\
166 Probabilistic & 80 & 20\tabfnm{*} & 200 \\
167 Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule
168 \end{tabular}
169 \begin{tablenotes}[para,flushleft]
170 {\small
171 \textit{Note.} All data are approximate.
172
173 \tabfnt{a}Categorical may be onset.
174 \tabfnt{b}Categorical may also be coda.
175
176 \tabfnt{*}\textit{p} < .05.
177 \tabfnt{**}\textit{p} < .01.
178 }
179 \end{tablenotes}
180 \end{threeparttable}
181 \end{table}
182
183 \lipsum[23]
184
185 \end{document}
186
187 %%
188 %% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
189 %%
190 %% This work may be distributed and/or modified under the
191 %% conditions of the LaTeX Project Public License (LPPL), either
192 %% version 1.3c of this license or (at your option) any later
193 %% version. The latest version of this license is in the file:
194 %%
195 %% http://www.latex-project.org/lppl.txt
196 %%
197 %% Users may freely modify these files without permission, as long as the
198 %% copyright line and this statement are maintained intact.
199 %%
200 %% This work is not endorsed by, affiliated with, or probably even known
201 %% by, the American Psychological Association.
202 %%
203 %% This work is "maintained" (as per LPPL maintenance status) by
204 %% Brian D. Beitzel.
205 %%
206 %% This work consists of the file apa6.dtx
207 %% and the derived files apa6.ins,
208 %% apa6.cls,
209 %% apa6.pdf,
210 %% README,
211 %% APAamerican.txt,
212 %% APAbritish.txt,
213 %% APAdutch.txt,
214 %% APAenglish.txt,
215 %% APAgerman.txt,
216 %% APAngerman.txt,
217 %% APAgreek.txt,
218 %% APAczech.txt,
219 %% APAturkish.txt,
220 %% APAendfloat.cfg,
221 %% apa6.ptex,
222 %% TeX2WordForapa6.bas,
223 %% Figure1.pdf,
224 %% shortsample.tex,
225 %% longsample.tex, and
226 %% bibliography.bib.
227 %%
228 %%
229 %% End of file `./samples/longsample.tex'.