%PLEASE COPY THE FILE AND EDIT THE COPY, DO NOT EDIT THIS FILE!!!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%% DO NOT EDIT HERE %%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,twoside]{article}
\usepackage[a4paper,width=150mm,top=30mm,bottom=30mm,bindingoffset=10mm]{geometry}
\makeatletter
\renewcommand\@makefntext[1]{%
\ifnumgreater{\value{footnote}}{9}{%
\noindent
\mbox{$^{\textrm{\tiny\@thefnmark~}}$\hspace*{2.3em}}{#1}%
}{%
\mbox{$^{\textrm{\tiny\@thefnmark~}}$\hspace*{2.6em}}{#1}
}%
}%
\makeatother %to set the correct footnote indentation
\linespread{1}
\usepackage[utf8]{inputenc} %Standard diacritics in Romance languages (accents, umlauts)
\usepackage{times} %Uses Times New Roman font
\usepackage{wasysym}
\usepackage{ragged2e}
\usepackage{diagbox}
\usepackage[labelfont=bf, labelsep=period, font=small, justification=RaggedRight, format = plain, margin = 0pt]{caption}
\usepackage{booktabs}
\usepackage{threeparttable}
\usepackage{subcaption}
\usepackage{graphicx, xcolor}
\graphicspath{ {./images/} }
\usepackage{natbib}
\setcitestyle{notesep={: }}
\setlength{\bibhang}{0pt}
\usepackage{tikz, hyperref}
% orcid logo
\newcommand{\orcidlogo}[1]{\raisebox{-.025cm}{\includegraphics[width=10pt]{orcid.png}}\hspace{.5em}}
% final periods in embedded sections
\usepackage[tiny]{titlesec}
\newcommand{\periodafter}[1]{#1.}
%\titleformat{\subsection}{\itshape}{\thesubsection\periodafter}{0.3em}{\itshape}
\titleformat{\section}{\bfseries}{\thesection\periodafter}{0.3em}{\bfseries}
\titleformat{\subsection}{\bfseries}{\thesubsection\periodafter}{0.3em}{\bfseries}
\titleformat{\subsubsection}{\itshape}{\thesubsubsection\periodafter}{0.3em}{\itshape}
\titlelabel{\thetitle.\quad}
\setlength\parindent{1.25cm}
\titlespacing*{\section}{0pt}{2em}{1em}
\titlespacing*{\subsection}{0pt}{1em}{1em}
\titlespacing*{\subsubsection}{0pt}{1em}{0pt}
% headers / don't worry about the headers, we will compile them
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead{}
\fancyhead[LE]{\thepage \hspace{3mm} {\small Isogloss YEAR, ISSUE/NR}\medskip}
\fancyhead[RE]{\small Author\medskip}
\fancyhead[LO]{\small Title of paper [leave `Title of paper' unchanged]\medskip}
\fancyhead[RO]{{\small Isogloss YEAR, ISSUE/NR} \hspace{3mm} \thepage\medskip}
\fancyfoot{}
%\setcounter{page}{23} %This sets the initial page at a number other than 1 (in this case 23).
\fancypagestyle{first}{
\fancyhead{}
\fancyhead[L]{\includegraphics[height=2.75em]{isobanner5.jpg}\medskip}
\fancyhead[R]{\small\scalebox{.95}{\textbf{Received}: 00-00-2026}\\\scalebox{.95}{\textbf{Accepted}: 00-00-2026}\\\scalebox{.95}{\textbf{Published}: 00-00-2026}\medskip}
\fancyfoot[L]{\small Universitat Autònoma de Barcelona}}
\renewcommand{\headrulewidth}{1.1pt}
\newcommand{\pref}[1]{(\ref{#1})} % If you use \ref{xx}, the reference in the text appears without parentheses: "as we see in 1, ..." instead of "as we see in (1)...". So we create a new command: instead of \ref, call \pref (Parentheses REFerence) which specifies that any cross references to xx appear in parentheses.
\usepackage{tipa} %for IPA
\usepackage{phonrule} %for phonological rules
\usepackage[nocenter]{qtree} %for trees
\usepackage{expex} %for examples
\lingset{interpartskip=0mm,aboveexskip=1em,belowexskip=1em,aboveglftskip=0mm,everygla=,glhangstyle=none,textanchor=numleft,labelanchor=numleft,labeloffset=1.25cm,textoffset=1.25cm}
\gathertags
\usepackage[normalem]{ulem} %STRIKETHROUGH TEXT
\usepackage[blocks]{authblk}
\usepackage{etoolbox,xpatch}
\renewcommand\Authfont{\Large}
\renewcommand\Affilfont{\normalsize}
\makeatletter
% patch \maketitle so that it doesn't center
\patchcmd{\@maketitle}{center}{flushleft}{}{}
\patchcmd{\@maketitle}{center}{flushleft}{}{}
% patch \maketitle so that the font size for the title is normal
\patchcmd{\@maketitle}{\LARGE}{\normalsize}{}{}
%title
\def\maketitle{{%
\renewenvironment{tabular}[2][]
{\begin{flushleft}}
{\end{flushleft}}
\AB@maketitle}}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%% START EDITING HERE %%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{\Huge{Title}}
\author{Anonymous} \affil{University of Nowhere\\ \orcidlogo{} \href{https://orcid.org/0000-0000-0000-0000}{0000-0000-0000-0000} \\anonymous@unowhere.edu}
\setlength{\affilsep}{1pt}
\date{}
%If there are two or more authors use the following lines instead:
% \title{\Huge{Title}}
% \author{Anonymous1} \affil{University of Nowhere\\ \orcidlogo{} \href{https://orcid.org/0000-0000-0000-0000}{0000-0000-0000-0000}\\anonymous1@unowhere.edu}
% \author{\vspace*{-.75em}Anonymous2} \affil{University of Nowhere\\ \orcidlogo{} \href{https://orcid.org/0000-0000-0000-0000}{0000-0000-0000-0000}\\anonymous2@unowhere.edu}
% \author{\vspace*{-.75em}Anonymous3} \affil{University of Nowhere\\ \orcidlogo{} \href{https://orcid.org/0000-0000-0000-0000}{0000-0000-0000-0000}\\anonymous3@unowhere.edu}
% \setlength{\affilsep}{1pt}
% \date{}
\begin{document}
\maketitle
\thispagestyle{first}
\vspace*{-1.25em}\noindent \includegraphics[height=1cm]{ccby.png}
\setlength{\fboxsep}{5pt}
\vspace*{1em}\noindent\fbox{\parbox{.975\textwidth}{{\color{red}\textbf{Do not edit this box!}}\\\textbf{How to cite}: Anonymous 1% \& Anonymous 2
. YEAR. Title. \textit{Isogloss. Open Journal of Romance Linguistics} NR(i)/xx--
xx.\\\textbf{DOI}: https://doi.org/10.5565/rev/isogloss.xx}}\vspace{1.5cm}
\vspace*{-1em}\noindent\textbf{Abstract}\smallskip
\hrule\hrule\vspace{1.5em}
\noindent abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract abstract (max. 200 words)
\vspace{5mm}
\noindent \textbf{Keywords:} keyword1, kw2, kw3, kw4, kw5. (don't forget the period at the end of the list)\smallskip
\hrule\hrule
\vspace*{.5em}
%\begin{center}
% \textbf{Table of Contents}
%\end{center}
%\begin{large}
%\begin{center}
%\begin{tabular}{c c}
% 1. Section 1 & 4. Section 4\\
% 2. Section 2 & 5. Section 5\\
% 3. Section 3 & 6. Section 6
% \end{tabular}
%\end{center}
%\end{large}
\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. According to \citet{Chomsky:01}, Sed consectetur eu justo eget suscipit. Integer vitae lacinia velit. Quisque fermentum, mi pulvinar blandit elementum, enim turpis gravida tortor, vel maximus est dui nec mauris. Donec et mattis augue. Phasellus quis lacus velit. In aliquet metus at lacus fermentum, eu cursus purus sodales. Ut eleifend leo a dui maximus placerat. Suspendisse vitae tincidunt nulla, ac varius ligula. Donec libero sem, pharetra sagittis rutrum posuere, imperdiet et libero. \citet[122]{Chomsky:95:The}
Here's an example:
\ex <mitad> Catalan, Author (YEAR:pg) [language and source go on the first line; you can decide how specific you want your glosses to be, but please follow the \href{https://www.eva.mpg.de/lingua/resources/glossing-rules.php}{Leipzig Glossing Rules}]\\\begingl \gla Juan (se) comi\'{o} la manzana pero dej\'{o} la mitad.//
\glb Juan \textsc{refl} eat.\textsc{pfv.3sg} the apple but leave.\textsc{pfv.3sg} the half//
\glft `Juan ate (`himself') the apple but left half of it.'//
\endgl
\xe
%leave empty line between example and following paragraph, or add \indent at start of paragraph for indentation
To add subexamples, \verb=\pex= must be used. In this case, the global settings for the position of labels and examples need to be locally adjusted. To do this, add the following option to the \verb=\pex= command: {\footnotesize\begin{verbatim}
[textanchor=numleft, labelanchor=numleft, labeloffset=1.25cm, \textoffset=2.5cm]\end{verbatim}}\vspace*{-.5cm}
\pex[textanchor=numleft, labelanchor=numleft,labeloffset=1.25cm, textoffset=2.5cm] \hspace*{.75em}blablabla
\a bla \smallskip
\a bla
\xe
Before a new section or subsection, you need to instruct \textsf{expex} to not add the vertical space added by default, as this would be add up to the vertical space introduced by \textsf{titlesec}:%done by [belowexskip=0pt] in the example below
\ex[belowexskip=0pt]<paelita> \begingl \gla Juan (se) comi\'{o} la paella con la ayuda de Mar\'{i}a.//
\glb Juan \textsc{refl} eat.\textsc{pfv.3sg} the paella with the help of Maria//
\glft `Juan ate himself the paella with Mary's help.'//
\endgl
\xe
\section{A first section}
2 lines space between sections. One line space after section titles. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce dui dolor, dictum nec dui at, maximus mollis tellus. Praesent auctor ut sapien in luctus. Etiam malesuada, felis sit amet faucibus ultrices, orci metus ultricies massa, vitae sagittis velit magna vel risus. Aliquam molestie ipsum elit. Aenean ut tellus erat. Cras vitae elit nibh. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed egestas orci eget consequat fringilla. Cras tortor ex, maximus at fermentum et, imperdiet et velit.
\section{A new section}
This is an introduction to the subsections below.
\subsection{A subsection}
According to Chomsky: ‘We have considered four functional categories: T, C, D, and Agr. The first three have Interpretable features providing "instructions" at either or both interface levels. Agr does not; it consists of -Interpretable formal features only. We therefore have fairly direct evidence from interface relations about T, C, and D, but not Agr. Unlike the other functional categories, Agr is present only for theory-internal reasons’ \citep[321]{Chomsky:95:The}
Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce dui dolor, dictum nec dui at, maximus mollis tellus. Praesent auctor ut sapien in luctus. Etiam malesuada, felis sit amet faucibus ultrices, orci metus ultricies massa, vitae sagittis velit magna vel risus. Aliquam molestie ipsum elit. Aenean ut tellus erat. Cras vitae elit nibh. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed egestas orci eget consequat fringilla. Cras tortor ex, maximus at fermentum et, imperdiet et velit.\footnote{Here is an important footnote. Footnotes need 1.25 indent. Etiam sit amet arcu euismod, iaculis neque sit amet, commodo mauris. Curabitur vel congue neque, nec aliquam elit. }
Here's how you draw a simple tree:
\ex<tree>
\vspace*{-.5cm}\Tree [.Agr$_{s}$P [. ] [.Agr$_{s}$' [.Agr$_{s}$ ][.I/TP [. ] [.I/T' [.I ] [.(NegP) [. ] [.Neg' [.Neg ] [.Agr$_{o}$P [. ] [.Agr$_{o}$' [.Agr$_{o}$ ] [.VP ] ] ] ] ] ] ] ]]
%\Tree [.S [.NP ] [.VP ] ]
\xe
Etiam sit amet arcu euismod, iaculis neque sit amet, commodo mauris. Curabitur vel congue neque, nec aliquam elit. Proin efficitur ante in mi tristique, et consectetur mauris dignissim. Proin vitae placerat dolor. Vivamus sollicitudin felis accumsan mauris vestibulum dapibus. Maecenas ultricies sem ut magna finibus, ut dapibus lorem maximus. Morbi ut mauris tellus. Nunc tincidunt in sapien non porttitor. Mauris molestie, velit et aliquet ultrices, turpis mi placerat enim, et aliquam tellus leo sit amet odio.
Here's how you draw a table:
\begin{center}
\begin{tabular}[t]{| c| c| c| c|}
\hline
A & B & C & D \\
\hline
\textsc{f}[ ] & x & \textsc{F}[3] & z \\
\hline
\textsc{num}[ ] & y & \textsc{}{num}[PL] & l \\
\hline
& & \textsc{case} [ ] & \\
\hline
\end{tabular}\\
\end{center}
or without borders:
\begin{center}
\begin{tabular}[t]{l l l l l}
bla & bla & bla & bla & bla\\
a & b & c & d & e \\
a & b & c & d & e \\
\\
\end{tabular}
\end{center}
Phasellus eget erat at leo finibus varius. Suspendisse in nunc eget neque feugiat tristique. Sed sagittis eget quam vitae dignissim. Nunc vitae sodales eros. Nullam eu quam id nisi egestas hendrerit. Ut a pulvinar felis. Morbi ut ullamcorper urna. Sed vitae sapien et nisl malesuada hendrerit. Praesent scelerisque volutpat lacus, quis imperdiet velit tempus ac. Phasellus tincidunt non est non vulputate. Fusce at est nunc.
Here is another example of table, this time with a title (above the table) and a mention of the source (below the table). "Table X" and "Figure X" should be bold, followed by a period. 11 pt font. "Source" should also be in bold but followed by a colon.
\begin{table}[ht]
\captionsetup{justification=raggedright,
singlelinecheck=false
}
\caption{Percentage of `true' responses for Spanish test items with (a) all verbs and (b) the consumption verb \textit{comer} (compared to `true' responses for \textit{eat} in English)}
\begin{subfigure}[b]{0.30\textwidth}
\begin{center}
\begin{tabular}{|l|r|r|}
\hline
& \textbf{\textit{$-$se}} & \textbf{\textit{$+$se}} \\
\hline
\textsc{full} & 97 & 70 \\
\textsc{part} & 61 & 46 \\
\hline
\end{tabular}
\end{center}
\label{fig:X}
\end{subfigure}
\begin{subfigure}[b]{0.60\textwidth}
\begin{center}
\begin{tabular}{|l|rr|rr|}
\hline
& \textit{\textbf{comer}} & \textbf{\textit{comerse}} &
\textit{\textbf{eat}} & \textit{\textbf{eat up}} \\
\hline
\textsc{full} & 100 & 100 & 100 & 100 \\
\textsc{part} & 88 & 73 & 83 & 17 \\
\hline
\end{tabular}
\end{center}
\label{fig:Y}
\end{subfigure}
\label{fig:2}
\begin{tablenotes}[flushleft]
\item \begin{small}\textbf{Source}: Arunachalam and Kothari (2010, 2011) for English results \end{small}
\end{tablenotes}
\end{table}
Phasellus eget erat at leo finibus varius. Suspendisse in nunc eget neque feugiat tristique. Sed sagittis eget quam vitae dignissim. Nunc vitae sodales eros. Nullam eu quam id nisi egestas hendrerit. Ut a pulvinar felis. Morbi ut ullamcorper urna. Sed vitae sapien et nisl malesuada hendrerit. Praesent scelerisque volutpat lacus, quis imperdiet velit tempus ac. Phasellus tincidunt non est non vulputate. Fusce at est nunc.
A simple numbered list:
\begin{enumerate}
\item Matching is feature identity.
\item D(P) is the sister of P.
\item Locality reduces to ``closest c-command.''
\end{enumerate}
an itemized list
\begin{itemize}
\item \citet{polinskypreminger:19}
\item \citealt{wurmbrand:14}
\item bla
\end{itemize}
\subsection{Subsection header}
blablabla
\subsubsection{Subsubsection header}
The should be one line space before subsections, no line space between subsection and text, and only a space (no indent) between subsection number and header). Number of sections and subsections should also be italicized.
% The following syntax, in tandem with xpatch package, removes the brackets in the references list. It also removes the dot after the line.
% See https://tex.stackexchange.com/a/428193/169121
\xpatchbibmacro{date+extradate}{%
\printtext[parens]%
}{%
\setunit{\addperiod\space}%
\printtext%
}{}{}
\section{Third Section}
blablabla
\section{Fourth Section}
blablabla
\section{Conclusions}
blablabla
\section*{Acknowledgements}
The author wishes to thank Blabla and Bla.
%In the bibliography, years should be between periods, not parentheses. If you use natbib, you can use the sp.bst of SemPrag (\url{info.semprag.org/basics}), as the bibliography format required by Isogloss is similar.
\begingroup
\setlength{\bibsep}{1em}
\bibliographystyle{isogloss.bst}%following the style sheet
\bibliography{refs.bib}%add the DOIs in your bib file
\endgroup
\end{document}