From 210cc1d67d3a69492e8af91d56834b9194f325e7 Mon Sep 17 00:00:00 2001 From: Veronica Boyce Date: Tue, 28 Mar 2023 18:26:57 -0700 Subject: [PATCH 1/4] branch from glossa --- NAMESPACE | 1 + R/article.R | 23 + .../templates/glossapx/resources/template.tex | 187 ++ .../templates/glossapx/skeleton/apa7.csl | 1900 +++++++++++++++++ .../templates/glossapx/skeleton/cgloss.sty | 204 ++ .../templates/glossapx/skeleton/sample.bib | 157 ++ .../templates/glossapx/skeleton/skeleton.Rmd | 771 +++++++ .../templates/glossapx/template.yaml | 4 + 8 files changed, 3247 insertions(+) create mode 100644 inst/rmarkdown/templates/glossapx/resources/template.tex create mode 100644 inst/rmarkdown/templates/glossapx/skeleton/apa7.csl create mode 100644 inst/rmarkdown/templates/glossapx/skeleton/cgloss.sty create mode 100644 inst/rmarkdown/templates/glossapx/skeleton/sample.bib create mode 100644 inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd create mode 100644 inst/rmarkdown/templates/glossapx/template.yaml diff --git a/NAMESPACE b/NAMESPACE index 37d38d99a..27db2f641 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -18,6 +18,7 @@ export(ctex_article) export(elsevier_article) export(frontiers_article) export(glossa_article) +export(glossapx_article) export(ieee_article) export(ims_article) export(informs_article) diff --git a/R/article.R b/R/article.R index 9a973690c..5ada06fc4 100644 --- a/R/article.R +++ b/R/article.R @@ -223,6 +223,29 @@ glossa_article <- function(..., keep_tex = TRUE, latex_engine = "xelatex") { format } +#' @section `glossapx_article`: Format for creating submissions to Glossa: a +#' journal of general linguistics. Author Guidelines are available on +#' [www.glossa-journal.org](https://www.glossa-journal.org/site/author-guidelines/). +#' Template is adapted from . +#' @export +#' @rdname article +glossapx_article <- function(..., keep_tex = TRUE, latex_engine = "xelatex") { + format <- pdf_document_format( + "glossa", + keep_tex = keep_tex, latex_engine = latex_engine, ... + ) + if (tinytex::is_tinytex() && tinytex::check_installed("microtype")) { + # TODO: known conflict - remove when fixed + tinytex::tlmgr_remove("microtype") + fun <- format$on_exit + format$on_exit <- function() { + if (is.function(fun)) fun() + if (!tinytex::check_installed("microtype")) tinytex::tlmgr_install("microtype") + } + } + format +} + #' @param journal one of `"aoas"`, `"aap"`, `"aop"`, `"aos"`, `"sts"` for `ims_article` #' @section `ims_article`: Format for creating submissions to the Institute of Mathematical Statistics #' [IMS](https://imstat.org/) journals and publications. Adapted from diff --git a/inst/rmarkdown/templates/glossapx/resources/template.tex b/inst/rmarkdown/templates/glossapx/resources/template.tex new file mode 100644 index 000000000..cd9719c6f --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/resources/template.tex @@ -0,0 +1,187 @@ +% see http://info.semprag.org/basics for a full description of this template +\documentclass[$for(classoption)$$classoption$$sep$,$endfor$]{glossa} + +% possible options: +% [times] for Times font (default if no option is chosen) +% [cm] for Computer Modern font +% [lucida] for Lucida font (not freely available) +% [brill] open type font, freely downloadable for non-commercial use from http://www.brill.com/about/brill-fonts; requires xetex +% [charis] for CharisSIL font, freely downloadable from http://software.sil.org/charis/ +% for the Brill an CharisSIL fonts, you have to use the XeLatex typesetting engine (not pdfLatex) +% for headings, tables, captions, etc., Fira Sans is used: https://www.fontsquirrel.com/fonts/fira-sans +% [biblatex] for using biblatex (the default is natbib, do not load the natbib package in this file, it is loaded automatically via the document class glossa.cls) +% [linguex] loads the linguex example package +% !! a note on the use of linguex: in glossed examples, the third line of the example (the translation) needs to be prefixed with \glt. This is to allow a first line with the name of the language and the source of the example. See example (2) in the text for an illustration. +% !! a note on the use of bibtex: for PhD dissertations to typeset correctly in the references list, the Address field needs to contain the city (for US cities in the format "Santa Cruz, CA") + +%\addbibresource{sample.bib} +% the above line is for use with biblatex +% replace this by the name of your bib-file (extension .bib is required) +% comment out if you use natbib/bibtex + +\let\B\relax %to resolve a conflict in the definition of these commands between xyling and xunicode (the latter called by fontspec, called by charis) +\let\T\relax +\usepackage{xyling} %for trees; the use of xyling with the CharisSIL font produces poor results in the branches. This problem does not arise with the packages qtree or forest. +\usepackage[linguistics]{forest} %for nice trees! +\usepackage{longtable} + +\title[$if(shorttitle)$$shorttitle$$endif$]{$title$$if(wordcount)$\\ \bigskip \large Word count: $wordcount$$endif$} +% Optional short title inside square brackets, for the running headers. + +% \author[Paul \& Vanden Wyngaerd]% short form of the author names for the running header. If no short author is given, no authors print in the headers. +% {%as many authors as you like, each separated by \AND. +% \spauthor{Waltraud Paul\\ +% \institute{CNRS, CRLAO}\\ +% \small{105, Bd. Raspail, 75005 Paris\\ +% waltraud.paul@ehess.fr} +% } +% \AND +% \spauthor{Guido Vanden Wyngaerd \\ +% \institute{KU Leuven}\\ +% \small{Warmoesberg 26, 1000 Brussel\\ +% guido.vandenwyngaerd@kuleuven.be} +% }% +% } + +\author[$if(shortauthors)$$shortauthors$$endif$]{ + $for(author)$ + \spauthor{$author.name$\\ + \institute{$author.affiliation$}\\ + \small{$author.address$} + }% + $sep$\AND$endfor$ +} + +$if(natbib)$ +\usepackage{natbib} +$endif$ +$if(biblatex)$ +\usepackage[$for(biblatexoptions)$$biblatexoptions$$sep$,$endfor$]{biblatex} +$for(bibliography)$ +\addbibresource{$bibliography$} +$endfor$ +$endif$ + +$if(highlighting-macros)$ +% Pandoc syntax highlighting +$highlighting-macros$ +$endif$ + +% tightlist command for lists without linebreak +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} + +$if(tables)$ +% From pandoc table feature +\usepackage{longtable,booktabs,array} +$if(multirow)$ +\usepackage{multirow} +$endif$ +\usepackage{calc} % for calculating minipage widths +% Correct order of tables after \paragraph or \subparagraph +\usepackage{etoolbox} +\makeatletter +\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} +\makeatother +% Allow footnotes in longtable head/foot +\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} +\makesavenoteenv{longtable} +$endif$ + +$if(csl-refs)$ +% Pandoc citation processing +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newlength{\csllabelwidth} +\setlength{\csllabelwidth}{3em} +\newlength{\cslentryspacingunit} % times entry-spacing +\setlength{\cslentryspacingunit}{\parskip} +% for Pandoc 2.8 to 2.10.1 +\newenvironment{cslreferences}% + {$if(csl-hanging-indent)$\setlength{\parindent}{0pt}% + \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces$endif$}% + {\par} +% For Pandoc 2.11+ +\newenvironment{CSLReferences}[2] % #1 hanging-ident, #2 entry spacing + {% don't indent paragraphs + \setlength{\parindent}{0pt} + % turn on hanging indent if param 1 is 1 + \ifodd #1 + \let\oldpar\par + \def\par{\hangindent=\cslhangindent\oldpar} + \fi + % set entry spacing + \setlength{\parskip}{#2\cslentryspacingunit} + }% + {} +\usepackage{calc} +\newcommand{\CSLBlock}[1]{#1\hfill\break} +\newcommand{\CSLLeftMargin}[1]{\parbox[t]{\csllabelwidth}{#1}} +\newcommand{\CSLRightInline}[1]{\parbox[t]{\linewidth - \csllabelwidth}{#1}\break} +\newcommand{\CSLIndent}[1]{\hspace{\cslhangindent}#1} +$endif$ + +$if(listings)$ +\usepackage{listings} +$endif$ +$if(lhs)$ +\lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} +$endif$ + +$if(verbatim-in-note)$ +\usepackage{fancyvrb} +\VerbatimFootnotes % allows verbatim text in footnotes +$endif$ + +$for(header-includes)$ +$header-includes$ +$endfor$ + +\begin{document} + +$for(include-before)$ +$include-before$ +$endfor$ + +\sffamily +\maketitle + +$if(abstract)$ +\begin{abstract} +$abstract$ +\end{abstract} +$endif$ + +$if(keywords)$ +\begin{keywords} + $keywords$ +\end{keywords} +$endif$ + +\rmfamily + +% Body of the article +$body$ + +$if(natbib)$ +$if(bibliography)$ +$if(biblio-title)$ +$if(book-class)$ +\renewcommand\bibname{$biblio-title$} +$else$ +\renewcommand\refname{$biblio-title$} +$endif$ +$endif$ +\bibliography{$for(bibliography)$$bibliography$$sep$,$endfor$} +$endif$ +$endif$ +$if(biblatex)$ +\printbibliography$if(biblio-title)$[title=$biblio-title$]$endif$ +$endif$ + +$for(include-after)$ +$include-after$ + +$endfor$ + +\end{document} diff --git a/inst/rmarkdown/templates/glossapx/skeleton/apa7.csl b/inst/rmarkdown/templates/glossapx/skeleton/apa7.csl new file mode 100644 index 000000000..09f4635a5 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/skeleton/apa7.csl @@ -0,0 +1,1900 @@ + + diff --git a/inst/rmarkdown/templates/glossapx/skeleton/cgloss.sty b/inst/rmarkdown/templates/glossapx/skeleton/cgloss.sty new file mode 100644 index 000000000..d2cbfb889 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/skeleton/cgloss.sty @@ -0,0 +1,204 @@ +% -*- LaTeX -*- + +% Modified version of cgloss4e.sty. Hacked and renamed cgloss.sty +% by Alexis Dimitriadis (alexis@babel.ling.upenn.edu) + +% Following borrows from Covington's style files inspired by Midnight by M. +% de Groot, adapted to be used with gb4e.sty: examples beginning with \ex can +% contain glosses directly. Default is +% Linguistic Inquiry style with all lines in \rm; to change a line (eg. to +% \it for a particular journal, change the appropriate line: e.g., +% \let\eachwordone=\rm in a copy of this file. Note that it will NOT work +% to put \it before the line as the words are parsed separately. + +% Use \singlegloss to force single-spaced glosses even in double-space +% environments. Works also in footnotes (^M as delimiter replaced by +% \\)---hpk +% + +% Changes by Alexis Dimitriadis +% +% Removed flushleft environment and initial vskip to make macros usable +% on the same line with earlier and/or later text, e.g., +% \item Q: \gll ... \\ +% ... \\ \hfill (Greek) +% \trans Q: `...' +% Note: Text following the gloss will appear on line one of the example; +% To get a line break, insert one manually with \\ or use \trans or \glt. +% (\gln does not end the line, since it was already the +% case in cgloss4e that a translation must be ended with a line break). +% +% Modified \glt to keep translation on the same page as the text. + +% BUGS: does not work very gracefully with double spacing (struts are not +% automatically inserted after the \vboxes used by the macros). +% In double space mode without \nosinglegloss, when a translation +% is not given, the next line of text is single-spaced from the glossed text. +% With \nosinglegloss, the translation is set too close to the bottom line. + + +%%% +%%% Sentences with word-by-word glosses +%%% + +% See covingtn.tex for full documentation. Some examples: +% +% Displayed sentence with gloss and translation: +% +% \gll Dit is een Nederlands voorbeeld.\\ +% This is a Dutch example.\\ +% \glt `This is an example in Dutch.' +% +% Same, using bracketing where words do not correspond one-to-one: +% +% \gll Dit is een voorbeeldje in het Nederlands.\\ +% This is a {little example} in {} Dutch.\\ +% \glt `This is a little example in Dutch.' +% +% If you want to align 3 lines rather than two, use \glll instead of \gll. +% +% Layout is critical between \gll (or \glll) and \glt (or \gln). +% +% Thanks to Marcel R. van der Goot for permission to reproduce code. +\let\@gsingle=1 +\def\singlegloss{\let\@gsingle=1} +\def\nosinglegloss{\let\@gsingle=0} +\@ifundefined{new@fontshape}% + {\def\@selfnt{\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi}} + {\def\@selfnt{\selectfont}} + +\def\gll% % Introduces 2-line text-and-gloss. + {\bgroup %\begin{flushleft} + \ifx\@gsingle1% conditionally force single spacing (hpk/MC) + \def\baselinestretch{1}\@selfnt\fi +% \vskip\baselineskip\def\baselinestretch{1}% +% \@selfnt\vskip-\baselineskip\fi% + \bgroup + \twosent + } + +\def\glll% % Introduces 3-line text-and-gloss. + {\bgroup %\begin{flushleft} + \ifx\@gsingle1% conditionally force single spacing (hpk/MC) + \def\baselinestretch{1}\@selfnt\fi +% \vskip\baselineskip\def\baselinestretch{1}% +% \@selfnt\vskip-\baselineskip\fi% + \bgroup + \threesent + } + +% \def\glt{\vskip.0\baselineskip} + +% redefine \gltoffset to set off translation from ex and gloss +\@ifundefined{gltoffset}{\def\gltoffset{0pt}}{} + +\def\glt{\ifhmode\\*[\gltoffset]\else\nobreak\vskip\gltoffset\nobreak\fi} + + +% Introduces a translation +\let\trans\glt + +\def\gln{\relax} +\def\glend{} % obsolete + % Ends the gloss environment. + +% The following TeX code is adapted, with permission, from: +% gloss.tex: Macros for vertically aligning words in consecutive sentences. +% Version: 1.0 release: 26 November 1990 +% Copyright (c) 1991 Marcel R. van der Goot (marcel@cs.caltech.edu). +% Original Midnight/gloss.tex and Midnight/gloss.doc are available from +% csvax.cs.caltech.edu [131.215.131.131] in pub/tex +% and many other anonymous ftp archives. + +\newbox\lineone % boxes with words from first line +\newbox\linetwo +\newbox\linethree +\newbox\wordone % a word from the first line (hbox) +\newbox\wordtwo +\newbox\wordthree +\newbox\gline % the constructed double line (hbox) +\newskip\glossglue % extra glue between glossed pairs or triples +\glossglue = 0pt plus 2pt minus 1pt % allow stretch/shrink between words +%\glossglue = 5pt plus 2pt minus 1pt % allow stretch/shrink between words +\newif\ifnotdone + +\@ifundefined{eachwordone}{\let\eachwordone=\rm}{\relax} +\@ifundefined{eachwordtwo}{\let\eachwordtwo=\rm}{\relax} +\@ifundefined{eachwordthree}{\let\eachwordthree=\rm}{\relax} + +\def\lastword#1#2#3% #1 = \each, #2 = line box, #3 = word box + {\setbox#2=\vbox{\unvbox#2% + \global\setbox#3=\lastbox + }% + \ifvoid#3\global\setbox#3=\hbox{#1\strut{} }\fi + % extra space following \strut in case #1 needs a space + } + +\def\testdone + {\ifdim\ht\lineone=0pt + \ifdim\ht\linetwo=0pt \notdonefalse % tricky space after pt + \else\notdonetrue + \fi + \else\notdonetrue + \fi + } + +\gdef\getwords(#1,#2)#3 #4\\% #1=linebox, #2=\each, #3=1st word, #4=remainder + {\setbox#1=\vbox{\hbox{#2\strut#3 }% adds space + \unvbox#1% + }% + \def\more{#4}% + \ifx\more\empty\let\more=\donewords + \else\let\more=\getwords + \fi + \more(#1,#2)#4\\% + } + +\gdef\donewords(#1,#2)\\{}% + +\gdef\twosent#1\\ #2\\{% #1 = first line, #2 = second line + \getwords(\lineone,\eachwordone)#1 \\% + \getwords(\linetwo,\eachwordtwo)#2 \\% + \loop\lastword{\eachwordone}{\lineone}{\wordone}% + \lastword{\eachwordtwo}{\linetwo}{\wordtwo}% + \global\setbox\gline=\hbox{\unhbox\gline + \hskip\glossglue + \vtop{\box\wordone % vtop was vbox + \nointerlineskip + \box\wordtwo + }% + }% + \testdone + \ifnotdone + \repeat + \egroup % matches \bgroup in \gloss + \gl@stop} + +\gdef\threesent#1\\ #2\\ #3\\{% #1 = first line, #2 = second line, #3 = third + \getwords(\lineone,\eachwordone)#1 \\% + \getwords(\linetwo,\eachwordtwo)#2 \\% + \getwords(\linethree,\eachwordthree)#3 \\% + \loop\lastword{\eachwordone}{\lineone}{\wordone}% + \lastword{\eachwordtwo}{\linetwo}{\wordtwo}% + \lastword{\eachwordthree}{\linethree}{\wordthree}% + \global\setbox\gline=\hbox{\unhbox\gline + \hskip\glossglue + \vtop{\box\wordone % vtop was vbox + \nointerlineskip + \box\wordtwo + \nointerlineskip + \box\wordthree + }% + }% + \testdone + \ifnotdone + \repeat + \egroup % matches \bgroup in \gloss + \gl@stop} + +%\def\gl@stop{{\hskip -\glossglue}\unhbox\gline\end{flushleft}} + +% \leavevmode puts us back in horizontal mode, so that a \\ will work +\def\gl@stop{{\hskip -\glossglue}\unhbox\gline\leavevmode \egroup} + +\endinput diff --git a/inst/rmarkdown/templates/glossapx/skeleton/sample.bib b/inst/rmarkdown/templates/glossapx/skeleton/sample.bib new file mode 100644 index 000000000..3849e5c05 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/skeleton/sample.bib @@ -0,0 +1,157 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% http://bibdesk.sourceforge.net/ + + +%% Created for Guido at 2021-05-17 17:20:20 +0200 + + +%% Saved with string encoding Unicode (UTF-8) + + + +@book{chomsky:1981, + author = {Noam Chomsky}, + date-added = {2020-07-27 12:58:34 +0200}, + date-modified = {2020-07-27 12:58:45 +0200}, + publisher = {Dordrecht: Foris}, + title = {Lectures on Government and Binding}, + year = {1981}} + +@article{iverson:1989, + author = {Iverson, Gregory K.}, + date-added = {2020-07-27 12:55:35 +0200}, + date-modified = {2020-07-27 12:55:35 +0200}, + journal = {Phonology}, + pages = {285-303}, + title = {On the Category Supralaryngeal}, + volume = {6}, + year = {1989}} + +@incollection{mccarthy:1999, + address = {Malden, MA and Oxford}, + author = {McCarthy, John J. and Prince, Alan S.}, + booktitle = {Phonological Theory: {The} Essential Readings}, + date-added = {2020-07-27 12:55:03 +0200}, + date-modified = {2020-07-27 12:55:03 +0200}, + editor = {Goldsmith, John A.}, + pages = {238-288}, + publisher = {Blackwell}, + title = {Prosodic morphology}, + year = {1999}} + +@article{murray:1983, + author = {Murray, Robert W. and Vennemann, Theo}, + date-added = {2020-07-27 12:55:03 +0200}, + date-modified = {2020-07-27 12:55:03 +0200}, + journal = {Language}, + number = {3}, + pages = {514-528}, + title = {Sound Change and Syllable Structure in {Germanic} Phonology}, + volume = {59}, + year = {1983}} + +@book{Bobaljik2012, + address = {Cambridge, MA}, + author = {Jonathan Bobaljik}, + date-added = {2016-10-15 19:51:15 +0000}, + date-modified = {2016-10-15 19:51:15 +0000}, + publisher = {MIT Press}, + title = {Universals In Comparative Morphology}, + year = {2012}} + +@book{chomsky:1986a, + address = {Cambridge, MA}, + author = {Noam Chomsky}, + date-added = {2016-07-05 12:37:10 +0000}, + date-modified = {2019-02-27 11:21:25 +0100}, + publisher = {MIT Press}, + title = {Barriers}, + year = {1986}} + +@incollection{Li1999, + address = {Guangzhou}, + author = {Li, Rulong}, + booktitle = {Daici \textup{[Pronouns]}}, + date-added = {2015-11-29 12:04:06 +0000}, + date-modified = {2021-05-03 15:32:40 +0200}, + editor = {Li, Rulong and Chang, Song-Hing}, + pages = {263--287}, + publisher = {Jinan University Press}, + title = {Minnan fangyan de daici [{Pronouns} in Southern {Min}]}, + year = {1999}} + +@article{swart:1998, + author = {de Swart, Henri\"ette}, + date-added = {2015-11-21 20:38:48 +0000}, + date-modified = {2021-05-03 15:31:27 +0200}, + journal = {Natural Language and Linguistic Theory}, + number = {2}, + pages = {347-385}, + title = {Aspect shift and coercion}, + url = {http://www.jstor.org/stable/4047954}, + volume = {16}, + year = {1998}, + Bdsk-Url-1 = {http://www.jstor.org/stable/4047954}} + +@article{belder:2011, + author = {De Belder, Marijke}, + date-added = {2015-11-21 11:57:38 +0000}, + date-modified = {2016-03-08 10:19:10 +0000}, + doi = {10.1007/s10828-011-9045-0}, + journal = {Journal of Comparative Germanic Linguistics}, + pages = {173--202}, + title = {A morphosyntactic decomposition of countability in {G}ermanic}, + volume = {14}, + year = {2011}, + Bdsk-Url-1 = {https://doi.org/10.1007/s10828-011-9045-0}} + +@book{blevins:2004, + address = {Cambridge}, + author = {Blevins, Juliette}, + publisher = {Cambridge University Press}, + title = {Evolutionary Phonology}, + year = {2004}} + +@article{casali:1998a, + author = {Casali, Roderic}, + date-modified = {2016-12-25 14:33:53 +0000}, + journal = {Chicago Linguistic Society (CLS)}, + number = {1}, + pages = {55-68}, + title = {Predicting {ATR} Activity}, + volume = {34}, + year = {1998}} + +@book{chomsky:1986, + address = {New York}, + author = {Noam Chomsky}, + date-modified = {2016-01-22 22:17:32 +0000}, + publisher = {Praeger}, + title = {Knowledge of Language}, + year = {1986}} + +@book{coetsem:2000, + address = {Heidelberg}, + author = {van Coetsem, Frans}, + date-modified = {2016-01-22 22:14:58 +0000}, + publisher = {Winter}, + title = {A General and Unified Theory of the Transmission Process in Language Contact}, + year = {2000}} + +@unpublished{franks:2005, + author = {Franks, Steven}, + date-modified = {2016-07-05 12:52:45 +0000}, + note = {Ms. Indiana University}, + title = {Bulgarian Clitics are Positioned in the Syntax}, + year = {2005}, + Bdsk-Url-1 = {http://www.cogs.indiana.edu/people/homepages/franks/Bg_clitics_remark_dense.pdf}} + +@article{baker:1989, + author = {Baker, Mark and Johnson, Kyle and Roberts, Ian}, + date-modified = {2021-05-03 15:30:56 +0200}, + journal = {Linguistic Inquiry}, + number = {2}, + pages = {219-251}, + title = {Passive Arguments Raised}, + volume = {20}, + year = {1989}} diff --git a/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd new file mode 100644 index 000000000..2eb723332 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd @@ -0,0 +1,771 @@ +--- +title: This is a title and this is too +# Optional short title inside square brackets, for the running headers. +shorttitle: A subtitle goes on another line +shortauthors: Paul & Vanden Wyngaerd +author: +- name: Waltraud Paul + affiliation: CNRS, CRLAO + address: 105, Bd. Raspail, 75005 Paris waltraud.paul\@ehess.fr +- name: Guido Vanden Wyngaerd + affiliation: KU Leuven +classoption: [cm, linguex] +# +# Possible classoptions: +# - [times] for Times font (default if no option is chosen) +# - [cm] for Computer Modern font +# - [lucida] for Lucida font (not freely available) +# - [brill] open type font, freely downloadable for non-commercial use from +# http://www.brill.com/about/brill-fonts; requires xetex +# - [charis] for CharisSIL font, freely downloadable from http://software.sil.org/charis/ +# - for the Brill an CharisSIL fonts, you have to use the XeLatex +# typesetting engine (not pdfLatex) +# - for headings, tables, captions, etc., Fira Sans is +# used: https://www.fontsquirrel.com/fonts/fira-sans +# - [biblatex] for using biblatex (the default is natbib, DO NOT LOAD the +# natbib package in this file, it is loaded automatically via the document +# class glossa.cls) +# - [linguex] loads the linguex example package +# +# !!! A note on the use of linguex: in glossed examples, the third line of the +# example (the translation) needs to be prefixed with \glt. This is to allow a +# first line with the name of the language and the source of the example. See +# example (2) in the text for an illustration. +# +# !!! A note on the use of bibtex: for PhD dissertations to typeset correctly +# in the references list, the Address field needs to contain the city +# (for US cities in the format "Santa Cruz, CA") +# +bibliography: sample.bib +# The bibliography style is set automatically by glossa.cls when using +# either natbib or biblatex. +# Pandoc's citeproc is not supported. +# +abstract: | + This document provides a full overview of the information relating to Glossa + submissions. This information includes (i) the author guidelines, and (ii) + the stylesheet. So as to provide instruction both by example and by rule, + this document has been formatted in accordance with the stylesheet it contains. +# Specify keywords here: +keywords: stylesheet, glossa, article +# To add the word count, uncomment the following option and replace the number +# with the document word count. +# wordcount: 1000 +output: + rticles::glossa_article: + citation_package: natbib +--- + +```{r setup, include=FALSE} +knitr::opts_chunk$set(echo = FALSE) +``` + +# Author guidelines + +## Submission information + +Submissions should be made electronically through the [Glossa +website](http://glossa.ubiquitypress.com). + +Prior to submission, please add a word count (including footnotes and +references) directly under the paper title. Then convert your paper into +a single PDF file, containing all tables and figures. Non-PDF files or +separately provided files may be returned prior to review. Separate +image files may be requested if the submission is accepted for +publication. + +Please ensure that you consider the following guidelines when preparing +your manuscript. Failure to do so may delay the processing of your +submission. A downloadable version of the style guide is available +[`here`](https://github.com/guidovw/Glossalatex/blob/master/glossa-template.pdf). +Text formatting in accordance with the stylesheet is required for the +accepted version only. + +For LaTeX submissions, please download the Latex resources +[`here`](https://github.com/guidovw/Glossalatex). + +All files must be anonymised during the initial submission (including +information in the file properties). Only after editorial acceptance +should you add author details to the manuscript files. + +Once a submission has been completed, the submitting author is able to +fully track the status of the paper and complete requested revisions via +their online profile. + +## Article types + +### Research articles + +Research articles must describe the outcomes and application of +unpublished original research. These should make a substantial +contribution to knowledge and understanding in the subject matter and +should be supported by relevant examples, figures and tabulated data. +Research articles must be no more than 13,000 words in length. Authors +are allowed to add appendices with supplementary material that will be +hosted separately from the article itself, and receive their own, +properly referenced, DOI. These materials will not be typeset. See below +on how to provide supplementary/data files. + +### Overview articles + +Overview articles must describe the state-of-the art in a given +subdiscipline or a specific topic in linguistics. They should be very +accessible, aimed at an audience of MA students or interested +colleagues. Overview articles must be no more than 13,000 words in +length. Authors are allowed to add appendices with supplementary +material that will be hosted separately from the article itself, and +receive their own, properly referenced, DOI. These materials will not be +typeset. See below on how to provide supplementary/data files. + +### Book reviews + +Book reviews present critical appraisals of recent books in linguistics, +with a preference for monographs, handbooks, and grammars. They can +cover topics such as current controversies or the historical development +of studies as well as issues of regional or temporal focus. Papers +should critically engage with the relevant body of extant literature. +Book reviews should be no longer than 3,000 words in length. + +### Review articles + +Review articles present longer critical appraisals of one or more recent +books containing an original contribution or perspective on the book(s) +reviewed. Review articles will be reviewed by the editors and/ or +members of the editorial board. Review articles should be no longer than +6,000 words in length. + +### Squibs + +Squibs are short notes (5,000 words max.) that make a scintillating +point by calling attention to a theoretically unexpected observation +about language, without the need for a developed analysis or solution. + +### Special Collections + +Special Collections are papers devoted to a particular topic, and edited +by a team of guest editors. Contributions to special collections are +subject to the normal process of blind peer review. Upon publication, +papers within a special collection will be collated within their own +special collection page. If you are interested in submitting or +guest-editing a Special Collection, please contact [the +editors](https://www.glossa-journal.org/about/editorialteam/). + +### Word limits + +All word limits mentioned above include referencing and citation, but +they exclude appendices, data files and other supplementary material. +Please note that if you have data or supplementary files, they should be +treated as outlined in the section **data availability/supplementary +files** below, and not as part of the main submission file. + +## Permissions + +The author is responsible for obtaining all permissions required prior +to submission of the manuscript. Permission and owner details should be +mentioned for all third-party content included in the submission or used +in the research. + +If a method or tool is introduced in the study, including software, +questionnaires, and scales, the license this is available under and any +requirement for permission for use should be stated. If an existing +method or tool is used in the research, it is the author's +responsibility to check the license and obtain the necessary +permissions. + +# Style sheet {#ss} + +The Glossa style sheet is based on the [The Generic Style Rules for +Linguistics](http://www.eva.mpg.de/linguistics/past-research-resources/resources/generic-style-rules.html) +(December 2014 version), developed under a CC-BY licence by Martin +Haspelmath. It was slightly modified for Glossa by Waltraud Paul and +Guido Vanden Wyngaerd in November 2015, and again in May 2021. + +## Structure + +### Title page + +The title should not contain any capitalisation apart from the first +word and words that need capitals in any context. In the final version +of the accepted paper, the title is followed by the first and last name +of the author(s), their affiliation, and e-mail. First names should not +include only initials. + +Anonymisation: The names of all authors, affiliations, contact details, +biography (optional) and the corresponding author details must be +completed online as part of the submission process but should not be +added to the submitted files until after editorial acceptance. + +### Abstract + +Articles must have the main text prefaced by an abstract of no more than +250 words summarising the main arguments and conclusions of the article. +A list of up to six key words should be placed below the abstract. The +abstract and keywords should also be added to the metadata when making +the initial online submission. The abstract is automatically attached to +the email message inviting reviewers to review the paper. + +### Main text + +Articles are subdivided into numbered sections (and possibly +subsections, numbered 1.1 etc., and subsubsections, numbered 1.1.1 +etc.), with a bold-faced heading in each case. The numbering always +begins with 1, not 0. Section headings do not end with a period, and +have no special capitalisation. + +### Unnumbered sections + +The conclusion is the last numbered section. It may be followed by +several (optional) unnumbered sections, in this order: + +- Abbreviations + +- Data availability/Supplementary files + +- Ethics and consent + +- Funding information + +- Acknowledgements + +- Competing interests + +- Authors' contributions + +Of these, only the Competing interests statement is mandatory, and, if +your paper contains glossed examples, the Abbreviations section. More +explanation on the content of these sections is provided below. + +### References + +All references cited within the submission must be listed at the end of +the main text file. + +## Numbered examples and formulae + +Examples from languages other than English must *all* be glossed (with +word-by-word alignment) and translated, even if the translation seems +obvious. The Leipzig Glossing Rules are recommended as basic guidelines, +and can be found +[here](http://www.eva.mpg.de/lingua/resources/glossing-rules.php). A +full list of all the glosses used must be provided in the Abbreviations +section. Example numbers are enclosed in parentheses, and left-aligned. +Examples are numbered consecutively. When an earlier example is +repeated, it gets a new number. Example sentences usually have normal +capitalization at the beginning and normal punctuation. The gloss line +has no capitalization and no punctuation. + +```{=latex} +\ex. \ag. Ich kenne das Kind, dem du geholfen hast.\\ +I.\textsc{nom} know the child.\textsc{acc} \textsc{dem.dat} you.\textsc{nom} helped have\\ +\glt `I know the child that you helped.' +\bg. Ich kenne das Kind, dem du nicht geholfen hast. \\ +I.\textsc{nom} know the child.\textsc{acc} \textsc{dem.dat} you.\textsc{nom} \textsc{neg} helped have\\ +\glt `I know the child that you didn’t help.’ +``` + +When the example is not a complete sentence, there is no capitalization +and no full stop at the end. If the name of the language is added, the +source of the example, or any extra information, this information must +be added on an extra first line of the example (with the name of the +language in italics).\footnote{Examples in footnotes are numbered with lower case Roman numerals enclosed between brackets: + +\ex. +\a. Colorless green ideas sleep furiously. +\b. *The child seems sleeping. + +More text can follow the example.} + +```{=latex} +% optional line for the name of the language (italics), source, etc. Note the absence of \exg., instead use \ex. (and \a. \b. for subdivisions) when this optional line is present. Use \exg. etc. if this line is absent (as in the previous example) +\ex. \textit{German} \citep{coetsem:2000} \\ +% original foreign language example preceded by \gll +\gll das Kind, dem du geholfen hast\\ +the child.\textsc{nom} \textsc{dem.dat} you.\textsc{nom} helped have\\ % gloss line +\glt `the child that you helped' % translation, preceded by \glt +``` + +Ungrammatical examples can be given a parenthesized idiomatic +translation. A literal translation may be given in parentheses after the +idiomatic translation. + +The use of any nonstandard layout in examples beyond what is illustrated +above is strongly discouraged, as this will increase production time +(and cost) of your paper, as well as increase the chances of the HTML +version including errors in some browsers/screen sizes. If you feel an +example needs additional explanation, try as much as possible to provide +this in the text that goes with the example. If nonstandard layout is +essential, then please raise this with the editorial team to discuss the +options available. + +Formulae must be proofed carefully by the author. Editors will not edit +formulae. If special software has been used to create formulae, the way +they are laid out is the way they will appear in the publication. + +## Use of footnotes/endnotes {#fn} + +Use footnotes rather than endnotes (we refer to these as 'Notes' in the +online publication). These will appear at the bottom of each page. Notes +should be used only where crucial clarifying information needs to be +conveyed. + +Avoid using notes for purposes of referencing; use in-text citations +instead. If in-text citations cannot be used, a source can be cited as +part of a note. Please insert the footnote marker after the end +punctuation. + +The footnote reference number normally follows a period or a comma, +though exceptionally it may follow an individual word. Footnote numbers +start with 1. Examples in footnotes have the numbers (i), (ii), etc. + +## Tables and figures + +Tables and figures are treated as floats in typesetting. This means that +their placement on the page will not necessarily be where you put them +in your manuscript, as this may lead to large parts of the page ending +up white (e.g. when a table or figure does not fit on the current page +anymore and wraps onto the following page). For this reason, you must +always refer to tables and figures in the running text, as in the +following example: "In certain languages, the superlative transparently +contains the comparative morphologically, as illustrated in table +[1](#tbl:table1){reference-type="ref" reference="tbl:table1"} +[@Bobaljik2012 46]." Do not refer to tables and figures using the words +"following", "below" or "above", as the final placement of your table or +figure may be different from where you placed them in your manuscript. + +Table: {#tbl:table1} Morphological containment + + [Pos]{.smallcaps} [Cmpr]{.smallcaps} [Sprl]{.smallcaps} +----------- ------------------- -------------------- -------------------- ---------- +Persian kam kam-tar kam-tar-in 'little' +Cimbrian šüa šüan-ar šüan-ar-ste 'pretty' +Czech mlad-ý mlad-ší nej-mlad-ší 'young' +Hungarian nagy nagy-obb leg-nagy-obb 'big' +Latvian zil-ais zil-âk-ais vis-zil-âk-ais 'blue' +Ubykh nüs^w^ c'a-nüs^w^ a-c'a-nüs^w^ 'pretty' + +Tables and figures are numbered consecutively. Each table and each +figure has a caption. The caption is placed above figures and tables, +with only the figure or table number in bold. If the caption is not a +complete sentence, it is not followed by a period. Examples are shown in +the captions of table [1](#tbl:table1){reference-type="ref" +reference="tbl:table1"} and figure +[1](#fig:glossalogo){reference-type="ref" reference="fig:glossalogo"}. + + +```{r fig-glossa, fig.cap="The Glossa logo (design by Linnea Vanden Wyngaerd)", out.width="0.5\\textwidth", fig.align="center"} +knitr::include_graphics("glossa.png") +``` + + +Figures should be included in the main text for the purpose of peer +review. Once the paper is accepted, all figures must be uploaded +separately as supplementary files, if possible in colour and at a +resolution of at least 300dpi. No file should be larger than 20MB. +Standard formats accepted are: [jpg, tiff, gif, png, eps]{.smallcaps}. +For line drawings, please provide the original vector file (e.g. .ai, or +.eps). + +Tables must be created using a word processor's table function, not +tabbed text. Tables should be included in the manuscript. + +Tables should not include: + +- Rotated text + +- Colour to denote meaning (it will not display the same on all + devices) + +- Images + +- Diagonal lines + +- Multiple parts (e.g. "table 1a" and "table 1b"). These should either + be merged into one table, or separated into "table 1" and "table 2". + +If there are more columns than can fit on a single page, the table will +be rotated by 90 degrees to fit on the page. Do not use tables that +cannot fit onto a single page. + +Tree diagrams should be treated as examples, not as figures. If your +figure or tree diagram includes text, then for the best match with the +typeset text use the font [Charis +SIL](https://software.sil.org/charis/download/), or [Fira +Sans](https://www.fontsquirrel.com/fonts/fira-sans). These fonts also +support the International Phonetical Alphabet (IPA) symbols. + +## In-text citations + +The short reference form used in the text consists of the author's +surname and the publication year, followed by page numbers where +necessary. Brackets surround the year, except if the citation is already +inside brackets, in which case there are no brackets around the year. If +there are more than two authors, the first name plus *et al.* can be +used. + +- @murray:1983 [514] point out that ... + +- The notation we use to represent this is borrowed from theories + according to which $\phi$-features occur in a so-called feature + geometry [@mccarthy:1999 248-250]. + +- Baker et al. (1989) = @baker:1989 + +When multiple citations are listed, they are separated by semicolons and +listed in chronological order. Multiple references to the same author do +not repeat redundant information. + +- Multiple authors have belaboured this point + [@chomsky:1981; @chomsky:1986a; @chomsky:1986; @iverson:1989; @casali:1998a; @blevins:2004; @franks:2005]. + +Surnames with internal complexity have upper or lower case according to +how the author spells his/her own name, e.g.: + +- It has been claimed by @swart:1998 and @belder:2011 that meaning is + compositional. + +Chinese and Korean names may be treated in a special way: as the +surnames are often not very distinctive, the full name may be given in +the in-text citation, e.g. + +- ...the neutral negation *bù* is compatible with stative and activity + verbs (cf. Teng Shou-hsin 1973; Hsieh Miao-Ling 2001; Lin + Jo-wang 2003) + +## References {#sec:refs} + +The following rules apply: + +- The names of authors and editors should be given in their full form + as in the publication, without truncation of given names. + +- All author and editor names are given in the order "Lastname, + Firstname". + +- When there are more than two authors (or editors), each pair of + names is separated by an ampersand. + +- Page numbers of journals are obligatory (issue numbers preferred). + +- Journal titles are not abbreviated. + +- Main title and subtitle are separated by a colon, not by a period. + +- Titles of works written in a language that readers cannot be + expected to know should be accompanied by a translation, given in + square brackets [@Li1999]. + +- No author names are omitted, i.e. et al. is not used in the + references. + +There are four standard reference types: journal article, book, article +in edited book, thesis. Works that do not fit easily into these types +should be assimilated to them to the extent that this is possible. See +the bibliography at the end of this article for examples. + +Surnames with internal complexity are never treated in a special way. +Thus, Dutch or German surnames that begin with *van* or *von* (e.g. van +Riemsdijk) or French and Dutch surnames that begin with with *de* (e.g. +de Saussure) are alphabetized under the first part, even though they +begin with a lower-case letter. Thus, the following names are sorted +alphabetically as indicated: + +- Da Milano, Federica + +- de Groot, Casper + +- De Schutter, Georges + +- de Saussure, Ferdinand + +- van der Auwera, Johan + +- Van Langendonck, Willy + +- van Riemsdijk, Henk + +- von Humboldt, Wilhelm + +Capitalise all lexical words (title case) in journal titles and titles +of book series. Capitalise only the first word (plus proper names and +the first word after a colon) for book and dissertation titles, and +article and chapter titles. The logic is to use title case for the +titles that are recurring, lower case for those that are not. + +Names of book series are optional; they directly follow the book title, +without intervening punctuation. They appear between brackets, have +title case, and Roman font. They may be accompanied by an (optional) +issue number. + +Glossa style in Citation Style Language (CSL) is available +[here](https://www.zotero.org/styles?q=Glossa). Many thanks to Mark +Dingemanse for creating this style. + +## Typographical matters + +### Capitalisation + +Sentences, proper names and titles/headings/captions start with a +capital letter, but there is no special capitalisation ('title case') +within English titles/headings, neither in the article title nor in +section headings or figure captions. Capitalisation is also used after +the colon in titles, i.e. for the beginning of subtitles. Capitalisation +in the references section follows its own rules (see section +[2.6](#sec:refs){reference-type="ref" reference="sec:refs"}). + +Please refrain from the use of FULL CAPS (except for abbreviations). + +### Italics + +Italics are used in the following cases: + +- for technical terms and all object-language forms (letters, words, + phrases, sentences) that are cited within the text, unless they are + phonetic transcriptions or phonological representations in IPA. + +- for emphasis within the text 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. + +- for the name of the language in examples. + +In numbered examples, do not use italics to highlight particular parts +of the example; use bold instead. + +### Small caps + +Small caps are used for grammatical categories in the interlinear +glosses in examples (e.g. [fut, neg, sg, obl]{.smallcaps}, etc.). They +are also used for indicating stressed syllables or words in example +sentences. + +### Boldface and other highlighting + +Boldface can be used to draw the reader's attention to particular +aspects of a linguistic example, whether given within the text or as a +numbered example. Full caps, underlining, or italics are not normally +used for highlighting. + +### Quotation marks + +Double quotation marks are used + +- when a passage from another work is cited in the text. + +- when a technical term or other expression is mentioned that the + author does not want to adopt. + +Ellipsis in a quotation is indicated by \[...\]. + +Single quotation marks are used exclusively for linguistic meanings, +e.g. + +- Latin *habere* 'have' is not cognate with Old English *hafian* + 'have'. + +Quotes within quotes are not treated in a special way. Note that +quotations from other languages should be translated (inline if they are +short, in a footnote if they are longer). + +### Abbreviations + +When a complex term that is not widely known is referred to frequently, +it may be abbreviated (e.g. DOC for "double-object construction"). The +abbreviation should be given in the text when it is first used. +Abbreviations of uncommon expressions are not used in headings or +captions, and they should be avoided at the beginning of a chapter or +major section. + +The abbreviations used in glossed examples should all be listed in a +separate section following the conclusions. For a list of standard +abbreviations, refer to the [Leipzig glossing +rules](https://www.eva.mpg.de/lingua/resources/glossing-rules.php). + +# Submission preparation checklist + +As part of the submission process, authors are required to check off +their submission's compliance with all of the following items, and +submissions may be returned to authors that do not adhere to these +guidelines. + +1. The submission has not been previously published, nor is it being + considered for publication by another journal (or an explanation has + been provided in Comments to the Editor). + +2. Any third-party-owned materials used have been identified with + appropriate credit lines, and permission obtained from the copyright + holder for all formats of the journal. + +3. All authors have given permission to be listed on the submitted + paper and satisfy the [authorship + guidelines](http://glossa.ubiquitypress.com/about/authorship/). + +4. The original submission file is exclusively in the PDF document + format. (Accepted papers may be submitted in any of the following + formats: Latex, OpenOffice, Microsoft Word, [rtf]{.smallcaps}, or + WordPerfect.) + +5. All [doi]{.smallcaps}s for the references have been provided, when + available. + +6. Tables and figures are all cited in the text. Tables and figures are + included within the text document upon first submission, whilst for + the final version of the accepted paper, figure files are uploaded + as supplementary files. + +7. Figures/images have a resolution of at least 300dpi. Each file is no + more than 20Mb per file. The files are in one of the following + formats: [jpg, tiff, gif, png, eps]{.smallcaps} (to maximise + quality, the original source file is preferred). + +8. The author(s) agree to edit their text to adhere to the stylistic + and bibliographic requirements outlined in the [Author + Guidelines](https://www.glossa-journal.org/about/submissions#authorGuidelines), + should the paper be editorially accepted. + +9. All references to the author(s) have been removed from the paper + (following the instructions to ensure [blind peer + review](https://www.glossa-journal.org/help/view/editorial/topic/000044)). + Aside from omitting the author's name, this entails only referring + to your own work in the third person (do not use 'Author 1' or a + similar replacement for your own name), and removing your name and + any additional metadata from the document's file properties. Also + check the acknowledgments and the funding information sections for + identifying information. + +# Copyright notice + +Authors who publish with this journal agree to the following terms: + +1. Authors retain copyright and grant the journal right of first + publication with the work simultaneously licensed under a [Creative + Commons Attribution + License](http://creativecommons.org/licenses/by/3.0/) that allows + others to share the work with an acknowledgement of the work's + authorship and initial publication in this journal. (See [The Effect + of Open Access](http://opcit.eprints.org/oacitation-biblio.html).) + +2. Authors are able to enter into separate, additional contractual + arrangements for the non-exclusive distribution of the journal's + published version of the work (e.g., post it to an institutional + repository or publish it in a book), with an acknowledgement of its + initial publication in this journal. + +# Privacy statement + +The names and email addresses entered in this journal site will be used +exclusively for the stated purposes of this journal and will not be made +available for any other purpose or to any other party. The full privacy +policy can be viewed +[here](https://www.glossa-journal.org/about/privacy-policy/). + +# Publication fees + +Authors publishing in Glossa face no financial obligation for the +publication of their article. The [Open Library of +Humanities](https://www.openlibhums.org) (OLH) will take up all fees for +publishing. OLH is a charitable organisation dedicated to publishing +open access scholarship, and is funded by an international consortium of +libraries, who wish to make scholarly publishing fairer, more +accessible, and rigorously preserved for the digital future. Prospective +authors are encouraged to check if their academic library is a funder of +OLH. + +Authors who have access to funds earmarked for Article Processing +Charges (via a research grant or through their institution) are asked to +use those funds to cover the APC of their publication in Glossa. + +Authors without access to such funds will be asked to declare upon +submission that they have contacted their institutional representatives +to check about possible funding for this purpose, and that they have +found that no such funds are available to them. The fees required for +publication will then be paid by the OLH. + +# Conclusion + +The conclusion is the last numbered section, and any ensuing sections +are unnumbered. + +# Abbreviations (mandatory) {#abbrev .unnumbered} + +[acc]{.smallcaps} = accusative, [dat]{.smallcaps} = dative, +[dem]{.smallcaps} = demonstrative, [nom]{.smallcaps} = nominative, +[pl]{.smallcaps} = plural, [sg]{.smallcaps} = singular + +For the standard abbreviations to be used here, refer to the [Leipzig +glossing +rules](https://www.eva.mpg.de/lingua/resources/glossing-rules.php). + +# Data availability/Supplementary files (optional) {#data-availabilitysupplementary-files-optional .unnumbered} + +The journal encourages authors to make all data associated with their +submission openly available, according to the FAIR principles (Findable, +Accessible, Interoperable, Reusable). More information can be found +[`here`](https://www.glossa-journal.org/about/editorialpolicies/#data-policy). + +If data/supplementary files are to be associated with the accepted +paper, one of the options below should be followed: + +1. upload the files to your chosen open repository and make note of the + DOI that they will provide (most suitable for datasets or + information that act as foundations to the research being published; + this option makes the files more findable and more citable). + +2. upload the files to the journal system during the submission + process, as 'data files'. The journal will then host them as part of + the publication and provide them with a DOI (most suitable for + non-data files or very short pieces of information, although option + 1 is also suitable for these if the author prefers). + +In both cases, a 'Data availability' or 'Supplementary files' section +must be added prior to the reference list that provides a title and very +short summary of the files for each file. If option 1 was selected, you +should also provide the DOI in this section. For example: + +Supplementary file 1: Appendix. Scientific data related to the +experiments. DOI: + +Ideally, supplementary files are also cited in the main text. Please +note that neither of the above two options will result in the files +being typeset, so please ensure that they are in publishable format when +you upload the accepted paper. + +# Ethics and consent (optional) {#ethics-and-consent-optional .unnumbered} + +Research involving human subjects, human material, or human data, must +have been performed in accordance with the Declaration of Helsinki. +Where applicable, the studies must have been approved by an appropriate +ethics committee. In the published paper, the authors should include a +statement detailing this approval, including the name of the ethics +committee and reference number of the approval. The identity of the +research subject(s) should be anonymised whenever possible. For research +involving human subjects, informed consent to participate in the study +must be obtained from participants (or their legal guardian). + +# Funding information (optional) {#funding-information-optional .unnumbered} + +Should the research have received a funding grant, then the grant +provider and grant number can be detailed in this section. + +# Acknowledgements (optional) {#acknowledgements-optional .unnumbered} + +The authors wish to thank Martin Haspelmath for providing the generic +style sheet for linguistics, and Kai von Fintel for giving permission to +use and modify the *Semantics & Pragmatics* Latex template, bibliography +style, and document class. + +# Competing interests (mandatory) {#competing-interests-mandatory .unnumbered} + +If any of the authors have any competing interests then these must be +declared. Consult the [Competing +Interests](http://www.glossa-journal.org/about/competinginterests/) +section on the Glossa website for more information. If there are no +competing interests to declare then the following statement should be +present: "The author(s) has/have no competing interests to declare". + +# Authors' contributions (optional) {#contrib .unnumbered} + +Here you can provide a sentence or a short paragraph detailing the +contribution of each author to the paper. + diff --git a/inst/rmarkdown/templates/glossapx/template.yaml b/inst/rmarkdown/templates/glossapx/template.yaml new file mode 100644 index 000000000..7eab9c438 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/template.yaml @@ -0,0 +1,4 @@ +name: Glossa Psycholinguistics article +description: > + Template for articles of Glossa Psycholinguistics +create_dir: true From af36c0c7eff19b0a24a402baf06a69422fd720cc Mon Sep 17 00:00:00 2001 From: Veronica Boyce Date: Fri, 7 Apr 2023 13:33:43 -0700 Subject: [PATCH 2/4] try to fix template --- .../templates/glossapx/skeleton/glossa.cls | 633 +++++++++++++++ .../templates/glossapx/skeleton/skeleton.Rmd | 750 ++---------------- 2 files changed, 680 insertions(+), 703 deletions(-) create mode 100644 inst/rmarkdown/templates/glossapx/skeleton/glossa.cls diff --git a/inst/rmarkdown/templates/glossapx/skeleton/glossa.cls b/inst/rmarkdown/templates/glossapx/skeleton/glossa.cls new file mode 100644 index 000000000..a6fe12339 --- /dev/null +++ b/inst/rmarkdown/templates/glossapx/skeleton/glossa.cls @@ -0,0 +1,633 @@ +% Glossa stylefile, modified from the +% Semantics & Pragmatics style file. +% Kai von Fintel, Christopher Potts, and Chung-chieh Shan +% modifications for Glossa by Guido Vanden Wyngaerd +% v1 13 Nov 2015 +% v2 10 Jan 2016 +% v3 16 Apr 2016 +% v4 26 Jun 2016 +% v5 16 Aug 2016 +% v6 29 Sep 2016 +% v7 27 Jan 2018 patches by Adam Liter for section headings +% v8 16 May 2019 patches by GS for compatibility with xe/pdflatex +% v- 19 Jun 2020 by mitcho to better match Glossa typesetting +% v10 5 May 2021 changes to the stylesheet (no italics for subsections)) + +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesClass{glossa}[2018/01/27 v.2.3 Class for Glossa] + +% OUTLINE OF THIS CLASS FILE +% option declarations +% required packages +% metadata +% page dimensions +% title +% running headers +% frontmatter +% sectioning +% footnotes +% backmatter +% other environments +% useful macros + +%===================================================================== +%======================== option declarations ======================== + +\newif\if@lucida\@lucidafalse +\newif\if@cm\@cmtrue +\newif\if@times\@timestrue +\newif\if@brill\@brillfalse +\newif\if@charis\@charisfalse +\newif\if@final\@finalfalse +\newif\if@biblatex\@biblatexfalse +\newif\if@linguex\@linguexfalse + +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} + +\newcommand{\@sizeoption@err}{\ClassError{sp} + {Cannot use size option \CurrentOption} + {Glossa style requires (and automatically loads) 11pt text}} + +\DeclareOption{10pt}{\@sizeoption@err} +\DeclareOption{12pt}{\@sizeoption@err} + +\DeclareOption{lucida}{\@lucidatrue \@timesfalse \@cmfalse \@brillfalse \@charisfalse} +\DeclareOption{times}{\@lucidafalse \@timestrue \@cmfalse \@brillfalse \@charisfalse} +\DeclareOption{cm}{\@lucidafalse \@timesfalse \@cmtrue \@brillfalse \@charisfalse} +\DeclareOption{brill}{\@lucidafalse \@timesfalse \@cmtrue \@brilltrue \@charisfalse} +\DeclareOption{charis}{\@lucidafalse \@timesfalse \@cmtrue \@brillfalse \@charistrue} +\DeclareOption{final}{\@finaltrue} +\DeclareOption{biblatex}{\@biblatextrue} +\DeclareOption{linguex}{\@linguextrue} + +\ExecuteOptions{times} % times is the default. +\ProcessOptions\relax +\LoadClass[11pt,twoside]{article} + +\if@lucida + \IfFileExists{lucimatx.sty}{% + \RequirePackage[romanfamily=bright-osf, scale=0.9, stdmathdigits=true]{lucimatx}% + \linespread{1.05}% + \DeclareMathDelimiter{\llbracket} + {\mathopen}{letters}{130}{largesymbols}{130} + \DeclareMathDelimiter{\rrbracket} + {\mathclose}{letters}{131}{largesymbols}{131} + \normalfont\DeclareTextCommand + \textbullet\encodingdefault{\UseTextSymbol{OMS}\textbullet} + \let\nLeftrightarrow\undefined + \DeclareMathSymbol{\nLeftrightarrow}{\mathrel}{arrows}{105} +}{\ClassWarning{glossa.cls}{Requested fonts not present}}% +\else\relax +\fi +% +\if@times + \RequirePackage[T1]{fontenc}% use T1 font encoding + \IfFileExists{mathptmx.sty}{\RequirePackage{mathptmx}}{} + \IfFileExists{stmaryrd.sty}% + {\RequirePackage{stmaryrd}}% + {\newcommand{\llbracket}{\ensuremath{\left [\!\left [}}% + \newcommand{\rrbracket}{\ensuremath{\right ]\!\right ]}}} + \RequirePackage{textcomp} + \RequirePackage{amssymb} + \else\relax +\fi +% +\if@cm +\IfFileExists{stmaryrd.sty}% + {\RequirePackage{stmaryrd}}% + {\newcommand{\llbracket}{\ensuremath{\left [\!\left [}}% + \newcommand{\rrbracket}{\ensuremath{\right ]\!\right ]}}} + \RequirePackage{amssymb} + \RequirePackage{textcomp} + \else\relax +\fi + +\if@brill +\IfFileExists{stmaryrd.sty}% + {\RequirePackage{stmaryrd}}% + {\newcommand{\llbracket}{\ensuremath{\left [\!\left [}}% + \newcommand{\rrbracket}{\ensuremath{\right ]\!\right ]}}} + \RequirePackage[no-math]{fontspec} + \setmainfont[RawFeature=+tnum]{Brill} %RawFeature ensures proper alignment of examples with linguex + \RequirePackage{amssymb} + \RequirePackage{textcomp} + \else\relax +\fi + +\if@charis +\IfFileExists{stmaryrd.sty}% + {\RequirePackage{stmaryrd}}% + {\newcommand{\llbracket}{\ensuremath{\left [\!\left [}}% + \newcommand{\rrbracket}{\ensuremath{\right ]\!\right ]}}} + \RequirePackage[bitstream-charter]{mathdesign} %math font close to Charis SIL + \RequirePackage[no-math]{fontspec} + \setmainfont{CharisSIL} + \RequirePackage{FiraSans} %sf font; download from https://www.fontsquirrel.com/fonts/fira-sans + \RequirePackage{amssymb} + \RequirePackage{textcomp} + \else\relax +\fi + +% Strong widow and orphan control + +\clubpenalty10000 +\widowpenalty10000 + +%===================================================================== +%========================= required packages ========================= +%%% xunicode is not compatible +%%% with pdflatex, and one should not use inputenc with xelatex +%%% LuaLaTeX is incompatible with xunicode, but can safely load tipa +\RequirePackage{iftex} +\ifXeTeX + \RequirePackage{xunicode} %IPA characters are displayed; the commands of the tipa package are understood +\else + \RequirePackage[safe]{tipa} +\fi + +\ifPDFTeX + \RequirePackage[utf8]{inputenc} +\else +\fi +%%% End modification + +\RequirePackage{xspace} +% microtype handles punctuation at the right margin. We want it for the final product, but it's okay if authors lack it. MODIFIED by Coretta 2022-05-23 comment out microtype to circumvent error during compilation +% \IfFileExists{microtype.sty}{% +% \RequirePackage[final,protrusion={true,compatibility}]{microtype} +% }{} +\RequirePackage{ifthen} +\RequirePackage[hyphens]{url} + +\if@biblatex + \RequirePackage[backend=biber, + bibstyle=biblatex-gl, + citestyle=gl-authoryear-comp, + maxcitenames=3, + maxbibnames=99]{biblatex} +\else + \RequirePackage{natbib} + \bibpunct[: ]{(}{)}{; }{a}{}{;~} + \newcommand{\BIBand}{\&} + \setlength{\bibsep}{0pt} + \setlength{\bibhang}{0.25in} + \bibliographystyle{glossa} + \newcommand{\posscitet}[1]{\citeauthor{#1}'s (\citeyear{#1})} + \newcommand{\posscitealt}[1]{\citeauthor{#1}'s \citeyear{#1}} + \newcommand{\possciteauthor}[1]{\citeauthor{#1}'s} + \newcommand{\pgposscitet}[2]{\citeauthor{#1}'s (\citeyear{#1}:~#2)} + \newcommand{\secposscitet}[2]{\citeauthor{#1}'s (\citeyear{#1}:~$\S$#2)} + \newcommand{\pgcitealt}[2]{\citealt{#1}:~#2} + \newcommand{\seccitealt}[2]{\citealt{#1}:~$\S$#2} + \newcommand{\pgcitep}[2]{(\citealt{#1}:~#2)} + \newcommand{\seccitep}[2]{(\citealt{#1}:~$\S$#2)} + \newcommand{\pgcitet}[2]{\citeauthor{#1} (\citeyear{#1}:~#2)} + \newcommand{\seccitet}[2]{\citeauthor{#1} (\citeyear{#1}:~$\S$#2)} +\fi + +\RequirePackage[usenames,dvipsnames]{xcolor} +\definecolor{splinkcolor}{rgb}{.0,.2,.4} +\RequirePackage[colorlinks,breaklinks, + linkcolor=splinkcolor, + urlcolor=splinkcolor, + citecolor=splinkcolor, + filecolor=splinkcolor, + plainpages=false, + pdfpagelabels, + bookmarks=false, + pdfstartview=FitH]{hyperref} +\newcommand{\doi}[1]{\url{https://doi.org/#1}} +\urlstyle{rm} +\RequirePackage[leqno,tbtags]{amsmath} +% If the author is using postscript (discouraged), then load the breakurl package, else don't load it. +\RequirePackage{ifpdf} +\ifpdf + \relax +\else +\relax + %\RequirePackage{breakurl} +\fi +\RequirePackage{graphicx} +\RequirePackage{float} +\RequirePackage[hang,FIGBOTCAP,loose]{subfigure} + +% additions to the S&P required packages for Glossa are listed below + +\RequirePackage[normalem]{ulem} +\RequirePackage{enumitem} +\RequirePackage[font=sf,labelfont=bf,labelsep=colon,justification=raggedright,singlelinecheck=off]{caption} +\RequirePackage{booktabs} + +%===================================================================== +%============================= metadata ============================== + +\def\@pdfauthor{\relax} +\newcommand{\pdfauthor}[1]{\gdef\@pdfauthor{#1}} +\def\@pdftitle{\relax} +\newcommand{\pdftitle}[1]{\gdef\@pdftitle{#1}} +\def\@pdfkeywords{\relax} +\newcommand{\pdfkeywords}[1]{\gdef\@pdfkeywords{#1}} + +\hypersetup{pdfauthor=\@pdfauthor, + pdftitle=\@pdftitle, + pdfkeywords=\@pdfkeywords} + +\def\@spvolume{\relax} +\newcommand{\spvolume}[1]{\gdef\@spvolume{#1}} + +\def\@sparticle{\relax} +\newcommand{\sparticle}[1]{\gdef\@sparticle{#1}} + +\def\@spyear{\relax} +\newcommand{\spyear}[1]{\gdef\@spyear{#1}} + +\def\@spdoi{10.5334/.\@spvolume.\@sparticle} +\def\@splastpage{\relax} +\newcommand{\splastpage}[1]{\gdef\@splastpage{#1}} + +%===================================================================== +%========================== page dimensions ========================== + +% Vertical. +\paperheight=297mm +\topmargin=-13mm % +\headheight=5mm % head: 30mm (margin + head + sep = 0.46cm); latex adds 1in) +\headsep=17.6mm % +\topskip=0.1in % included in the textheight +\textheight=237mm % (297mm - 60mm) +\footskip=0.46cm % foot: 30mm total (1.0in leftover) +\parskip=0pt + +% Horizontal. +\paperwidth=210mm +\textwidth=150mm % (210mm - 60mm) +\oddsidemargin=0.46cm % put at 3cm margins (3cm - 1in = 0.46cm) +\evensidemargin=0.46cm % put at 3cm margins (3cm - 1in = 0.46cm) +\raggedbottom % constant spacing in the text; cost is a ragged bottom +\parindent=0.1in +\leftmargini=0.5in +\@ifundefined{mathindent}{}{\mathindent=0.5in\relax}% + +% Tell dvips about our paper. +\special{papersize=210mm,297mm} + +%===================================================================== +%============================== title ================================ + +% Formats individual pairs inside \author. +\newcommand{\spauthor}[1]% +{\begin{minipage}[t]{16pc}\centering + #1% + \end{minipage}\hspace{.5pc plus1pc}% + \ignorespaces +} + +\renewcommand*{\title}[2][]{\gdef\@shorttitle{#1}\gdef\@title{#2}} +\renewcommand*{\author}[2][]{\gdef\@shortauthor{#1}\gdef\@author{#2}} + +% Adapted from JMLR. +\renewcommand{\maketitle}{% + \par + \begingroup + \renewcommand{\thefootnote}{\fnsymbol{footnote}} + \@maketitle\@thanks + \setcounter{footnote}{0} + \endgroup + \let\maketitle\relax \let\@maketitle\relax + \gdef\@thanks{} + \let\thanks\relax% +} + +% From salt.cls. +\newskip\onelineskip +\onelineskip=\baselineskip +\advance\onelineskip by0pt plus 4pt minus 2pt + +\def\@maketitle{% + \vbox{\hsize\textwidth% + \linewidth\hsize% + \centering + \vskip\onelineskip + \LARGE\@title\@@par + \normalsize + \def\institute{\textit}% + \newcommand{\AND}{\ignorespaces}% + \let\par\@empty + \@author + \lineskiplimit\onelineskip + \lineskip\onelineskip + \@@par + }% + \global\everypar{\everypar{}\vskip 3.5ex} +} + +%===================================================================== +%========================== running headers ========================== + +% Creative commons license text. The font is even smaller here than it is elsewhere in the headers so that we have a chance of fitting the whole license on the page. +\newcommand{\cctext}{{\footnotesize This is an open-access article distributed under the terms of a Creative Commons Attribution License + (\http{http://creativecommons.org/licenses/by/3.0/}).}} + +% This boolean switch lets the user control whether the logo is included even when the requisite image file is present. (If it is missing, then the class file accommodates that no matter how the switch is set.) +\newboolean{logo} +\setboolean{logo}{true} % Default true (include logo if it's present) +\newcommand{\splogo}{\setboolean{logo}{true}} +\newcommand{\nosplogo}{\setboolean{logo}{false}} + +% This sets the font size for the header and footer on all pages. +\newcommand{\headerfontsize}{\footnotesize} + +% Prints publication and copyright info on the first page +% Also loads info into metadata (superseded by new metadata commands) +\gdef\@articlenumber{}% +\newcommand{\firstpageheadings}[6]% +{ + \gdef\@articlenumber{#2} + \gdef\@spvolume{#1} + \gdef\@sparticle{#2} + \gdef\@splastpage{#3} + \gdef\@spyear{#4} + \def\ps@spfirstheadings{% + \let\@mkboth\@gobbletwo% + \renewcommand{\@oddhead}{% + \headerfontsize% + % If the switch is set to "include image", + \ifthenelse{\boolean{logo}}{% + \ifpdf + % If the pdf logo is present, + \IfFileExists{sp-logo.pdf}{% + % then insert the pdf version, + \begin{minipage}[c]{.25in} + \includegraphics[width=.25in]{sp-logo.pdf} + \end{minipage}% + }{}% else nothing; closes \IfFileExists + \else + % If the ps logo is present, + \IfFileExists{sp-logo.ps}{% + % then insert the postscript version, + \begin{minipage}[c]{.25in} + \includegraphics[width=.25in]{sp-logo.ps} + \end{minipage}% + }{}% else, nothing; closes \IfFileExists + \fi % close \ifpdf + }{}% closes \ifthenelse + \begin{minipage}[c]{5.25in} + \href{http://glossa.ubiquitypress.com/}{Glossa} Volume \@spvolume, Article \@sparticle: 1--\@splastpage, \@spyear\\ + \href{https://doi.org/10.5334/sp.\@spvolume.\@sparticle}{https://doi.org/10.5334/.\@spvolume.\@sparticle} + \end{minipage}% + }% + \renewcommand{\@oddfoot}{% + \begin{minipage}[c]{1\textwidth}% + \footnotesize\copyright \@spyear\ \@shortauthor\\ + \cctext + \end{minipage}% + }% + \renewcommand{\@evenhead}{}% + \renewcommand{\@evenfoot}{}% + }% + \thispagestyle{spfirstheadings}% +}% + +\newcommand{\firstpagefinalheadings}% +{ + \def\ps@spfirstheadings{% + \let\@mkboth\@gobbletwo% + \renewcommand{\@oddhead}{% + \headerfontsize% + % If the switch is set to "include image", + \ifthenelse{\boolean{logo}}{% + \ifpdf + % If the pdf logo is present, + \IfFileExists{sp-logo.pdf}{% + % then insert the pdf version, + \begin{minipage}[c]{.25in} + \includegraphics[width=.25in]{sp-logo} + \end{minipage}% + }{}% else nothing; closes \IfFileExists + \else + % If the ps logo is present, + \IfFileExists{sp-logo.ps}{% + % then insert the postscript version, + \begin{minipage}[c]{.25in} + \includegraphics[width=.25in]{sp-logo} + \end{minipage}% + }{}% else, nothing; closes \IfFileExists + \fi % close \ifpdf + }{}% closes \ifthenelse + \begin{minipage}[c]{5.25in} + \href{http://http://glossa.ubiquitypress.com/}{Glossa} Volume \@spvolume, Article \@sparticle: 1--\@splastpage, \@spyear\\ + \href{https://doi.org/\@spdoi}{https://doi.org/\@spdoi} + \end{minipage}% + \gdef\@articlenumber{\@sparticle} + }% + \renewcommand{\@oddfoot}{% + \begin{minipage}[c]{1\textwidth}% + \footnotesize\copyright \@spyear\ \@shortauthor\\ + \cctext + \end{minipage}% + }% + \renewcommand{\@evenhead}{}% + \renewcommand{\@evenfoot}{}% + }% + \thispagestyle{spfirstheadings}% +}% + + +% Prints abbreviated article information on non-initial pages. +\def\ps@spheadings{% + \let\@mkboth\@gobbletwo% + \def\@oddhead{{\headerfontsize\sffamily \@shorttitle}\hfill{\headerfontsize\sffamily\ifx\@empty\@articlenumber\else\@articlenumber:\fi\thepage}}% short title, inner + \def\@oddfoot{%\hfill{\headerfontsize\ifx\@empty\@articlenumber\else\@articlenumber:\fi%\thepage}\hfill + }% centered pg no + \def\@evenhead{{\headerfontsize\sffamily\ifx\@empty\@articlenumber\else\@articlenumber:\fi\thepage} \hfill {\headerfontsize\sffamily\@shortauthor}}% author names, inner + \def\@evenfoot{%\hfill{\headerfontsize\ifx\@empty\@articlenumber\else\@articlenumber:\fi\thepage}\hfill + }% centered pg no +} +\pagestyle{spheadings} + +%===================================================================== +%=========================== final typeset =========================== + + +\if@final +\RequirePackage{sp-hyperxmp} +\splogo +\AtBeginDocument{\firstpagefinalheadings} +\else +\nosplogo +\AtBeginDocument{\thispagestyle{plain}} +\fi + + +%===================================================================== +%=========================== frontmatter ============================= + +% The spacing specs (arg 2 of \list) are the same for the mshistory, abstract, and keywords environments, except that the abstract is indented somewhat. + +% Single parameter determines the left and right margin size. +\newcommand{\frontmatterspacing}[1]{% + \small + \topsep 10\p@ \@plus4\p@ \@minus6\p@ % from size12.clo + \advance\topsep by3.5ex plus -1ex minus -.2ex + \setlength{\listparindent}{0em} + \setlength{\itemindent}{0em} + \setlength{\leftmargin}{#1} + \setlength{\rightmargin}{\leftmargin} + \setlength{\parskip}{0em} +} + +\newenvironment{mshistory}% +{\list{}{\frontmatterspacing{0em}}% +\item\relax}% +{\endlist} + +\renewenvironment{abstract}% +{\list{}{\frontmatterspacing{0.25in}}% +\item\relax\textbf{\abstractname} }% +{\endlist} + +\newenvironment{keywords}% +{\list{}{\frontmatterspacing{0em}}% +\item\relax\textbf{Keywords:}}% +{\endlist} + +%===================================================================== +%============================ sectioning ============================= + +\setcounter{secnumdepth}{5} +\setcounter{tocdepth}{5} + +\renewcommand{\thesection}{\arabic{section}.} +\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}} +\renewcommand{\thesubsubsection}{\arabic{section}.\arabic{subsection}.\arabic{subsubsection}} + +\renewcommand{\section}{\@startsection{section}{1}{0pt}% + {-3.5ex plus -1ex minus -.2ex}% + {1.8ex plus.2ex}% + {\noindent\normalfont\Large\sffamily\bfseries}} + +\renewcommand{\subsection}{\@startsection{subsection}{2}{0pt}% + {-3.5ex plus -1ex minus -.2ex}% + {1.8ex plus.2ex}% + {\noindent\normalfont\large\sffamily\bfseries}} + +\renewcommand{\subsubsection}{\@startsection{subsubsection}{3}{0pt}% + {-3.5ex plus -1ex minus -.2ex}% + {1.8ex plus.2ex}% + {\noindent\normalfont\normalsize\sffamily\bfseries}} + +\renewcommand{\paragraph}{\@startsection{paragraph}{4}{\z@}% + {-3.5ex plus -1ex minus -.2ex}% + {1.8ex plus.2ex}% + {\noindent\normalsize\sffamily\bfseries}} + +\renewcommand{\subparagraph}{\@startsection{subparagraph}{5}{\z@}% + {-3.5ex plus -1ex minus -.2ex}% + {1.8ex plus.2ex}% + {\noindent\normalsize\sffamily\it}} + +% General formatting --- for punctuating section headings. +\renewcommand{\@seccntformat}[1]{\@nameuse{the#1}\hspace{1em}} + +%===================================================================== +%============================ footnotes ============================== + +\renewcommand{\@makefntext}[1]{% + \parindent=0.25in + \noindent \hbox to \z@{\hss{\textsuperscript{\@thefnmark}} \hfil}#1} + +%===================================================================== +%============================ backmatter ============================= + +% Environment for formatting all the addresses. +\newenvironment{addresses}% +{\@@par + \let\par\@empty + \addvspace{3.25ex}% + \noindent%\textbf{Author addresses} + \small + % Individual author addresses. + \newenvironment{address}% + {% For email addresses inside the address environment. + %\newcommand{\email}{\texttt}% + \begin{minipage}[t]{19pc}\raggedright} + {\end{minipage}\hspace{.15pc plus1pc}}% + \ignorespaces +}% +{\lineskiplimit 1pc + \lineskip 1pc + \@@par} + +%===================================================================== +%======================== other environments ========================= + +% enumerate labeling that won't conflict with standard ex. numbers. +\renewcommand{\theenumi}{\roman{enumi}} +\renewcommand{\labelenumi}{\theenumi.} +\renewcommand{\theenumii}{\alph{enumii}} +\renewcommand{\labelenumii}{\theenumii.} + +% list spacing ought to satisfy \itemsep + \parsep < \topsep + \parskip +\def\@listi{\leftmargin\leftmargini + \parsep 4\p@ \@plus2\p@ \@minus\p@ + \topsep 10\p@ \@plus4\p@ \@minus\p@ + \itemsep4\p@ \@plus2\p@ \@minus\p@} +\let\@listI\@listi +\@listi + +% typeset figures with lines above and below and the caption title and caption texts in boxes next to each other, top aligned. these definitions extend those of float.sty. +% +% sp caption style +%\newcommand\floatc@sp[2]{% +% \parbox[t]{0.15\textwidth}{{\@fs@cfont#1}}% +% \parbox[t]{0.85\textwidth}{#2}}% + +% sp float style; uses the sp caption style +%\newcommand\fs@sp{ +% \def\@fs@cfont{\bfseries}\let\@fs@capt\floatc@sp +% \def\@fs@pre{\hrule\kern5pt}% +% \def\@fs@post{\kern5pt\hrule\relax}% +% \def\@fs@mid{\kern10pt} +% \let\@fs@iftopcapt\iffalse} + +% users can override these commands using float.sty's functionality +%\floatstyle{sp} +%\restylefloat{figure} +%\restylefloat{table} + +%===================================================================== +%=========================== useful macros =========================== + +\newcommand{\spj}{\emph{S\&P}\xspace} + +\def\co{\colon\thinspace} + +\DeclareRobustCommand\dash{% + \unskip\nobreak\thinspace\textemdash\thinspace\ignorespaces} +\pdfstringdefDisableCommands{\renewcommand{\dash}{ - }} + +% based on \url defined in hyperref.sty +\DeclareRobustCommand*{\http}{\hyper@normalise\http@} +\def\http@#1{\hyper@linkurl{\Hurl{#1}}{http://#1}} + +\newcommand{\email}[1]{\href{mailto:#1}{#1}} + +\providecommand{\sv}[1]{\ensuremath{\llbracket #1 \rrbracket}} + +%===================================================================== +%=========================== linguex settings ======================== + +\if@linguex + \RequirePackage{linguex}% + \renewcommand{\firstrefdash}{}% + \AtBeginDocument{\settowidth{\Exlabelwidth}{(110)}} +\else +\relax +\fi + +\RequirePackage{cgloss} %for adding the language name and source of the example on the first line of glossed examples (requires \gll before the foreign language example and \glt before the translation) + +%================================ miscellaneous ====================== +%===================================================================== + +\setlist{nolistsep} %reduce space between items in lists diff --git a/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd index 2eb723332..4518ba60e 100644 --- a/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd @@ -2,14 +2,16 @@ title: This is a title and this is too # Optional short title inside square brackets, for the running headers. shorttitle: A subtitle goes on another line -shortauthors: Paul & Vanden Wyngaerd +shortauthors: Author & Writer author: -- name: Waltraud Paul - affiliation: CNRS, CRLAO - address: 105, Bd. Raspail, 75005 Paris waltraud.paul\@ehess.fr -- name: Guido Vanden Wyngaerd - affiliation: KU Leuven -classoption: [cm, linguex] +- name: "Person Author" + affiliation: "Big University" + corresponding: yes # Define only 1 corresponding author + email: "person@bigu.edu" +- name: "Other Writer" + affiliation: "Small College" + +classoption: [times] # # Possible classoptions: # - [times] for Times font (default if no option is chosen) @@ -36,736 +38,78 @@ classoption: [cm, linguex] # in the references list, the Address field needs to contain the city # (for US cities in the format "Santa Cruz, CA") # + bibliography: sample.bib -# The bibliography style is set automatically by glossa.cls when using -# either natbib or biblatex. -# Pandoc's citeproc is not supported. -# +link-citations: true +csl : "apa7.csl" + abstract: | - This document provides a full overview of the information relating to Glossa - submissions. This information includes (i) the author guidelines, and (ii) - the stylesheet. So as to provide instruction both by example and by rule, - this document has been formatted in accordance with the stylesheet it contains. -# Specify keywords here: -keywords: stylesheet, glossa, article + This document provides a template for glossapx submissions. Articles must have the main text prefaced by an abstract of no more than 300 words summarizing the main arguments and conclusions of the article. + +# Specify up to 6 optional keywords here: +keywords: stylesheet, glossapx, article # To add the word count, uncomment the following option and replace the number # with the document word count. # wordcount: 1000 output: - rticles::glossa_article: - citation_package: natbib + bookdown::pdf_book: + base_format: rticles::glossapx_article --- ```{r setup, include=FALSE} knitr::opts_chunk$set(echo = FALSE) ``` -# Author guidelines - -## Submission information - -Submissions should be made electronically through the [Glossa -website](http://glossa.ubiquitypress.com). - -Prior to submission, please add a word count (including footnotes and -references) directly under the paper title. Then convert your paper into -a single PDF file, containing all tables and figures. Non-PDF files or -separately provided files may be returned prior to review. Separate -image files may be requested if the submission is accepted for -publication. - -Please ensure that you consider the following guidelines when preparing -your manuscript. Failure to do so may delay the processing of your -submission. A downloadable version of the style guide is available -[`here`](https://github.com/guidovw/Glossalatex/blob/master/glossa-template.pdf). -Text formatting in accordance with the stylesheet is required for the -accepted version only. - -For LaTeX submissions, please download the Latex resources -[`here`](https://github.com/guidovw/Glossalatex). - -All files must be anonymised during the initial submission (including -information in the file properties). Only after editorial acceptance -should you add author details to the manuscript files. - -Once a submission has been completed, the submitting author is able to -fully track the status of the paper and complete requested revisions via -their online profile. - -## Article types - -### Research articles - -Research articles must describe the outcomes and application of -unpublished original research. These should make a substantial -contribution to knowledge and understanding in the subject matter and -should be supported by relevant examples, figures and tabulated data. -Research articles must be no more than 13,000 words in length. Authors -are allowed to add appendices with supplementary material that will be -hosted separately from the article itself, and receive their own, -properly referenced, DOI. These materials will not be typeset. See below -on how to provide supplementary/data files. - -### Overview articles - -Overview articles must describe the state-of-the art in a given -subdiscipline or a specific topic in linguistics. They should be very -accessible, aimed at an audience of MA students or interested -colleagues. Overview articles must be no more than 13,000 words in -length. Authors are allowed to add appendices with supplementary -material that will be hosted separately from the article itself, and -receive their own, properly referenced, DOI. These materials will not be -typeset. See below on how to provide supplementary/data files. - -### Book reviews - -Book reviews present critical appraisals of recent books in linguistics, -with a preference for monographs, handbooks, and grammars. They can -cover topics such as current controversies or the historical development -of studies as well as issues of regional or temporal focus. Papers -should critically engage with the relevant body of extant literature. -Book reviews should be no longer than 3,000 words in length. - -### Review articles - -Review articles present longer critical appraisals of one or more recent -books containing an original contribution or perspective on the book(s) -reviewed. Review articles will be reviewed by the editors and/ or -members of the editorial board. Review articles should be no longer than -6,000 words in length. - -### Squibs - -Squibs are short notes (5,000 words max.) that make a scintillating -point by calling attention to a theoretically unexpected observation -about language, without the need for a developed analysis or solution. - -### Special Collections - -Special Collections are papers devoted to a particular topic, and edited -by a team of guest editors. Contributions to special collections are -subject to the normal process of blind peer review. Upon publication, -papers within a special collection will be collated within their own -special collection page. If you are interested in submitting or -guest-editing a Special Collection, please contact [the -editors](https://www.glossa-journal.org/about/editorialteam/). - -### Word limits - -All word limits mentioned above include referencing and citation, but -they exclude appendices, data files and other supplementary material. -Please note that if you have data or supplementary files, they should be -treated as outlined in the section **data availability/supplementary -files** below, and not as part of the main submission file. - -## Permissions - -The author is responsible for obtaining all permissions required prior -to submission of the manuscript. Permission and owner details should be -mentioned for all third-party content included in the submission or used -in the research. - -If a method or tool is introduced in the study, including software, -questionnaires, and scales, the license this is available under and any -requirement for permission for use should be stated. If an existing -method or tool is used in the research, it is the author's -responsibility to check the license and obtain the necessary -permissions. - -# Style sheet {#ss} - -The Glossa style sheet is based on the [The Generic Style Rules for -Linguistics](http://www.eva.mpg.de/linguistics/past-research-resources/resources/generic-style-rules.html) -(December 2014 version), developed under a CC-BY licence by Martin -Haspelmath. It was slightly modified for Glossa by Waltraud Paul and -Guido Vanden Wyngaerd in November 2015, and again in May 2021. - -## Structure - -### Title page - -The title should not contain any capitalisation apart from the first -word and words that need capitals in any context. In the final version -of the accepted paper, the title is followed by the first and last name -of the author(s), their affiliation, and e-mail. First names should not -include only initials. - -Anonymisation: The names of all authors, affiliations, contact details, -biography (optional) and the corresponding author details must be -completed online as part of the submission process but should not be -added to the submitted files until after editorial acceptance. - -### Abstract - -Articles must have the main text prefaced by an abstract of no more than -250 words summarising the main arguments and conclusions of the article. -A list of up to six key words should be placed below the abstract. The -abstract and keywords should also be added to the metadata when making -the initial online submission. The abstract is automatically attached to -the email message inviting reviewers to review the paper. - -### Main text - -Articles are subdivided into numbered sections (and possibly -subsections, numbered 1.1 etc., and subsubsections, numbered 1.1.1 -etc.), with a bold-faced heading in each case. The numbering always -begins with 1, not 0. Section headings do not end with a period, and -have no special capitalisation. - -### Unnumbered sections - -The conclusion is the last numbered section. It may be followed by -several (optional) unnumbered sections, in this order: - -- Abbreviations - -- Data availability/Supplementary files - -- Ethics and consent - -- Funding information - -- Acknowledgements - -- Competing interests - -- Authors' contributions - -Of these, only the Competing interests statement is mandatory, and, if -your paper contains glossed examples, the Abbreviations section. More -explanation on the content of these sections is provided below. - -### References - -All references cited within the submission must be listed at the end of -the main text file. - -## Numbered examples and formulae - -Examples from languages other than English must *all* be glossed (with -word-by-word alignment) and translated, even if the translation seems -obvious. The Leipzig Glossing Rules are recommended as basic guidelines, -and can be found -[here](http://www.eva.mpg.de/lingua/resources/glossing-rules.php). A -full list of all the glosses used must be provided in the Abbreviations -section. Example numbers are enclosed in parentheses, and left-aligned. -Examples are numbered consecutively. When an earlier example is -repeated, it gets a new number. Example sentences usually have normal -capitalization at the beginning and normal punctuation. The gloss line -has no capitalization and no punctuation. - -```{=latex} -\ex. \ag. Ich kenne das Kind, dem du geholfen hast.\\ -I.\textsc{nom} know the child.\textsc{acc} \textsc{dem.dat} you.\textsc{nom} helped have\\ -\glt `I know the child that you helped.' -\bg. Ich kenne das Kind, dem du nicht geholfen hast. \\ -I.\textsc{nom} know the child.\textsc{acc} \textsc{dem.dat} you.\textsc{nom} \textsc{neg} helped have\\ -\glt `I know the child that you didn’t help.’ -``` - -When the example is not a complete sentence, there is no capitalization -and no full stop at the end. If the name of the language is added, the -source of the example, or any extra information, this information must -be added on an extra first line of the example (with the name of the -language in italics).\footnote{Examples in footnotes are numbered with lower case Roman numerals enclosed between brackets: - -\ex. -\a. Colorless green ideas sleep furiously. -\b. *The child seems sleeping. - -More text can follow the example.} - -```{=latex} -% optional line for the name of the language (italics), source, etc. Note the absence of \exg., instead use \ex. (and \a. \b. for subdivisions) when this optional line is present. Use \exg. etc. if this line is absent (as in the previous example) -\ex. \textit{German} \citep{coetsem:2000} \\ -% original foreign language example preceded by \gll -\gll das Kind, dem du geholfen hast\\ -the child.\textsc{nom} \textsc{dem.dat} you.\textsc{nom} helped have\\ % gloss line -\glt `the child that you helped' % translation, preceded by \glt -``` - -Ungrammatical examples can be given a parenthesized idiomatic -translation. A literal translation may be given in parentheses after the -idiomatic translation. - -The use of any nonstandard layout in examples beyond what is illustrated -above is strongly discouraged, as this will increase production time -(and cost) of your paper, as well as increase the chances of the HTML -version including errors in some browsers/screen sizes. If you feel an -example needs additional explanation, try as much as possible to provide -this in the text that goes with the example. If nonstandard layout is -essential, then please raise this with the editorial team to discuss the -options available. - -Formulae must be proofed carefully by the author. Editors will not edit -formulae. If special software has been used to create formulae, the way -they are laid out is the way they will appear in the publication. - -## Use of footnotes/endnotes {#fn} - -Use footnotes rather than endnotes (we refer to these as 'Notes' in the -online publication). These will appear at the bottom of each page. Notes -should be used only where crucial clarifying information needs to be -conveyed. - -Avoid using notes for purposes of referencing; use in-text citations -instead. If in-text citations cannot be used, a source can be cited as -part of a note. Please insert the footnote marker after the end -punctuation. - -The footnote reference number normally follows a period or a comma, -though exceptionally it may follow an individual word. Footnote numbers -start with 1. Examples in footnotes have the numbers (i), (ii), etc. - -## Tables and figures - -Tables and figures are treated as floats in typesetting. This means that -their placement on the page will not necessarily be where you put them -in your manuscript, as this may lead to large parts of the page ending -up white (e.g. when a table or figure does not fit on the current page -anymore and wraps onto the following page). For this reason, you must -always refer to tables and figures in the running text, as in the -following example: "In certain languages, the superlative transparently -contains the comparative morphologically, as illustrated in table -[1](#tbl:table1){reference-type="ref" reference="tbl:table1"} -[@Bobaljik2012 46]." Do not refer to tables and figures using the words -"following", "below" or "above", as the final placement of your table or -figure may be different from where you placed them in your manuscript. - -Table: {#tbl:table1} Morphological containment - - [Pos]{.smallcaps} [Cmpr]{.smallcaps} [Sprl]{.smallcaps} ------------ ------------------- -------------------- -------------------- ---------- -Persian kam kam-tar kam-tar-in 'little' -Cimbrian šüa šüan-ar šüan-ar-ste 'pretty' -Czech mlad-ý mlad-ší nej-mlad-ší 'young' -Hungarian nagy nagy-obb leg-nagy-obb 'big' -Latvian zil-ais zil-âk-ais vis-zil-âk-ais 'blue' -Ubykh nüs^w^ c'a-nüs^w^ a-c'a-nüs^w^ 'pretty' - -Tables and figures are numbered consecutively. Each table and each -figure has a caption. The caption is placed above figures and tables, -with only the figure or table number in bold. If the caption is not a -complete sentence, it is not followed by a period. Examples are shown in -the captions of table [1](#tbl:table1){reference-type="ref" -reference="tbl:table1"} and figure -[1](#fig:glossalogo){reference-type="ref" reference="fig:glossalogo"}. - - -```{r fig-glossa, fig.cap="The Glossa logo (design by Linnea Vanden Wyngaerd)", out.width="0.5\\textwidth", fig.align="center"} -knitr::include_graphics("glossa.png") -``` - - -Figures should be included in the main text for the purpose of peer -review. Once the paper is accepted, all figures must be uploaded -separately as supplementary files, if possible in colour and at a -resolution of at least 300dpi. No file should be larger than 20MB. -Standard formats accepted are: [jpg, tiff, gif, png, eps]{.smallcaps}. -For line drawings, please provide the original vector file (e.g. .ai, or -.eps). - -Tables must be created using a word processor's table function, not -tabbed text. Tables should be included in the manuscript. - -Tables should not include: - -- Rotated text - -- Colour to denote meaning (it will not display the same on all - devices) - -- Images - -- Diagonal lines - -- Multiple parts (e.g. "table 1a" and "table 1b"). These should either - be merged into one table, or separated into "table 1" and "table 2". - -If there are more columns than can fit on a single page, the table will -be rotated by 90 degrees to fit on the page. Do not use tables that -cannot fit onto a single page. - -Tree diagrams should be treated as examples, not as figures. If your -figure or tree diagram includes text, then for the best match with the -typeset text use the font [Charis -SIL](https://software.sil.org/charis/download/), or [Fira -Sans](https://www.fontsquirrel.com/fonts/fira-sans). These fonts also -support the International Phonetical Alphabet (IPA) symbols. - -## In-text citations - -The short reference form used in the text consists of the author's -surname and the publication year, followed by page numbers where -necessary. Brackets surround the year, except if the citation is already -inside brackets, in which case there are no brackets around the year. If -there are more than two authors, the first name plus *et al.* can be -used. - -- @murray:1983 [514] point out that ... - -- The notation we use to represent this is borrowed from theories - according to which $\phi$-features occur in a so-called feature - geometry [@mccarthy:1999 248-250]. - -- Baker et al. (1989) = @baker:1989 - -When multiple citations are listed, they are separated by semicolons and -listed in chronological order. Multiple references to the same author do -not repeat redundant information. - -- Multiple authors have belaboured this point - [@chomsky:1981; @chomsky:1986a; @chomsky:1986; @iverson:1989; @casali:1998a; @blevins:2004; @franks:2005]. - -Surnames with internal complexity have upper or lower case according to -how the author spells his/her own name, e.g.: - -- It has been claimed by @swart:1998 and @belder:2011 that meaning is - compositional. - -Chinese and Korean names may be treated in a special way: as the -surnames are often not very distinctive, the full name may be given in -the in-text citation, e.g. - -- ...the neutral negation *bù* is compatible with stative and activity - verbs (cf. Teng Shou-hsin 1973; Hsieh Miao-Ling 2001; Lin - Jo-wang 2003) - -## References {#sec:refs} - -The following rules apply: - -- The names of authors and editors should be given in their full form - as in the publication, without truncation of given names. - -- All author and editor names are given in the order "Lastname, - Firstname". - -- When there are more than two authors (or editors), each pair of - names is separated by an ampersand. - -- Page numbers of journals are obligatory (issue numbers preferred). - -- Journal titles are not abbreviated. - -- Main title and subtitle are separated by a colon, not by a period. - -- Titles of works written in a language that readers cannot be - expected to know should be accompanied by a translation, given in - square brackets [@Li1999]. - -- No author names are omitted, i.e. et al. is not used in the - references. - -There are four standard reference types: journal article, book, article -in edited book, thesis. Works that do not fit easily into these types -should be assimilated to them to the extent that this is possible. See -the bibliography at the end of this article for examples. - -Surnames with internal complexity are never treated in a special way. -Thus, Dutch or German surnames that begin with *van* or *von* (e.g. van -Riemsdijk) or French and Dutch surnames that begin with with *de* (e.g. -de Saussure) are alphabetized under the first part, even though they -begin with a lower-case letter. Thus, the following names are sorted -alphabetically as indicated: - -- Da Milano, Federica - -- de Groot, Casper - -- De Schutter, Georges - -- de Saussure, Ferdinand - -- van der Auwera, Johan - -- Van Langendonck, Willy - -- van Riemsdijk, Henk - -- von Humboldt, Wilhelm - -Capitalise all lexical words (title case) in journal titles and titles -of book series. Capitalise only the first word (plus proper names and -the first word after a colon) for book and dissertation titles, and -article and chapter titles. The logic is to use title case for the -titles that are recurring, lower case for those that are not. - -Names of book series are optional; they directly follow the book title, -without intervening punctuation. They appear between brackets, have -title case, and Roman font. They may be accompanied by an (optional) -issue number. - -Glossa style in Citation Style Language (CSL) is available -[here](https://www.zotero.org/styles?q=Glossa). Many thanks to Mark -Dingemanse for creating this style. - -## Typographical matters - -### Capitalisation - -Sentences, proper names and titles/headings/captions start with a -capital letter, but there is no special capitalisation ('title case') -within English titles/headings, neither in the article title nor in -section headings or figure captions. Capitalisation is also used after -the colon in titles, i.e. for the beginning of subtitles. Capitalisation -in the references section follows its own rules (see section -[2.6](#sec:refs){reference-type="ref" reference="sec:refs"}). - -Please refrain from the use of FULL CAPS (except for abbreviations). - -### Italics - -Italics are used in the following cases: - -- for technical terms and all object-language forms (letters, words, - phrases, sentences) that are cited within the text, unless they are - phonetic transcriptions or phonological representations in IPA. - -- for emphasis within the text 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. - -- for the name of the language in examples. - -In numbered examples, do not use italics to highlight particular parts -of the example; use bold instead. - -### Small caps - -Small caps are used for grammatical categories in the interlinear -glosses in examples (e.g. [fut, neg, sg, obl]{.smallcaps}, etc.). They -are also used for indicating stressed syllables or words in example -sentences. - -### Boldface and other highlighting - -Boldface can be used to draw the reader's attention to particular -aspects of a linguistic example, whether given within the text or as a -numbered example. Full caps, underlining, or italics are not normally -used for highlighting. - -### Quotation marks - -Double quotation marks are used - -- when a passage from another work is cited in the text. - -- when a technical term or other expression is mentioned that the - author does not want to adopt. - -Ellipsis in a quotation is indicated by \[...\]. - -Single quotation marks are used exclusively for linguistic meanings, -e.g. - -- Latin *habere* 'have' is not cognate with Old English *hafian* - 'have'. - -Quotes within quotes are not treated in a special way. Note that -quotations from other languages should be translated (inline if they are -short, in a footnote if they are longer). - -### Abbreviations - -When a complex term that is not widely known is referred to frequently, -it may be abbreviated (e.g. DOC for "double-object construction"). The -abbreviation should be given in the text when it is first used. -Abbreviations of uncommon expressions are not used in headings or -captions, and they should be avoided at the beginning of a chapter or -major section. - -The abbreviations used in glossed examples should all be listed in a -separate section following the conclusions. For a list of standard -abbreviations, refer to the [Leipzig glossing -rules](https://www.eva.mpg.de/lingua/resources/glossing-rules.php). - -# Submission preparation checklist - -As part of the submission process, authors are required to check off -their submission's compliance with all of the following items, and -submissions may be returned to authors that do not adhere to these -guidelines. - -1. The submission has not been previously published, nor is it being - considered for publication by another journal (or an explanation has - been provided in Comments to the Editor). - -2. Any third-party-owned materials used have been identified with - appropriate credit lines, and permission obtained from the copyright - holder for all formats of the journal. - -3. All authors have given permission to be listed on the submitted - paper and satisfy the [authorship - guidelines](http://glossa.ubiquitypress.com/about/authorship/). - -4. The original submission file is exclusively in the PDF document - format. (Accepted papers may be submitted in any of the following - formats: Latex, OpenOffice, Microsoft Word, [rtf]{.smallcaps}, or - WordPerfect.) - -5. All [doi]{.smallcaps}s for the references have been provided, when - available. - -6. Tables and figures are all cited in the text. Tables and figures are - included within the text document upon first submission, whilst for - the final version of the accepted paper, figure files are uploaded - as supplementary files. - -7. Figures/images have a resolution of at least 300dpi. Each file is no - more than 20Mb per file. The files are in one of the following - formats: [jpg, tiff, gif, png, eps]{.smallcaps} (to maximise - quality, the original source file is preferred). - -8. The author(s) agree to edit their text to adhere to the stylistic - and bibliographic requirements outlined in the [Author - Guidelines](https://www.glossa-journal.org/about/submissions#authorGuidelines), - should the paper be editorially accepted. - -9. All references to the author(s) have been removed from the paper - (following the instructions to ensure [blind peer - review](https://www.glossa-journal.org/help/view/editorial/topic/000044)). - Aside from omitting the author's name, this entails only referring - to your own work in the third person (do not use 'Author 1' or a - similar replacement for your own name), and removing your name and - any additional metadata from the document's file properties. Also - check the acknowledgments and the funding information sections for - identifying information. - -# Copyright notice - -Authors who publish with this journal agree to the following terms: - -1. Authors retain copyright and grant the journal right of first - publication with the work simultaneously licensed under a [Creative - Commons Attribution - License](http://creativecommons.org/licenses/by/3.0/) that allows - others to share the work with an acknowledgement of the work's - authorship and initial publication in this journal. (See [The Effect - of Open Access](http://opcit.eprints.org/oacitation-biblio.html).) - -2. Authors are able to enter into separate, additional contractual - arrangements for the non-exclusive distribution of the journal's - published version of the work (e.g., post it to an institutional - repository or publish it in a book), with an acknowledgement of its - initial publication in this journal. - -# Privacy statement - -The names and email addresses entered in this journal site will be used -exclusively for the stated purposes of this journal and will not be made -available for any other purpose or to any other party. The full privacy -policy can be viewed -[here](https://www.glossa-journal.org/about/privacy-policy/). - -# Publication fees - -Authors publishing in Glossa face no financial obligation for the -publication of their article. The [Open Library of -Humanities](https://www.openlibhums.org) (OLH) will take up all fees for -publishing. OLH is a charitable organisation dedicated to publishing -open access scholarship, and is funded by an international consortium of -libraries, who wish to make scholarly publishing fairer, more -accessible, and rigorously preserved for the digital future. Prospective -authors are encouraged to check if their academic library is a funder of -OLH. - -Authors who have access to funds earmarked for Article Processing -Charges (via a research grant or through their institution) are asked to -use those funds to cover the APC of their publication in Glossa. +# Anonymization -Authors without access to such funds will be asked to declare upon -submission that they have contacted their institutional representatives -to check about possible funding for this purpose, and that they have -found that no such funds are available to them. The fees required for -publication will then be paid by the OLH. +The names of all authors, affiliations, contact details, biography (optional) and the corresponding author details must be completed online as part of the submission process but should not be added to the submitted files until after editorial acceptance. Please omit information about institutions from which experimental participants were recruited or where participants were tested. Check for any other potentially identifying information. -# Conclusion -The conclusion is the last numbered section, and any ensuing sections -are unnumbered. +# Main text -# Abbreviations (mandatory) {#abbrev .unnumbered} +The body of the submission should be structured in a logical and easy to follow manner. The text must follow the instructions in Glossa Psycholinguistics' Style sheet: See the Style Sheet below. Double-spacing is not required and tables and figures should be placed in the appropriate locations in the text. -[acc]{.smallcaps} = accusative, [dat]{.smallcaps} = dative, -[dem]{.smallcaps} = demonstrative, [nom]{.smallcaps} = nominative, -[pl]{.smallcaps} = plural, [sg]{.smallcaps} = singular +## Subheading -For the standard abbreviations to be used here, refer to the [Leipzig -glossing -rules](https://www.eva.mpg.de/lingua/resources/glossing-rules.php). +You can have subheadings too! -# Data availability/Supplementary files (optional) {#data-availabilitysupplementary-files-optional .unnumbered} +# Abbreviations (optional) {.unnumbered} -The journal encourages authors to make all data associated with their -submission openly available, according to the FAIR principles (Findable, -Accessible, Interoperable, Reusable). More information can be found -[`here`](https://www.glossa-journal.org/about/editorialpolicies/#data-policy). +Use abbreviations sparingly. All acronyms should be defined the first time they are used. Remember that over-use of abbreviations and acronyms will make the paper difficult to read. Manuscripts that provide glosses should list in a key all the abbreviations that are used (e.g., NOM = nominative). -If data/supplementary files are to be associated with the accepted -paper, one of the options below should be followed: +# Data Accessibility (required) {.unnumbered} -1. upload the files to your chosen open repository and make note of the - DOI that they will provide (most suitable for datasets or - information that act as foundations to the research being published; - this option makes the files more findable and more citable). +A Data Accessibility Statement section must be added prior to the reference list that provides information on how to access the data and any supplemental files associated with the manuscript, including DOI. Please be sure that during the review process, data repositories are suitably anonymized. For information on how to do this at OSF, please see here: https://help.osf.io/article/155-create-a-view-only-link-for-a-registration. -2. upload the files to the journal system during the submission - process, as 'data files'. The journal will then host them as part of - the publication and provide them with a DOI (most suitable for - non-data files or very short pieces of information, although option - 1 is also suitable for these if the author prefers). +# Ethics and consent (required if applicable) {.unnumbered} -In both cases, a 'Data availability' or 'Supplementary files' section -must be added prior to the reference list that provides a title and very -short summary of the files for each file. If option 1 was selected, you -should also provide the DOI in this section. For example: +Research involving human subjects, human material, or human data, must have been performed in accordance with the Declaration of Helsinki. Where applicable, the studies must have been approved by an appropriate ethics committee and the authors should include a statement within the article text detailing this approval, including the name of the ethics committee and reference number of the approval. The identity of the research subject should be anonymised whenever possible. For research involving human subjects, informed consent to participate in the study must be obtained from participants (or their legal guardian). -Supplementary file 1: Appendix. Scientific data related to the -experiments. DOI: +# Acknowledgements (optional){.unnumbered} -Ideally, supplementary files are also cited in the main text. Please -note that neither of the above two options will result in the files -being typeset, so please ensure that they are in publishable format when -you upload the accepted paper. +Any acknowledgements must have a header and be placed in its own paragraph, placed after the main text but before the reference list. If the research was supported by a funding grant, then please add the grant provider and grant number in the acknowledgments. Personal acknowledgements should be included only in the final version of the paper, to avoid compromising blind peer review. Editors should not be acknowledged. -# Ethics and consent (optional) {#ethics-and-consent-optional .unnumbered} +# Competing interests (required) {.unnumbered} -Research involving human subjects, human material, or human data, must -have been performed in accordance with the Declaration of Helsinki. -Where applicable, the studies must have been approved by an appropriate -ethics committee. In the published paper, the authors should include a -statement detailing this approval, including the name of the ethics -committee and reference number of the approval. The identity of the -research subject(s) should be anonymised whenever possible. For research -involving human subjects, informed consent to participate in the study -must be obtained from participants (or their legal guardian). +If any of the authors have any competing interests then these must be declared. Guidelines for competing interests can be found here. If there are no competing interests to declare then the following statement should be present: The author(s) has/have no competing interests to declare. -# Funding information (optional) {#funding-information-optional .unnumbered} +# Authors' contributions (required) {.unnumbered} -Should the research have received a funding grant, then the grant -provider and grant number can be detailed in this section. +Please add a short paragraph detailing the roles that each author held with regards to the submission. Here is a useful guide to the CRediT system for assigning author credit. -# Acknowledgements (optional) {#acknowledgements-optional .unnumbered} +\newpage -The authors wish to thank Martin Haspelmath for providing the generic -style sheet for linguistics, and Kai von Fintel for giving permission to -use and modify the *Semantics & Pragmatics* Latex template, bibliography -style, and document class. +# References -# Competing interests (mandatory) {#competing-interests-mandatory .unnumbered} +\begingroup +\setlength{\parindent}{-0.5in} +\setlength{\leftskip}{0.5in} -If any of the authors have any competing interests then these must be -declared. Consult the [Competing -Interests](http://www.glossa-journal.org/about/competinginterests/) -section on the Glossa website for more information. If there are no -competing interests to declare then the following statement should be -present: "The author(s) has/have no competing interests to declare". +
+\endgroup -# Authors' contributions (optional) {#contrib .unnumbered} +\newpage -Here you can provide a sentence or a short paragraph detailing the -contribution of each author to the paper. +# Appendix A {.unnumbered} +If you have any appendices, they go after references. \ No newline at end of file From 2c80925c470987ec6d7052bb4a833f531a458d16 Mon Sep 17 00:00:00 2001 From: Veronica Boyce Date: Fri, 14 Apr 2023 11:22:42 -0700 Subject: [PATCH 3/4] add example fig, ref, tables, add more of stylesheet --- .../templates/glossapx/skeleton/sample.bib | 157 ++---------------- .../templates/glossapx/skeleton/skeleton.Rmd | 94 ++++++++++- 2 files changed, 103 insertions(+), 148 deletions(-) diff --git a/inst/rmarkdown/templates/glossapx/skeleton/sample.bib b/inst/rmarkdown/templates/glossapx/skeleton/sample.bib index 3849e5c05..32045f30e 100644 --- a/inst/rmarkdown/templates/glossapx/skeleton/sample.bib +++ b/inst/rmarkdown/templates/glossapx/skeleton/sample.bib @@ -9,149 +9,18 @@ -@book{chomsky:1981, - author = {Noam Chomsky}, - date-added = {2020-07-27 12:58:34 +0200}, - date-modified = {2020-07-27 12:58:45 +0200}, - publisher = {Dordrecht: Foris}, - title = {Lectures on Government and Binding}, - year = {1981}} -@article{iverson:1989, - author = {Iverson, Gregory K.}, - date-added = {2020-07-27 12:55:35 +0200}, - date-modified = {2020-07-27 12:55:35 +0200}, - journal = {Phonology}, - pages = {285-303}, - title = {On the Category Supralaryngeal}, - volume = {6}, - year = {1989}} -@incollection{mccarthy:1999, - address = {Malden, MA and Oxford}, - author = {McCarthy, John J. and Prince, Alan S.}, - booktitle = {Phonological Theory: {The} Essential Readings}, - date-added = {2020-07-27 12:55:03 +0200}, - date-modified = {2020-07-27 12:55:03 +0200}, - editor = {Goldsmith, John A.}, - pages = {238-288}, - publisher = {Blackwell}, - title = {Prosodic morphology}, - year = {1999}} - -@article{murray:1983, - author = {Murray, Robert W. and Vennemann, Theo}, - date-added = {2020-07-27 12:55:03 +0200}, - date-modified = {2020-07-27 12:55:03 +0200}, - journal = {Language}, - number = {3}, - pages = {514-528}, - title = {Sound Change and Syllable Structure in {Germanic} Phonology}, - volume = {59}, - year = {1983}} - -@book{Bobaljik2012, - address = {Cambridge, MA}, - author = {Jonathan Bobaljik}, - date-added = {2016-10-15 19:51:15 +0000}, - date-modified = {2016-10-15 19:51:15 +0000}, - publisher = {MIT Press}, - title = {Universals In Comparative Morphology}, - year = {2012}} - -@book{chomsky:1986a, - address = {Cambridge, MA}, - author = {Noam Chomsky}, - date-added = {2016-07-05 12:37:10 +0000}, - date-modified = {2019-02-27 11:21:25 +0100}, - publisher = {MIT Press}, - title = {Barriers}, - year = {1986}} - -@incollection{Li1999, - address = {Guangzhou}, - author = {Li, Rulong}, - booktitle = {Daici \textup{[Pronouns]}}, - date-added = {2015-11-29 12:04:06 +0000}, - date-modified = {2021-05-03 15:32:40 +0200}, - editor = {Li, Rulong and Chang, Song-Hing}, - pages = {263--287}, - publisher = {Jinan University Press}, - title = {Minnan fangyan de daici [{Pronouns} in Southern {Min}]}, - year = {1999}} - -@article{swart:1998, - author = {de Swart, Henri\"ette}, - date-added = {2015-11-21 20:38:48 +0000}, - date-modified = {2021-05-03 15:31:27 +0200}, - journal = {Natural Language and Linguistic Theory}, - number = {2}, - pages = {347-385}, - title = {Aspect shift and coercion}, - url = {http://www.jstor.org/stable/4047954}, - volume = {16}, - year = {1998}, - Bdsk-Url-1 = {http://www.jstor.org/stable/4047954}} - -@article{belder:2011, - author = {De Belder, Marijke}, - date-added = {2015-11-21 11:57:38 +0000}, - date-modified = {2016-03-08 10:19:10 +0000}, - doi = {10.1007/s10828-011-9045-0}, - journal = {Journal of Comparative Germanic Linguistics}, - pages = {173--202}, - title = {A morphosyntactic decomposition of countability in {G}ermanic}, - volume = {14}, - year = {2011}, - Bdsk-Url-1 = {https://doi.org/10.1007/s10828-011-9045-0}} - -@book{blevins:2004, - address = {Cambridge}, - author = {Blevins, Juliette}, - publisher = {Cambridge University Press}, - title = {Evolutionary Phonology}, - year = {2004}} - -@article{casali:1998a, - author = {Casali, Roderic}, - date-modified = {2016-12-25 14:33:53 +0000}, - journal = {Chicago Linguistic Society (CLS)}, - number = {1}, - pages = {55-68}, - title = {Predicting {ATR} Activity}, - volume = {34}, - year = {1998}} - -@book{chomsky:1986, - address = {New York}, - author = {Noam Chomsky}, - date-modified = {2016-01-22 22:17:32 +0000}, - publisher = {Praeger}, - title = {Knowledge of Language}, - year = {1986}} - -@book{coetsem:2000, - address = {Heidelberg}, - author = {van Coetsem, Frans}, - date-modified = {2016-01-22 22:14:58 +0000}, - publisher = {Winter}, - title = {A General and Unified Theory of the Transmission Process in Language Contact}, - year = {2000}} - -@unpublished{franks:2005, - author = {Franks, Steven}, - date-modified = {2016-07-05 12:52:45 +0000}, - note = {Ms. Indiana University}, - title = {Bulgarian Clitics are Positioned in the Syntax}, - year = {2005}, - Bdsk-Url-1 = {http://www.cogs.indiana.edu/people/homepages/franks/Bg_clitics_remark_dense.pdf}} - -@article{baker:1989, - author = {Baker, Mark and Johnson, Kyle and Roberts, Ian}, - date-modified = {2021-05-03 15:30:56 +0200}, - journal = {Linguistic Inquiry}, - number = {2}, - pages = {219-251}, - title = {Passive Arguments Raised}, - volume = {20}, - year = {1989}} +@article{tanenhaus1995, + title = {Integration of visual and linguistic information in spoken language comprehension}, + volume = {268}, + issn = {0036-8075, 1095-9203}, + url = {https://www.sciencemag.org/lookup/doi/10.1126/science.7777863}, + doi = {10.1126/science.7777863}, + pages = {1632--1634}, + number = {5217}, + journaltitle = {Science}, + author = {Tanenhaus, M. and Spivey-Knowlton, M. and Eberhard, K. and Sedivy, J.}, + urldate = {2020-09-15}, + date = {1995-06-16}, +} diff --git a/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd index 4518ba60e..ce1abcb0e 100644 --- a/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd +++ b/inst/rmarkdown/templates/glossapx/skeleton/skeleton.Rmd @@ -69,9 +69,95 @@ The names of all authors, affiliations, contact details, biography (optional) an The body of the submission should be structured in a logical and easy to follow manner. The text must follow the instructions in Glossa Psycholinguistics' Style sheet: See the Style Sheet below. Double-spacing is not required and tables and figures should be placed in the appropriate locations in the text. -## Subheading +# Style sheet +Here is some of the glossa style sheet. For the full information, see https://escholarship.org/uc/glossapsycholinguistics/structure_of_submission. + +## Parts of the text +The title should not contain any capitalization, apart from the first word and words that require capitals in all contexts. The title is followed by the first and last name of the author(s), their affiliation, and e-mail. First names should not include only initials. To ensure double-blind review, any information identifying the author(s) should be removed from the text as long as it is under review. + +Articles are preceded by an abstract of no more than 300 words and up to six keywords. The Abstract and Keywords should also be added to the metadata when making the initial online submission. + +Articles are subdivided into numbered sections (and possibly subsections, numbered 1.1 etc., and subsubsections, numbered 1.1.1 etc.), with a bold-faced heading in each case. The numbering always begins with 1, not 0. Section headings end with a period; subsection headings do not. Neither type of heading has any special capitalization. + +The conclusion is the last numbered section. It may be followed by several unnumbered sections: Abbreviations, Data Accessibility Statement, Ethics and consent, Acknowledgements, Competing Interests, and Authors' contributions, in this order. Of these, only the Abbreviations and Acknowledgments sections are optional. If your paper contains glossed examples, the Abbreviations section. Consult the Glossa website for more information. The last part is the list of bibliographical references (References). For the style of references, see below. + +## Numbered examples and formulae +Examples from languages other than English must be glossed (with word-by-word alignment) and translated (cf. the Leipzig Glossing Rules recommended as basic guidelines here: http://www.eva.mpg.de/lingua/resources/glossing-rules.php). Example numbers are enclosed in parentheses, and left-aligned. Example sentences usually have normal capitalization at the beginning and normal punctuation. The gloss line has no capitalization and no punctuation. + +When the example is not a complete sentence, there is no capitalization and no full stop at the end. If the name of the language is added, the source of the example, or any extra information, this information must be added on an extra first line of the example (with the name of the language in italics). Do not use italics to emphasize any language material in numbered example sentences. Instead, please use bold face to indicate emphasis on particular parts of a numbered example. + +Ungrammatical examples can be given a parenthesized idiomatic translation. A literal translation may be given in parentheses after the idiomatic translation. + +The use of any nonstandard layout in examples beyond what is illustrated above is strongly discouraged, as this will increase production time (and cost) of your paper, as well as increase the chances of the HTML version format including errors in some browsers/screen sizes. If you feel an example needs additional explanation, try as much as possible to provide this in the text that goes with the example. If nonstandard layout is essential then please raise this with the editorial team to discuss the options available. + +Formulae must be proofed carefully by the author(s). Editors will not edit formulae. If special software has been used to create formulae, the way it is laid out is the way they will appear in the publication. + +## In-text citations of language material +For numbered examples, italics are reserved only for the name of the language as in (2) above. However, any in-text reference to a form in an object language should be presented in italics, with its meaning or translation in single quotes. For example: + +The Mandarin long-distance reflexive ziji 'self' may take antecedents outside of the local clause. + +## Use of footnotes/endnotes +Use footnotes rather than endnotes (we refer to these as "Notes" in the online publication). These will appear at the bottom of each page. All notes should be used only where crucial clarifying information needs to be conveyed.^[I'm a footnote.] + +Avoid using notes for purposes of referencing, with in-text citations used instead. If in-text citations cannot be used, a source can be cited as part of a note. Please insert the footnote marker after the end punctuation.[^1] + +The footnote reference number normally follows a period or a comma, though exceptionally it may follow an individual word. Footnote numbers start with 1. Examples in footnotes have the numbers (i), (ii), etc. + + +[^1]:I'm another footnote. + +## Tables and figures + + + +You can cross reference Figures like Figure \@ref(fig:fig1) and Tables like Table \@ref(tab:tab1). + +```{r fig1, fig.cap="I'm a figure caption. Note that I am below the figure and left-aligned."} + +x <- runif(10) +y <- runif(10) + +plot(x,y) + +``` + +```{r tab1} +df <- data.frame(x=x, y=y) + +knitr::kable(df, caption="I'm a table caption. I go above the table.") + +``` + +Tables and figures are treated as floats in typesetting. This means that their placement on the page will not necessarily be where you put it in your manuscript, as this may lead to large parts of the page ending up white (e.g. when a table or figure does not fit on the current page anymore and wraps onto the following page). For this reason, you must always refer to tables and figures in the running text (e.g. “… as shown in Table 1”). Do not refer to tables and figures using the words "following', "below" or "above", as the final placement of your table or figure may be different from where you placed them in your manuscript. + +Tables and figures are numbered consecutively. Each table and each figure has a caption. The caption is placed below figures, but above tables, with only the figure or table number in bold. The caption ends in a full stop. + +All figures must be uploaded separately as supplementary files once the paper is accepted, if possible in colour and at a resolution of at least 300dpi. No file should be larger than 20MB. Standard formats accepted are: jpg, tiff, gif, png, eps. For line drawings, please provide the original vector file (e.g. .ai, or .eps). + +Tables must be created using a word processor's table function, not tabbed text. Tables should be included in the manuscript. + +Tables should not include: + +- Rotated text +- Color to denote meaning (it will not display the same on all devices) +- Images +- Diagonal lines +- Multiple parts (e.g. "Table 1a" and "Table 1b"). These should either be merged into one table, or separated into "Table 1" and "Table 2". + +If there are more columns than can fit on a single page, the table will be rotated by 90 degrees to fit on the page. Do not use tables that cannot fit onto a single page. + +Tree diagrams should be treated as examples, not as figures. If your figure or tree diagram includes text, then for the best match with the typeset text use the font Charis Sil, or Fira Sans. These fonts also support the International Phonetical Alphabet (IPA) symbols. + +## In-text citations +In-text citations should be formatted according to APA style, 7th edition. For details, see the APA Publication Manual, 7th Edition. A useful summary can be found here. + +## References +Please ensure that all in-text citations in the text have a corresponding entry in the reference list. References should be formatted according to the APA Publication Manual, 7th Edition. For more information, please consult this website. APA style (7th edition) for Zotero is available at American Psychological Association 7th edition. + +You can cite things like @tanenhaus1995. + -You can have subheadings too! # Abbreviations (optional) {.unnumbered} @@ -99,7 +185,7 @@ Please add a short paragraph detailing the roles that each author held with rega \newpage -# References +# References {.unnumbered} \begingroup \setlength{\parindent}{-0.5in} @@ -112,4 +198,4 @@ Please add a short paragraph detailing the roles that each author held with rega # Appendix A {.unnumbered} -If you have any appendices, they go after references. \ No newline at end of file +If you have any appendices, they go after references. From f701dd381f6c36c95dd929f89f52297feda564fe Mon Sep 17 00:00:00 2001 From: Veronica Boyce Date: Fri, 14 Apr 2023 11:23:03 -0700 Subject: [PATCH 4/4] going through the rticles checklist --- DESCRIPTION | 4 +++- NEWS.md | 4 ++++ R/article.R | 7 +++---- README.Rmd | 1 + man/article.Rd | 9 +++++++++ tests/testit/test-formats.R | 1 + 6 files changed, 21 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1518e4e8c..210df6802 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -79,7 +79,9 @@ Authors@R: c( person("Dmytro", "Perepolkin", , "dperepolkin@gmail.com", role = "ctb", comment = c(ORCID = "0000-0001-8558-6183", github = "dmi3kno")), person("Tom", "Palmer", , "remlapmot@hotmail.com", role = "ctb", - comment = c(ORCID = "0000-0003-4655-4511", github = "remlapmot")) + comment = c(ORCID = "0000-0003-4655-4511", github = "remlapmot")), + person("Veronica", "Boyce", , "vero.boyce@gmail.com", role="ctb", + comment=c(ORCID = "0000-0002-8890-2775", github= "vboyce")) ) Description: A suite of custom R Markdown formats and templates for authoring journal articles and conference submissions. diff --git a/NEWS.md b/NEWS.md index d655d256a..814d8e4ff 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # rticles (development version) +## NEW FEATURES + +- New `glossapx_article()` template for submissions to Glossa Psycholinguistics + ## MINOR CHANGES - Update to the `asa_article()` format (thanks, @ianmtaylor1 #506, @jepusto, #507): diff --git a/R/article.R b/R/article.R index 5ada06fc4..4b6f2e26e 100644 --- a/R/article.R +++ b/R/article.R @@ -223,10 +223,9 @@ glossa_article <- function(..., keep_tex = TRUE, latex_engine = "xelatex") { format } -#' @section `glossapx_article`: Format for creating submissions to Glossa: a -#' journal of general linguistics. Author Guidelines are available on -#' [www.glossa-journal.org](https://www.glossa-journal.org/site/author-guidelines/). -#' Template is adapted from . +#' @section `glossapx_article`: Format for creating submissions to Glossa Psycholinguistics. +#' Submission structure from +#' Template is adapted from the Glossa rticles template. #' @export #' @rdname article glossapx_article <- function(..., keep_tex = TRUE, latex_engine = "xelatex") { diff --git a/README.Rmd b/README.Rmd index ce006e4d0..51ee6a8a9 100644 --- a/README.Rmd +++ b/README.Rmd @@ -105,6 +105,7 @@ Currently included templates and their contributors are the following: | [Elsevier](https://www.elsevier.com) | [\@cboettig](https://github.com/cboettig), [\@robjhyndman](https://github.com/robjhyndman) | [#27](https://github.com/rstudio/rticles/pull/27), [#467](https://github.com/rstudio/rticles/pull/467) | `elsevier_article()` | | [Frontiers](https://www.frontiersin.org/) | [\@muschellij2](https://github.com/muschellij2) | [#211](https://github.com/rstudio/rticles/pull/211) | `frontiers_article()` | | [Glossa](https://www.glossa-journal.org) | [\@stefanocoretta](https://github.com/stefanocoretta) | [#361](https://github.com/rstudio/rticles/pull/361) | `glossa_article()` | +| [Glossa Psycholinguistics](https://escholarship.org/uc/glossapsycholinguistics) | [\@vboyce](https://github.com/vboyce) | | `glossapx_article()` | | [IEEE Transaction](http://www.ieee.org/publications_standards/publications/authors/author_templates.html) | [\@Emaasit](https://github.com/Emaasit), [\@espinielli](https://github.com/espinielli), [\@nathanweeks](https://github.com/nathanweeks), [\@DunLug](https://github.com/DunLug) | [#97](https://github.com/rstudio/rticles/pull/97), [#169](https://github.com/rstudio/rticles/pull/169), [#227](https://github.com/rstudio/rticles/pull/227), [#263](https://github.com/rstudio/rticles/pull/263), [#264](https://github.com/rstudio/rticles/pull/264), [#265](https://github.com/rstudio/rticles/pull/265) | `ieee_article()` | | [IMS: Institute of Mathematical Statistics](https://imstat.org/) [AoAS: Annals of Applied Statistics](https://imstat.org/journals-and-publications/annals-of-applied-statistics/) | [\@auzaheta](https://github.com/auzaheta) | [#372](https://github.com/rstudio/rticles/pull/372) | `ims_article()` | | [INFORMS: Institute for Operations Research and the Management Sciences](https://www.informs.org/) | [\@robjhyndman](https://github.com/robjhyndman) | [#460](https://github.com/rstudio/rticles/pull/460) | `informs_article()` | diff --git a/man/article.Rd b/man/article.Rd index faac190f2..0b7342393 100644 --- a/man/article.Rd +++ b/man/article.Rd @@ -16,6 +16,7 @@ \alias{elsevier_article} \alias{frontiers_article} \alias{glossa_article} +\alias{glossapx_article} \alias{ims_article} \alias{informs_article} \alias{iop_article} @@ -90,6 +91,8 @@ frontiers_article(..., keep_tex = TRUE) glossa_article(..., keep_tex = TRUE, latex_engine = "xelatex") +glossapx_article(..., keep_tex = TRUE, latex_engine = "xelatex") + ims_article( journal = c("aoas", "aap", "aop", "aos", "sts"), keep_tex = TRUE, @@ -265,6 +268,12 @@ journal of general linguistics. Author Guidelines are available on Template is adapted from \url{https://github.com/guidovw/Glossalatex}. } +\section{\code{glossapx_article}}{ + Format for creating submissions to Glossa Psycholinguistics. +Submission structure from \url{https://escholarship.org/uc/glossapsycholinguistics/structure_of_submission} +Template is adapted from the Glossa rticles template. +} + \section{\code{ims_article}}{ Format for creating submissions to the Institute of Mathematical Statistics \href{https://imstat.org/}{IMS} journals and publications. Adapted from diff --git a/tests/testit/test-formats.R b/tests/testit/test-formats.R index a4cdc7a65..ccb8435e5 100644 --- a/tests/testit/test-formats.R +++ b/tests/testit/test-formats.R @@ -48,6 +48,7 @@ test_format("ctex", skip = !xfun::is_linux()) # only on linux due to fonts requi test_format("elsevier", skip = !rmarkdown::pandoc_available("2.10")) test_format("frontiers") test_format("glossa") +test_format("glossapx") test_format("ieee") test_format("ims") test_format("ims", output_options = list(journal = "aap"))