Debian Codegraph @

texmf-dist/doc/latex/apa7/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 %% apa7.dtx (with options: `shortsample')
8 %% ----------------------------------------------------------------------
9 %%
10 %% apa7 - A LaTeX class for formatting documents in compliance with the
11 %% American Psychological Association's Publication Manual, 7th edition
12 %%
13 %% Copyright (C) 2022 by Daniel A. Weiss <daniel.weiss.led at gmail.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]{apa7}
31
32 \usepackage[american]{babel}
33
34 \usepackage{csquotes}
35 \usepackage[style=apa,backend=biber]{biblatex}
36 \addbibresource{bibliography.bib}
37
38 \title{Sample APA-Style Document Using the \textsf{apa7} Package}
39
40 \authorsnames{Daniel A. Weiss}
41 \authorsaffiliations{Departement of Psychology, A University Somewhere}
42
43 \leftheader{Weiss}
44
45 \abstract{This demonstration paper uses the \textsf{apa7} \LaTeX\
46 class to format the document in compliance with the 7th Edition of
47 the American Psychological Assocation's \textit{Publication Manual.}
48 The references are managed using \textsf{biblatex}.}
49
50 \keywords{APA style, demonstration}
51
52 \authornote{\addORCIDlink{Daniel A. Weiss}{0000-0000-0000-0000}, Department of Psychology, A University Somewhere
53
54 Changes of Affiliations and other info here to describe what needs to be said}
55
56 \begin{document}
57 \maketitle
58 We begin with \textcite{Shotton1989}. We can also cite this work in
59 parenthesis, like this: \parencite{Lassen2006}.
60
61 Note the use of five heading levels throughout this demonstration
62 Method section.
63
64 \section{Method}
65 \subsection{Participants}
66 We had a lot of people in this study, show in Figure \ref{fig:Figure1}.
67
68 \begin{figure}[!htp]
69 \caption{This is my figure caption.}
70 \includegraphics[bb=0in 0in 2.5in 2.5in, height=1.4in, width=1.4in]{Figure1.pdf}
71 \figurenote{This is an awesome figure.}
72 \label{fig:Figure1}
73 \end{figure}
74
75 \subsection{Materials}
76 Several materials were used for this project. Some of them were
77 already created for prior research.
78
79 \subsubsection{Paper-and-Pencil Instrument}
80 We used an instrument that we found to be highly successful.
81
82 \paragraph{Reliability}
83 The reliability of this instrument is extraordinary.
84
85 \paragraph{Validity}
86 We now discuss the validity of our instrument.
87
88 \subparagraph{Face validity} The face validity is exceptionally
89 strong. Everyone should be impressed.
90
91 \subparagraph{Construct validity} Also very strong.
92
93 \subsection{Design}
94 This section describes the study's design.
95
96 \subsection{Procedure}
97 The procedure was fairly straightforward, yet required
98 attention to detail.
99
100 \section{Results}
101 Table \ref{tab:ComplexTable} contains some sample data. Our
102 statistical prowess in analyzing these data is unmatched.
103
104 \begin{table}[htbp]
105 \vspace*{2em}
106 \begin{threeparttable}
107 \caption{A Complex Table}
108 \label{tab:ComplexTable}
109 \begin{tabular}{@{}lrrr@{}} \toprule
110 Distribution type & \multicolumn{2}{l}{Percentage of} & Total number \\
111 & \multicolumn{2}{l}{targets with} & of trials per \\
112 & \multicolumn{2}{l}{segment in} & participant \\ \cmidrule(r){2-3}
113 & Onset & Coda & \\ \midrule
114 Categorical -- onset\tabfnm{a} & 100 & 0 & 196 \\
115 Probabilistic & 80 & 20\tabfnm{*} & 200 \\
116 Categorical -- coda\tabfnm{b} & 0 & 100\tabfnm{*} & 196 \\ \midrule
117 \end{tabular}
118 \tablenote{All data are approximate.
119
120 \tabfnt{a}Categorical may be onset.
121 \tabfnt{b}Categorical may also be coda.
122
123 \tabfnt{*}\textit{p} < .05.
124 \tabfnt{**}\textit{p} < .01.
125 }
126 \end{threeparttable}
127 \end{table}
128
129 \section{Discussion}
130 This is a lengthy and erudite discussion. It demonstrates amazing
131 skill in interpreting the results for the masses.
132
133 \printbibliography
134
135 \end{document}
136
137 %%
138 %% Copyright (C) 2022 by Daniel A. Weiss <daniel.weiss.led at gmail.com>
139 %%
140 %% This work may be distributed and/or modified under the
141 %% conditions of the LaTeX Project Public License (LPPL), either
142 %% version 1.3c of this license or (at your option) any later
143 %% version. The latest version of this license is in the file:
144 %%
145 %% http://www.latex-project.org/lppl.txt
146 %%
147 %% Users may freely modify these files without permission, as long as the
148 %% copyright line and this statement are maintained intact.
149 %%
150 %% This work is not endorsed by, affiliated with, or probably even known
151 %% by, the American Psychological Association.
152 %%
153 %% This work is "maintained" (as per LPPL maintenance status) by
154 %% Daniel A. Weiss.
155 %%
156 %% This work consists of the file apa7.dtx
157 %% and the derived files apa7.ins,
158 %% apa7.cls,
159 %% apa7.pdf,
160 %% README,
161 %% APA7american.txt,
162 %% APA7british.txt,
163 %% APA7dutch.txt,
164 %% APA7english.txt,
165 %% APA7french.txt,
166 %% APA7german.txt,
167 %% APA7ngerman.txt,
168 %% APA7greek.txt,
169 %% APA7czech.txt,
170 %% APA7turkish.txt,
171 %% APA7spanish.txt,
172 %% APA7hungarian.txt,
173 %% APA7endfloat.cfg,
174 %% Figure1.pdf,
175 %% shortsample.tex,
176 %% longsample.tex, and
177 %% bibliography.bib.
178 %%
179 %%
180 %% End of file `./samples/shortsample.tex'.