\documentclass[
a4paper,
man,
floatsintext
]{glossaPX2}
\usepackage[T1]{fontenc}
\usepackage[american]{babel}
\usepackage[style=apa,backend=biber,sorting=nyt]{biblatex}
\NewBibliographyString{unpublished}
\DefineBibliographyStrings{english}{
unpublished = {Unpublished},
}
\DefineBibliographyStrings{american}{
unpublished = {Unpublished},
}
\usepackage[font={footnotesize,it}]{caption}
\usepackage{csquotes}
\usepackage{booktabs}
\usepackage{tabularx}
\usepackage{linguex}
\usepackage{cgloss}
\usepackage{amsmath}
\usepackage{graphicx}
\graphicspath{ {./graphics/} }
%\usepackage{times}
\usepackage{ragged2e}
\usepackage{hyperref}
\usepackage{enumitem}
\newcommand{\quotes}[1]{``#1''}
\usepackage[title]{appendix}
\usepackage{booktabs}
\providecommand{\firstrefdash}{} %removes dash in references to examples, i.e. (1a) instead of (1-a)
\addbibresource{sample.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title[Sample article in Glossa Psycholinguistics]{Sample article in Glossa Psycholinguistics: Using the \LaTeX glossaPX2 class}
\author[Author1, Author2] % LEAVE ANONYMOUS
{\spauthor{Author\\
\institute{University of the North}\\
\small{email@example.edu, \\ORCID: 0000-0000-0000-0000}
}
\AND
\spauthor{Author 2\\
\institute{University of the South}\\
\small{email@example.edu, \\ORCID: 0000-0000-0000-0000}
}
}
\begin{document}
\maketitle
$<<$\textit{This author section should be left as is during peer review to ensure anonymity.}\\
\textit{Once accepted, the information should be filled in. At that point, please make sure that it matches exactly with the information you entered on Janeway prior to submission (or updated as needed), including the name under which you publish and your official department and institution names (e.g., “Department of Linguistics”, not “Ling”). Affiliation details can be given in the language of the institution—i.e., they do not need to be translated to English.}$>>$
\begin{abstract}
The abstract text goes here.
\end{abstract}
\begin{keywords}
keyword 1; keyword 2; keyword 3; keyword 4
\end{keywords}
$<<$\textit{Word count:\\ Enter your word count here, excluding references, but including appendices. Word count should not exceed 15,000 for regular submissions and 4,000 for brief submissions. (To be removed post-acceptance for typesetting)} $>>$
\section{Introduction}
\label{intro}
Begin the manuscript text here. This document uses the Glossa Psycholinguistics \LaTeX template. It is intended to show how to use the \texttt{glossaPX2} class file to format your documents to conform to the \textit{Glossa Psycholinguistics} stylesheet.\footnote{The footnote number should follow any punctuation. A footnote callout that appears with a dash should be inserted before the dash. A footnote inside parenthetical material is placed within the parentheses. There is no space before the number. For the footnote itself, indent the first line of each paragraph. A line should be placed above the footnote text to separate it from the regular text. A footnote that is referred to later in the text should be referred to by its footnote number (e.g., ``see Footnote 1'').}
The \textit{Glossa Psycholinguistics} style sheet was adapted from the \textit{Glossa} stylesheet by Alexandre Cremers. It was subsequently updated by Andrea Beltrama, Brian Dillon, and Jan Chrom\'{y}.
\textit{Glossa Psycholinguistics} uses APA formatting of all references. In \LaTeX, use \texttt{parentcite} (or equivalent) for parenthetical citations as follows: Tanenhaus and Trueswell provide a thorough discussion of visual world eye-tracking methodology \parencite{tanenhaus2005}. Multiple articles in parenthetical citations should be ordered alphabetically by the last author's surname: \parencite{lago_spanish_2015,wagers_agreement_2009}. For in-text citation, please use \texttt{textcite} (or equivalent) as follows: \textcite{frazier1979} discussed syntactic processing strategies.\footnote{Note the slightly different citation styles for published and unpublished dissertations as per APA 7th edition, , illustrated for the same entry in bibliography as \textcite{frazier1979,frazier1979u}; the unpublished case should be treated as the exception, as dissertations count as published if available in a database, repository or archive. In \LaTeX, include 'howpublished = \{unpublished\}' in bibliography entry for unpublished ones.} For further examples of the APA format for in-text citations and entries in the list of references, see: \url{https://apastyle.apa.org/style-grammar-guidelines/references/examples}.
In \ref{ex1} you may see an example of an in-line text example:
\ex. This is an example sentence.\label{ex1}
\subsection{Use of different typefaces in Glossa Psycholinguistics}
For the first mention of a technical term and for object-language forms (letters, words, phrases, sentences) cited within the text, please use italics. The exception is when they are phonetic transcriptions or phonological representations in IPA. For example, Latin \textit{habere} is not cognate with Old English \textit{hafian}.
Italics should also be used for emphasis of a particular word that is not a technical term, for emphasis within a quotation, with the indication [emphasis mine/ours] at the end of the quotation, and for the name of the language in examples.
\textbf{Boldface} can be used to draw the reader's attention to particular aspects of a linguistic example, whether within the text or as numbered examples. Full caps and underlining are not normally used for highlighting.
\subsection{More details on styling}
For in-text parentheticals, please use an \textit{n}-dash with spaces on each side. Here is an example: Syntactic processing difficulty is indexed in ERP measures -- for example, the P600 effect has been associated with the recognition of a syntactic error.
The hyphen is used to indicate that two words or morphemes are conventionally presented as a single unit, as in the case of certain compounds or common adverb-particle forms: ``well-informed,'' ``old-fashioned,'' ``bottom-up,'' etc.
Please use double quotation marks when a passage from another work is cited in the text, and when a technical term or other expression is mentioned that the author does not want to adopt. For example: Author X writes that ``LaTeX is a useful tool for typesetting.''
Single quotation marks are used exclusively for linguistic meanings: Latin \textit{habere} `have' is not cognate with Old English \textit{hafian} `have.'
\section{Current study}
\label{current}
This is a new section.
\section{Our experiment}
Here we describe our experiment.
\subsection{Participants}
Here is information about our participants. During the peer review period, remember to omit any potentially identifying information (e.g., institution from which participants were recruited).
\subsection{Materials}
Here is information about our experimental stimuli.
\subsection{Method}
Here is information about our experimental method.
\subsection{Data analysis}
Here we describe our data analysis.
\subsection{Results}
Here are our results. When reporting numerical values, please use the \textit{n}-dash for the negative sign and to indicate a numerical range. Here is an example of a range and a negative number: Across experiments, the simple effect size ranged between 32 -- 56 ms. The average difference between conditions was --15 ms.
Here is an example of a figure:
\begin{figure}[ht]
\caption{A sample figure caption. Figure captions appear below figures.}
\includegraphics[scale=0.20]{my_curve.png}
\end{figure}
\begin{table}[ht]
\centering
\caption{A sample table caption. Table captions appear above tables.}
\label{tab:sample}
\begin{tabular}{lcc}
\toprule
\textbf{Condition} & \textbf{Mean} & \textbf{SD} \\
\midrule
Condition A & 123 & 45 \\
Condition B & 135 & 39 \\
Condition C & 128 & 42 \\
\bottomrule
\end{tabular}
\end{table}
\section{Conclusion}
Here is a conclusion. The conclusion must be followed by the following unnumbered sections: a data accessibility statement (required), an ethics and consent statement (required if applicable), acknowledgements (optional), a statement of competing interests (required) and a statement of the authors’ contributions. In \LaTeX, put an asterisk after the \texttt{section} command, as these sections should not be numbered. Again, during the peer review period, remember to omit any potentially identifying information (e.g., institution from which participants were recruited).
\section*{Data accessibility statement}
Goes here.
\section*{Ethics and consent}
Go here.
\section*{Acknowledgements}
Go here.
\section*{Competing interests}
Go here.
\section*{Authors' contributions}
Go here.
\printbibliography
% CORRECTED APPENDIX SECTION
\begin{appendices}
\counterwithin{figure}{section}
\counterwithin{table}{section}
%%%%%%
\section{Appendix title}
This is the appendix section. The appendix should be referred to at least once in the text. Stimuli, experimental materials, and data analysis details, etc. should be uploaded to a data depository website such as OSF. Appendices count towards the word limit and any appendix longer than two pages should be provided as supplementary materials via a data depository website such as OSF.
\begin{table}[H]
\centering
\caption{A table in the appendix. Precede table numbers with an “A” to distinguish the tables in the appendix from the ones in the text. The table caption goes above the table, as in the main text.}
\label{tab:appA}
\begin{tabular}{lcc}
\toprule
\textbf{Item} & \textbf{Value 1} & \textbf{Value 2} \\
\midrule
Row A & 10 & 20 \\
Row B & 15 & 25 \\
\bottomrule
\end{tabular}
\end{table}
\begin{figure}[H]
\caption{A figure in the Appendix. Precede figure numbers with an “A” to distinguish the figures in the appendix from the ones in the text. The figure caption goes below the figure, as in the main text.}
\includegraphics[scale=0.20]{my_curve.png}
\end{figure}
\end{appendices}
\end{document}