Debian Codegraph @

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

raw
1 %%
2 %% This is file `./samples/shortsample.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% apa6.dtx (with options: `shortsample')
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[jou]{apa6}
31
32 \usepackage[american]{babel}
33
34 \usepackage{csquotes}
35 \usepackage[style=apa6,sortcites=true,sorting=nyt,backend=biber]{biblatex}
36 \DeclareLanguageMapping{american}{american-apa}
37 \addbibresource{bibliography.bib}
38
39 \title{Sample APA-Style Document Using the \textsf{apa6} Package}
40
41 \author{Brian D.\ Beitzel}
42 \affiliation{SUNY Oneonta}
43
44 \leftheader{Beitzel}
45
46 \abstract{This demonstration paper uses the \textsf{apa6} \LaTeX\
47 class to format the document in compliance with the 6th Edition of
48 the American Psychological Assocation's \textit{Publication Manual.}
49 The references are managed using \textsf{biblatex}.}
50
51 \keywords{APA style, demonstration}
52
53 \begin{document}
54 \maketitle
55 We begin with \textcite{Shotton1989}. We can also cite this work in
56 parenthesis, like this: \parencite{Shotton1989}.
57
58 A three-author paper \parencite[e.g.,][]{Lassen2006} lists all
59 three authors for the first citation, then only the first author
60 on all subsequent citations \parencite{Lassen2006}.
61
62 Note the use of five heading levels throughout this demonstration
63 Method section.
64
65 \section{Method}
66 \subsection{Participants}
67 We had a lot of people in this study.
68
69 \subsection{Materials}
70 Several materials were used for this project. Some of themwere
71 already created for prior research.
72
73 \subsubsection{Paper-and-Pencil Instrument}
74 We used an instrument that we found to be highly successful.
75
76 \paragraph{Reliability}
77 The reliability of this instrument is extraordinary.
78
79 \paragraph{Validity}
80 We now discuss the validity of our instrument.
81
82 \subparagraph{Face validity} The face validity is exceptionally
83 strong. Everyone should be impressed.
84
85 \subparagraph{Construct validity} Also very strong.
86
87 \subsection{Design}
88 This section describes the study's design.
89
90 \subsection{Procedure}
91 The procedure was fairly straightforward, yet required
92 attention to detail.
93
94 \section{Results}
95 Table \ref{tab:ComplexTable} contains some sample data. Our
96 statistical prowess in analyzing these data is unmatched.
97
98 \begin{table}[htbp]
99 \vspace*{2em}
100 \begin{threeparttable}
101 \caption{A Complex Table}
102 \label{tab:ComplexTable}
103 \begin{tabular}{@{}lrrr@{}} \toprule
104 Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\
105 & \multicolumn{2}{l}{targets with} & of trials per \\
106 & \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3}
107 & Onset & Coda & \\ \midrule
108 Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\
109 Probabilistic & 80 & 20\tabfnm{*} & 200 \\
110 Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule
111 \end{tabular}
112 \begin{tablenotes}[para,flushleft]
113 {\small
114 \textit{Note.} All data are approximate.
115
116 \tabfnt{a}Categorical may be onset.
117 \tabfnt{b}Categorical may also be coda.
118
119 \tabfnt{*}\textit{p} < .05.
120 \tabfnt{**}\textit{p} < .01.
121 }
122 \end{tablenotes}
123 \end{threeparttable}
124 \end{table}
125
126 \section{Discussion}
127 This is a lengthy and erudite discussion. It demonstrates amazing
128 skill in interpreting the results for the masses.
129
130 \printbibliography
131
132 \end{document}
133
134 %%
135 %% Copyright (C) 2011-2023 by Brian D. Beitzel <brian at beitzel.com>
136 %%
137 %% This work may be distributed and/or modified under the
138 %% conditions of the LaTeX Project Public License (LPPL), either
139 %% version 1.3c of this license or (at your option) any later
140 %% version. The latest version of this license is in the file:
141 %%
142 %% http://www.latex-project.org/lppl.txt
143 %%
144 %% Users may freely modify these files without permission, as long as the
145 %% copyright line and this statement are maintained intact.
146 %%
147 %% This work is not endorsed by, affiliated with, or probably even known
148 %% by, the American Psychological Association.
149 %%
150 %% This work is "maintained" (as per LPPL maintenance status) by
151 %% Brian D. Beitzel.
152 %%
153 %% This work consists of the file apa6.dtx
154 %% and the derived files apa6.ins,
155 %% apa6.cls,
156 %% apa6.pdf,
157 %% README,
158 %% APAamerican.txt,
159 %% APAbritish.txt,
160 %% APAdutch.txt,
161 %% APAenglish.txt,
162 %% APAgerman.txt,
163 %% APAngerman.txt,
164 %% APAgreek.txt,
165 %% APAczech.txt,
166 %% APAturkish.txt,
167 %% APAendfloat.cfg,
168 %% apa6.ptex,
169 %% TeX2WordForapa6.bas,
170 %% Figure1.pdf,
171 %% shortsample.tex,
172 %% longsample.tex, and
173 %% bibliography.bib.
174 %%
175 %%
176 %% End of file `./samples/shortsample.tex'.