diff --git a/DESCRIPTION b/DESCRIPTION index 306532cd9..7d3ef4d7f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -49,7 +49,8 @@ Authors@R: c( person("Greg", "Macfarlane", role = c("ctb"), email = "gregmacfarlane@gmail.com", comment = c(github = "gregmacfarlane")), person("Matthias", "Templ", role = c("ctb"), email = "matthias.templ@gmail.com", comment = c(ORCID = "0000-0002-8638-5276", github = "matthias-da")), person("Alvaro", "Uzaheta", role = c("ctb"), email = "alvaro.uzaheta@gess.ethz.ch", comment = c(github = "auzaheta")), - person("JooYoung", "Seo", role=c("ctb"), email="jseo1005@illinois.edu", comment = c(ORCID = "0000-0002-4064-6012")) + person("JooYoung", "Seo", role=c("ctb"), email="jseo1005@illinois.edu", comment = c(ORCID = "0000-0002-4064-6012")), + person("Robin", "Lovelace", role = c("ctb"), email = "rob00x@gmail.com", comment = c(github = "robinlovelace")) ) Description: A suite of custom R Markdown formats and templates for authoring journal articles and conference submissions. diff --git a/NAMESPACE b/NAMESPACE index 47d0643d0..451b45c5a 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -22,6 +22,7 @@ export(ieee_article) export(ims_article) export(jasa_article) export(jedm_article) +export(josis_article) export(joss_article) export(journals) export(jss_article) diff --git a/NEWS.md b/NEWS.md index 3e7fd9a04..31dfb2d0e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -6,6 +6,8 @@ - Add `trb_article()` for annual meeting submissions to the Transportation Research Board Annual Meeting (thanks, @gregmacfarlane, #427). +- New template `josis_article()` for the Journal of Spatial Information Science (thanks, @Robinlovelace, #382) + # rticles 0.21 ## NEW FEATURES diff --git a/R/article.R b/R/article.R index a1d61ee3f..654415148 100644 --- a/R/article.R +++ b/R/article.R @@ -244,6 +244,17 @@ jasa_article <- function( ) } +#' @section `josis_article`: Format for creating submissions to the +#' Journal of Spatial Information Science. Adapted from +#' \samp{https://www.overleaf.com/latex/templates/journal-of-spatial-information-science-template/bmdhbgxnhtqx}. +#' @export +#' @rdname article +josis_article <- function(..., keep_tex = TRUE, citation_package = 'default') { + pdf_document_format( + "josis", keep_tex = keep_tex, citation_package = citation_package, ... + ) +} + #' @section `lipics_article`: Format for creating submissions to #' LIPIcs - Leibniz International Proceedings Informatics - articles. #' Adapted from the official Instructions for Authors at diff --git a/README.Rmd b/README.Rmd index 2f2525d62..bdad54739 100644 --- a/README.Rmd +++ b/README.Rmd @@ -62,6 +62,7 @@ Currently included templates and their contributors are the following: | [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()`| | [JASA: Journal of the Acoustical Society of America](https://asa.scitation.org/journal/jas) | [\@stefanocoretta](https://github.com/stefanocoretta)| [\#364](https://github.com/rstudio/rticles/pull/364) | `jasa_article()` | +| [JOSIS: Journal of Spatial Information Science](http://www.josis.org/index.php/josis) | [@robinlovelace](https://github.com/robinlovelace) | [#382](https://github.com/rstudio/rticles/pull/382) | `josis_article()` | | [Journal of Educational Data Mining](https://jedm.educationaldatamining.org/index.php/JEDM/about/submissions) journal submissions | [\@jooyoungseo](https://github.com/jooyoungseo) | [#251](https://github.com/rstudio/rticles/pull/251) | `jedm_article()` | | [JOSS: Journal of Open Source Software](https://joss.theoj.org/) [JOSE: Journal of Open Source Education](https://jose.theoj.org/)| [\@noamross](https://github.com/noamross)| [\#229](https://github.com/rstudio/rticles/pull/229) | `joss_article()` | | [JSS: Journal of Statistical Software](https://www.jstatsoft.org) ||| `jss_article()`| diff --git a/README.md b/README.md index c5f94ce9e..537266d4a 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ Currently included templates and their contributors are the following: | [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()` | | [JASA: Journal of the Acoustical Society of America](https://asa.scitation.org/journal/jas) | [@stefanocoretta](https://github.com/stefanocoretta) | [#364](https://github.com/rstudio/rticles/pull/364) | `jasa_article()` | +| [JOSIS: Journal of Spatial Information Science](http://www.josis.org/index.php/josis) | [@robinlovelace](https://github.com/robinlovelace) | [#382](https://github.com/rstudio/rticles/pull/382) | `josis_article()` | | [Journal of Educational Data Mining](https://jedm.educationaldatamining.org/index.php/JEDM/about/submissions) journal submissions | [@jooyoungseo](https://github.com/jooyoungseo) | [#251](https://github.com/rstudio/rticles/pull/251) | `jedm_article()` | | [JOSS: Journal of Open Source Software](https://joss.theoj.org/) [JOSE: Journal of Open Source Education](https://jose.theoj.org/) | [@noamross](https://github.com/noamross) | [#229](https://github.com/rstudio/rticles/pull/229) | `joss_article()` | | [JSS: Journal of Statistical Software](https://www.jstatsoft.org) | | | `jss_article()` | diff --git a/Untitled/Untitled.Rmd b/Untitled/Untitled.Rmd new file mode 100644 index 000000000..da58adaf6 --- /dev/null +++ b/Untitled/Untitled.Rmd @@ -0,0 +1,180 @@ +--- +title: "Long Title for JOSIS Article" +runningtitle: "Short Title for JOSIS Article" +output: rticles::josis_article +# to use bookdown cross references +# output: +# bookdown::pdf_book: +# base_format: rticles::josis_article +author: + - name: Alice Anonymous + email: alice@example.com + affiliation: Some Institute of Technology + - name: Bob Security + email: bob@example.com + affiliation: Another University +keywords: "add, five, to, ten, comma, separated, keywords" +abstract: "Add your article abstract here, + 150-250 words." +bibliography: josisexample.bib +--- + + + + +# Introduction + +This template provides a guide to formatting articles for submission to the Journal of Spatial Information Science, JOSIS, \burl{http://josis.org}. When preparing an article for submission, please follow this template closely, referring to past JOSIS articles (open access on the JOSIS web site) for further examples. + +# RMarkdown + +The template can handle bullet points: + +- a +- b + +And tables (see Table \@ref(tab:t1)): + +```{r t1} +knitr::kable(head(mtcars), caption = "Test", booktabs = TRUE) +``` + +You can use concise citation syntax, e.g. [@champion11]. + +# Author guidelines + + + +\subsection{Manuscript preparation} +Manuscripts must be written in English in a clear, direct, and active style. All pages must be numbered sequentially. The manuscript should be submitted as a PDF file based on this \LaTeX template. + +\subsection{Title} +The title should be concise, and must not be more than 20 words. Authors should also provide a short ``running title.'' + +\subsection{Authors and institutional affiliations} +Authors are required to provide their full names and their institutional affiliations, omitting postal addresses. + +\subsection{Abstract} +The abstract should summarize the essential features of the article, and must not exceed 250 words for full papers. Abbreviations should be avoided in the abstract, and references should not be cited in the abstract. + +\subsection{Keywords} +Your submission must include between five and ten keywords for your article. Accepted manuscripts must additionally specify further index terms as appropriate. + +\subsection{Main Text} +The main text should be divided into separate sections, and may be further subdivided according to the areas to be discussed. The manuscript style must be uniform throughout the text using 11pt Palatino font. The first appearance of any abbreviations in the text should be preceded by the full term, unless it is a standard abbreviation or unit of measurement. Reference numbers should be given in square brackets in the text. Common or assimilated words from Latin or other languages should not be italicized, including per se, et al. + +\subsection{Style} + +Many examples of the journal style can be seen in existing JOSIS published articles, \url{http://josis.org}. Please pay particular attention to the following style requirements: + +\begin{itemize} +\item Spelling: Please use standard American English spelling throughout. +\item Punctuation: JOSIS uses standard American English punctuation. In +particular, please ensure: +\begin{itemize} +\item all lists items are always separated by +punctuation (e.g., ``a, b, and c'' but not ``a, b and c''); and +\item commas and periods always appear inside quotation marks (e.g., ``x, y, and z.'' but not ``x, y, and z''.). +\end{itemize} +\item Capitalization: JOSIS style is to only use capitals only for the +beginning of sentences, proper nouns, names (e.g., Norman, ArcMap) and, +where appropriate, acronyms (e.g., GIS). Please avoid capitalization of +other words (e.g., ``geographic information systems (GIS)'' but not +``Geographic Information Systems (GIS)'') and in titles, including section headings (e.g., ``Affordance-based individuation of junctions in Open Street Map" but not ``Affordance-Based Individuation of Junctions in Open Street Map''). +\end{itemize} + + +\subsection{Figures} +Figures and Tables must be numbered consecutively with a concise explanatory caption, and must be referred to in the main text with capitalized reference (e.g., ``Figure \ref{fig:1}'' or ``Table \ref{tab:1}''). Figures and Tables must appear in the text close to where they are first referred to in the main text. Figure and table captions come below the figure or table. Do not collect figures or tables together at the end of the article. Authors of accepted articles will need to supply high quality versions of all figures as separate .eps (encapsulated postscript) files. + + + + + + + +```{r fig1, fig.cap="Illustrative figure."} +plot(1:9, (1:9)^2) +``` + + +\begin{table} +\centering +\begin{tabular}{lrr} +\hline +Text column & Numerical column 1 & Numerical column 2\\ +\hline +First row& 10 & 0.003\\ +Second row& 52& 10.037\\ +Third row& 729 & 150.315\\ +...& ...& ...\\ +\hline +\end{tabular} +\caption{Example table with preferred line rules and alignment.}\label{tab:1} +\end{table} + +\subsection{Algorithms} + +Algorithms should be formatted using standard algorithm packages where possible, as in Algorithm~\ref{alg:1}. + +\begin{algorithm}[htb] +\caption{Example algorithm formatting after \cite{zhong16.IJGIS}} \label{alg:1} +\footnotesize +\begin{algorithmic} [1] % enter the algorithmic environment +\Require A finite set of two-dimensional points $P \subset \mathbb{R} \times \mathbb{R}$ and one parameter $\lambda \in \mathbb{R}$ +\State Construct the Delaunay triangulation $DT(P)$ of $P$ +\State $\Delta \gets DT(P)$ +\State Construct the list $B$ of exterior edges of $DT(P)$ +\State Sort the list $B$ in descending order of edge length +\State Initialize the $v\!-\!boundary$ function +\State Set the root ($r$) of $\mathbf{T}_{{\chi}}(P,\, \lambda)$ to be \{edge = $\emptyset$, oppositeVertex = $\emptyset$, length = $\emptyset$\} +\State Construct the list of parent nodes ($PN$) for the elements in $B$ +\State Set each element in $PN$ to be $r$ +\State $O(P,\, \lambda) \gets \emptyset$ +\While{$B$ is not empty} + \State $e = \{d_1,\, d_2\} \gets$ pop($B$) + \State $p \gets$ pop($PN$) + \State $o \gets$ opposite vertex of $e$ in $\Delta$ + \State $N \gets$ \{edge = $e$, oppositeVertex = $o$, length = $||e||$\} + \State Insert $N$ in $\mathbf{T}_{{\chi}}(P,\, \lambda)$ as a child of $p$ + \State $node(d_1) \gets N$ + \State $node(d_2) \gets N$ + \State Append $N$ to $O(P,\, \lambda)$ + \If{$||e|| > \lambda$ \textbf{and} $v\!-\!boundary(o) = false$} + \State Remove $e$ from $\Delta$ + \State $v\!-\!boundary(o) = true$ + \State Insert the arms of $e$ in $\Delta$ into $B$ in order of edge length + \State Insert $N$ into $PN$ at the corresponding position of the arms of $e$ in $B$ + \EndIf +\EndWhile +\State \textbf{Return} $\chi(P,\, \lambda)$ formed by leaves of $\mathbf{T}_{{\chi}}(P,\, \lambda)$, $DT(P)$, $\mathbf{T}_{{\chi}}(P,\, \lambda)$ and $O(P,\, \lambda)$ +\end{algorithmic} +\end{algorithm} + +\subsection{Footnotes} +Footnotes are strongly discouraged in text. Where footnotes must be used, they should be numbered consecutively. + +# References + +References must be listed in the numerical system (ACM). Citations must be numbered sequentially [in square brackets] in the main text. Full numbered references must be listed in the reference section in alphabetical order. The reference numbers must be finalized and the bibliography must be fully formatted before submission. Examples of citation styles included in the bibliography for this document include journal articles \cite{overEtAl2010,arkin}, authored books \cite{bailey}, edited books \cite{miller09.BOOK}, articles in proceedings \cite{champion11}, articles in books or collections \cite{Grosso12}, theses \cite{ruas99}, technical reports \cite{blasertr}, and web resources \cite{web}. + + +\subsection{DOIs} + +All JOSIS articles must list the DOI of all references, where a DOI exists, see +\url{http://josis.org/index.php/josis/about/submissions#authorGuidelines} for examples. Please check carefully to add the DOIs for cited references, +adding DOIs to all references that have one. DOIs may be added in the ``doi'' field of the bibtex file. + +DOIs can be found via \url{http://www.crossref.org/guestquery/} as well as many +other search engines and publisher pages (e.g., Scopus, SpringerLink). + + +\section{About JOSIS} + +The Journal of Spatial Information Science (JOSIS) is an international, interdisciplinary, open-access journal dedicated to publishing high-quality, original research articles in spatial information science. The journal aims to publish research spanning the theoretical foundations of spatial and geographical information science, through computation with geospatial information, to technologies for geographical information use. + +JOSIS encourages submissions from topics including, but not limited to spatial and spatiotemporal information systems; computational geometry, geocomputation, spatial algorithms; geovisualization, cartography, and geographical user interfaces; computing with spatiotemporal information under uncertainty; spatial cognition and qualitative spatial reasoning; spatial data models and structures; conceptual models of space and geoontology; distributed and parallel spatial computing, web-based GIS, and interoperability; context- and location-aware computing; and applications to GIS, spatial databases, location-based services, geosensor networks, and geosensor web. The journal publishes full-length original research articles, as well as survey-style review papers. In addition, the journal publishes shorter articles in three sections: reports from community activities, letters to the editors, and book reviews. + +\section*{Acknowledgments} + +Acknowledgments appear in a separate unnumbered section before the bibliography. Please acknowledge anyone (individual/company/institution) who has contributed to the study, including substantial contributions to the conception, design, acquisition of data; analysis and interpretation of data; drafting the manuscript; or provided critical comments resulting in revisions to content. For each author, please list the source(s) of any funding or financial contributions related to the study. diff --git a/Untitled/Untitled.pdf b/Untitled/Untitled.pdf new file mode 100644 index 000000000..cd9c157af Binary files /dev/null and b/Untitled/Untitled.pdf differ diff --git a/Untitled/Untitled.tex b/Untitled/Untitled.tex new file mode 100644 index 000000000..6a49fe41d --- /dev/null +++ b/Untitled/Untitled.tex @@ -0,0 +1,479 @@ +%% josis.tex 1.4 2016-09-15 JoSIS latex template +%------------------------------------------------------------------ +% Filename: josis_template.tex +% +% This file is intended as a template for typesetting articles for the +% +% Journal of Spatial Information Science. +% +% Please edit this template to generate your own formatted manuscripts +% for submission to JOSIS. See http://josis.org for further details. +% + + +%%% JOSIS checks in typesetting +%%% * All titles and sections lower case *EXCEPT short title [ ] +%%% * Remove author postal addresses, only have geographic places and institutions [ ] +%%% * Consistent use of Section, Figure, Table (capitalized and in full) [ ] +%%% * 10 keywords (and all lower case) [ ] +%%% * Remove all avoidable footnotes [ ] +%%% * Use double quotation marks (``'' not "" or `') [ ] +%%% * Punctuation inside quotations [ ] +%%% * E.g. and i.e. followed by comma [ ] +%%% * cf. followed by tilde [ ] +%%% * Itemize and enumerate correctly punctuated [e.g., "1. x, 2. y, and 3. x." ] +%%% * And/or lists using American English punctuation (e.g., "x, y, and z") [ ] +%%% * Bibliography (e.g., en-dashes for number ranges, consistent "Proc.~" for Proceedings of..., etc.) [] +%%% * Acknowledgment style use section* [ ] +%%% * et al. no italics, but with dot [ ] +%%% * All captions end with full stop [ ] +%%% * Table captions under, not over table [ ] +%%% * Adjust urls with burlalt [ ] +%%% * Check correct use of hyphens, emdashes, endashes [ ] +%%% * Perform spell check [ ] + +%%% JOSIS checks directly before publication +%%% Check DOI, page numbers on article and web site. [ ] +%%% Update web site with final title, abstract, keywords. [ ] +%%% Build with distiller for DOI links. [ ] + + +% Required documentclass definition for JOSIS +\documentclass{josis} +\usepackage{hyperref} +\usepackage[hyphenbreaks]{breakurl} +\usepackage{booktabs} +\usepackage{stmaryrd} +\usepackage[T1]{fontenc} +\usepackage{cite} + +% Suggested packages for algorithm formatting +\usepackage{algorithm} +%\usepackage{algorithmic} +\usepackage{algpseudocode} + + +\usepackage[table]{xcolor} +\usepackage{amssymb,amsmath} + +\renewcommand{\topfraction}{0.9} +\renewcommand{\textfraction}{0.1} + +% Page setup and overhangs +\sloppy +\widowpenalty=10000 +\clubpenalty=10000 +\hyphenpenalty=75 + +% For figures and more when knitting from .Rmd: +% https://stackoverflow.com/questions/41052687/ +\usepackage{color} +\usepackage{fancyvrb} +\newcommand{\VerbBar}{|} +\newcommand{\VERB}{\Verb[commandchars=\\\{\}]} +\DefineVerbatimEnvironment{Highlighting}{Verbatim}{commandchars=\\\{\}} +% Add ',fontsize=\small' for more characters per line +\usepackage{framed} +\definecolor{shadecolor}{RGB}{248,248,248} +\newenvironment{Shaded}{\begin{snugshade}}{\end{snugshade}} +\newcommand{\AlertTok}[1]{\textcolor[rgb]{0.94,0.16,0.16}{#1}} +\newcommand{\AnnotationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}} +\newcommand{\AttributeTok}[1]{\textcolor[rgb]{0.77,0.63,0.00}{#1}} +\newcommand{\BaseNTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}} +\newcommand{\BuiltInTok}[1]{#1} +\newcommand{\CharTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}} +\newcommand{\CommentTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}} +\newcommand{\CommentVarTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}} +\newcommand{\ConstantTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}} +\newcommand{\ControlFlowTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}} +\newcommand{\DataTypeTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{#1}} +\newcommand{\DecValTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}} +\newcommand{\DocumentationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}} +\newcommand{\ErrorTok}[1]{\textcolor[rgb]{0.64,0.00,0.00}{\textbf{#1}}} +\newcommand{\ExtensionTok}[1]{#1} +\newcommand{\FloatTok}[1]{\textcolor[rgb]{0.00,0.00,0.81}{#1}} +\newcommand{\FunctionTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}} +\newcommand{\ImportTok}[1]{#1} +\newcommand{\InformationTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}} +\newcommand{\KeywordTok}[1]{\textcolor[rgb]{0.13,0.29,0.53}{\textbf{#1}}} +\newcommand{\NormalTok}[1]{#1} +\newcommand{\OperatorTok}[1]{\textcolor[rgb]{0.81,0.36,0.00}{\textbf{#1}}} +\newcommand{\OtherTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{#1}} +\newcommand{\PreprocessorTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textit{#1}}} +\newcommand{\RegionMarkerTok}[1]{#1} +\newcommand{\SpecialCharTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}} +\newcommand{\SpecialStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}} +\newcommand{\StringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}} +\newcommand{\VariableTok}[1]{\textcolor[rgb]{0.00,0.00,0.00}{#1}} +\newcommand{\VerbatimStringTok}[1]{\textcolor[rgb]{0.31,0.60,0.02}{#1}} +\newcommand{\WarningTok}[1]{\textcolor[rgb]{0.56,0.35,0.01}{\textbf{\textit{#1}}}} +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +\usepackage{longtable,booktabs,array} +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newlength{\csllabelwidth} +\setlength{\csllabelwidth}{3em} +\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 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi + % set entry spacing + \ifnum #2 > 0 + \setlength{\parskip}{#2\baselineskip} + \fi + }% + {} +\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} + +% Article details for accepted manuscripts will be added by editorial staff +% Omit year if article in press +% Omit number if article under review +\josisdetails{% + number=N, year=YYYY, firstpage=xx, lastpage=yy, + doi={10.5311/JOSIS.YYYY.II.NNN}, + received={December 24, 2015}, + returned={February 25, 2016}, + revised={July 13, 2016}, + accepted={September 5, 2016}, } + +\newcommand{\mydoi}[1]{\href{http://dx.doi.org/#1}{doi:\protect\detokenize{#1}}} + +%\renewcommand{\UrlLeft}{http:\sslash} +%\DeclareUrlCommand\myurl{\def\UrlLeft{}\def\UrlRight{}% +%\urlstyle{tt}} + +\urlstyle{rm} +\makeatletter +% Inspired by http://anti.teamidiot.de/nei/2009/09/latex_url_slash_spacingkerning/ +% but slightly less kern and shorter underscore +\let\UrlSpecialsOld\UrlSpecials +\def\UrlSpecials{\UrlSpecialsOld\do\/{\Url@slash}\do\_{\Url@underscore}}% +\def\Url@slash{\@ifnextchar/{\kern-.11em\mathchar47\kern-.2em}% + {\kern-.0em\mathchar47\kern-.08em\penalty\UrlBigBreakPenalty}} +\def\Url@underscore{\nfss@text{\leavevmode \kern.06em\vbox{\hrule\@width.3em}}} +\makeatother + +\hypersetup{ +colorlinks=true, +linkcolor=black, +citecolor=black, +urlcolor=black +} + +% Add the running author and running title information +\runningauthor{\begin{minipage}{.9\textwidth}\centering , \end{minipage}} +\runningtitle{Short Title for JOSIS Article} + +% Document begins +\begin{document} +%\setcounter{page}{33} + + +% Insert your own title +\title{Long Title for JOSIS Article} + +% Insert your manuscipts authors, affiliations, and addresses + \author{Alice Anonymous}\affil{Some Institute of Technology} + \author{Bob Security}\affil{Another University} + +\maketitle + +% Add 5-10 keywords for every submission +\keywords{add, five, to, ten, comma, separated, keywords} + +% Add a short abstract of 150-250 words +\begin{abstract} +Add your article abstract here, 150-250 words. +\end{abstract} + +\hypertarget{introduction}{% +\section{Introduction}\label{introduction}} + +This template provides a guide to formatting articles for submission to +the Journal of Spatial Information Science, JOSIS, +\burl{http://josis.org}. When preparing an article for submission, +please follow this template closely, referring to past JOSIS articles +(open access on the JOSIS web site) for further examples. + +\hypertarget{rmarkdown}{% +\section{RMarkdown}\label{rmarkdown}} + +The template can handle bullet points: + +\begin{itemize} +\tightlist +\item + a +\item + b +\end{itemize} + +And tables (see Table @ref(tab:t1)): + +\begin{Shaded} +\begin{Highlighting}[] +\NormalTok{knitr}\SpecialCharTok{::}\FunctionTok{kable}\NormalTok{(}\FunctionTok{head}\NormalTok{(mtcars), }\AttributeTok{caption =} \StringTok{"Test"}\NormalTok{, }\AttributeTok{booktabs =} \ConstantTok{TRUE}\NormalTok{)} +\end{Highlighting} +\end{Shaded} + +\begin{longtable}[]{@{}lrrrrrrrrrrr@{}} +\caption{Test}\tabularnewline +\toprule +& mpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\ +\midrule +\endfirsthead +\toprule +& mpg & cyl & disp & hp & drat & wt & qsec & vs & am & gear & carb \\ +\midrule +\endhead +Mazda RX4 & 21.0 & 6 & 160 & 110 & 3.90 & 2.620 & 16.46 & 0 & 1 & 4 & +4 \\ +Mazda RX4 Wag & 21.0 & 6 & 160 & 110 & 3.90 & 2.875 & 17.02 & 0 & 1 & 4 +& 4 \\ +Datsun 710 & 22.8 & 4 & 108 & 93 & 3.85 & 2.320 & 18.61 & 1 & 1 & 4 & +1 \\ +Hornet 4 Drive & 21.4 & 6 & 258 & 110 & 3.08 & 3.215 & 19.44 & 1 & 0 & 3 +& 1 \\ +Hornet Sportabout & 18.7 & 8 & 360 & 175 & 3.15 & 3.440 & 17.02 & 0 & 0 +& 3 & 2 \\ +Valiant & 18.1 & 6 & 225 & 105 & 2.76 & 3.460 & 20.22 & 1 & 0 & 3 & 1 \\ +\bottomrule +\end{longtable} + +You can use concise citation syntax, e.g. (Champion et al. 2011). + +\hypertarget{author-guidelines}{% +\section{Author guidelines}\label{author-guidelines}} + +\subsection{Manuscript preparation} + +Manuscripts must be written in English in a clear, direct, and active +style. All pages must be numbered sequentially. The manuscript should be +submitted as a PDF file based on this \LaTeX template. + +\subsection{Title} + +The title should be concise, and must not be more than 20 words. Authors +should also provide a short ``running title.'\,' + +\subsection{Authors and institutional affiliations} + +Authors are required to provide their full names and their institutional +affiliations, omitting postal addresses. + +\subsection{Abstract} + +The abstract should summarize the essential features of the article, and +must not exceed 250 words for full papers. Abbreviations should be +avoided in the abstract, and references should not be cited in the +abstract. + +\subsection{Keywords} + +Your submission must include between five and ten keywords for your +article. Accepted manuscripts must additionally specify further index +terms as appropriate. + +\subsection{Main Text} + +The main text should be divided into separate sections, and may be +further subdivided according to the areas to be discussed. The +manuscript style must be uniform throughout the text using 11pt Palatino +font. The first appearance of any abbreviations in the text should be +preceded by the full term, unless it is a standard abbreviation or unit +of measurement. Reference numbers should be given in square brackets in +the text. Common or assimilated words from Latin or other languages +should not be italicized, including per se, et al. + +\subsection{Style} + +Many examples of the journal style can be seen in existing JOSIS +published articles, \url{http://josis.org}. Please pay particular +attention to the following style requirements: + +\begin{itemize} +\item Spelling: Please use standard American English spelling throughout. +\item Punctuation: JOSIS uses standard American English punctuation. In +particular, please ensure: +\begin{itemize} +\item all lists items are always separated by +punctuation (e.g., ``a, b, and c'' but not ``a, b and c''); and +\item commas and periods always appear inside quotation marks (e.g., ``x, y, and z.'' but not ``x, y, and z''.). +\end{itemize} +\item Capitalization: JOSIS style is to only use capitals only for the +beginning of sentences, proper nouns, names (e.g., Norman, ArcMap) and, +where appropriate, acronyms (e.g., GIS). Please avoid capitalization of +other words (e.g., ``geographic information systems (GIS)'' but not +``Geographic Information Systems (GIS)'') and in titles, including section headings (e.g., ``Affordance-based individuation of junctions in Open Street Map" but not ``Affordance-Based Individuation of Junctions in Open Street Map''). +\end{itemize} + +\subsection{Figures} + +Figures and Tables must be numbered consecutively with a concise +explanatory caption, and must be referred to in the main text with +capitalized reference (e.g., +\texttt{Figure\ \textbackslash{}ref\{fig:1\}\textquotesingle{}\textquotesingle{}\ or}Table +\ref{tab:1}'\,'). Figures and Tables must appear in the text close to +where they are first referred to in the main text. Figure and table +captions come below the figure or table. Do not collect figures or +tables together at the end of the article. Authors of accepted articles +will need to supply high quality versions of all figures as separate +.eps (encapsulated postscript) files. + +\begin{Shaded} +\begin{Highlighting}[] +\FunctionTok{plot}\NormalTok{(}\DecValTok{1}\SpecialCharTok{:}\DecValTok{9}\NormalTok{, (}\DecValTok{1}\SpecialCharTok{:}\DecValTok{9}\NormalTok{)}\SpecialCharTok{\^{}}\DecValTok{2}\NormalTok{)} +\end{Highlighting} +\end{Shaded} + +\begin{figure} +\centering +\includegraphics{Untitled_files/figure-latex/fig1-1.pdf} +\caption{Illustrative figure.} +\end{figure} + +\begin{table} +\centering +\begin{tabular}{lrr} +\hline +Text column & Numerical column 1 & Numerical column 2\\ +\hline +First row& 10 & 0.003\\ +Second row& 52& 10.037\\ +Third row& 729 & 150.315\\ +...& ...& ...\\ +\hline +\end{tabular} +\caption{Example table with preferred line rules and alignment.}\label{tab:1} +\end{table} + +\subsection{Algorithms} + +Algorithms should be formatted using standard algorithm packages where +possible, as in Algorithm\textasciitilde{}\ref{alg:1}. + +\begin{algorithm}[htb] +\caption{Example algorithm formatting after \cite{zhong16.IJGIS}} \label{alg:1} +\footnotesize +\begin{algorithmic} [1] % enter the algorithmic environment +\Require A finite set of two-dimensional points $P \subset \mathbb{R} \times \mathbb{R}$ and one parameter $\lambda \in \mathbb{R}$ +\State Construct the Delaunay triangulation $DT(P)$ of $P$ +\State $\Delta \gets DT(P)$ +\State Construct the list $B$ of exterior edges of $DT(P)$ +\State Sort the list $B$ in descending order of edge length +\State Initialize the $v\!-\!boundary$ function +\State Set the root ($r$) of $\mathbf{T}_{{\chi}}(P,\, \lambda)$ to be \{edge = $\emptyset$, oppositeVertex = $\emptyset$, length = $\emptyset$\} +\State Construct the list of parent nodes ($PN$) for the elements in $B$ +\State Set each element in $PN$ to be $r$ +\State $O(P,\, \lambda) \gets \emptyset$ +\While{$B$ is not empty} + \State $e = \{d_1,\, d_2\} \gets$ pop($B$) + \State $p \gets$ pop($PN$) + \State $o \gets$ opposite vertex of $e$ in $\Delta$ + \State $N \gets$ \{edge = $e$, oppositeVertex = $o$, length = $||e||$\} + \State Insert $N$ in $\mathbf{T}_{{\chi}}(P,\, \lambda)$ as a child of $p$ + \State $node(d_1) \gets N$ + \State $node(d_2) \gets N$ + \State Append $N$ to $O(P,\, \lambda)$ + \If{$||e|| > \lambda$ \textbf{and} $v\!-\!boundary(o) = false$} + \State Remove $e$ from $\Delta$ + \State $v\!-\!boundary(o) = true$ + \State Insert the arms of $e$ in $\Delta$ into $B$ in order of edge length + \State Insert $N$ into $PN$ at the corresponding position of the arms of $e$ in $B$ + \EndIf +\EndWhile +\State \textbf{Return} $\chi(P,\, \lambda)$ formed by leaves of $\mathbf{T}_{{\chi}}(P,\, \lambda)$, $DT(P)$, $\mathbf{T}_{{\chi}}(P,\, \lambda)$ and $O(P,\, \lambda)$ +\end{algorithmic} +\end{algorithm} + +\subsection{Footnotes} + +Footnotes are strongly discouraged in text. Where footnotes must be +used, they should be numbered consecutively. + +\hypertarget{references}{% +\section{References}\label{references}} + +References must be listed in the numerical system (ACM). Citations must +be numbered sequentially {[}in square brackets{]} in the main text. Full +numbered references must be listed in the reference section in +alphabetical order. The reference numbers must be finalized and the +bibliography must be fully formatted before submission. Examples of +citation styles included in the bibliography for this document include +journal articles \cite{overEtAl2010,arkin}, authored books +\cite{bailey}, edited books \cite{miller09.BOOK}, articles in +proceedings \cite{champion11}, articles in books or collections +\cite{Grosso12}, theses \cite{ruas99}, technical reports +\cite{blasertr}, and web resources \cite{web}. + +\subsection{DOIs} + +All JOSIS articles must list the DOI of all references, where a DOI +exists, see +\url{http://josis.org/index.php/josis/about/submissions#authorGuidelines} +for examples. Please check carefully to add the DOIs for cited +references, adding DOIs to all references that have one. DOIs may be +added in the ``doi'\,' field of the bibtex file. + +DOIs can be found via \url{http://www.crossref.org/guestquery/} as well +as many other search engines and publisher pages (e.g., Scopus, +SpringerLink). + +\section{About JOSIS} + +The Journal of Spatial Information Science (JOSIS) is an international, +interdisciplinary, open-access journal dedicated to publishing +high-quality, original research articles in spatial information science. +The journal aims to publish research spanning the theoretical +foundations of spatial and geographical information science, through +computation with geospatial information, to technologies for +geographical information use. + +JOSIS encourages submissions from topics including, but not limited to +spatial and spatiotemporal information systems; computational geometry, +geocomputation, spatial algorithms; geovisualization, cartography, and +geographical user interfaces; computing with spatiotemporal information +under uncertainty; spatial cognition and qualitative spatial reasoning; +spatial data models and structures; conceptual models of space and +geoontology; distributed and parallel spatial computing, web-based GIS, +and interoperability; context- and location-aware computing; and +applications to GIS, spatial databases, location-based services, +geosensor networks, and geosensor web. The journal publishes full-length +original research articles, as well as survey-style review papers. In +addition, the journal publishes shorter articles in three sections: +reports from community activities, letters to the editors, and book +reviews. + +\section*{Acknowledgments} + +Acknowledgments appear in a separate unnumbered section before the +bibliography. Please acknowledge anyone (individual/company/institution) +who has contributed to the study, including substantial contributions to +the conception, design, acquisition of data; analysis and interpretation +of data; drafting the manuscript; or provided critical comments +resulting in revisions to content. For each author, please list the +source(s) of any funding or financial contributions related to the +study. + +\hypertarget{refs}{} +\begin{CSLReferences}{1}{0} +\leavevmode\vadjust pre{\hypertarget{ref-champion11}{}}% +Champion, Nicolas, Didier Boldo, Marc Pierrot-Deseilligny, and Georges +Stamon. 2011. {``{2d} Change Detection from Satellite Imagery: +Performance Analysis and Impact of the Spatial Resolution of Input +Images.''} In \emph{Proc.~IEEE International Geoscience and Remote +Sensing Symposium (IGARSS)}, 1421--24. +\url{https://doi.org//mydoi\%7B10.1109/igarss.2011.6049332\%7D}. + +\end{CSLReferences} + +\bibliographystyle{josisacm} +\bibliography{josisexample.bib} + +\end{document} diff --git a/Untitled/Untitled_files/figure-latex/fig1-1.pdf b/Untitled/Untitled_files/figure-latex/fig1-1.pdf new file mode 100644 index 000000000..02254f306 Binary files /dev/null and b/Untitled/Untitled_files/figure-latex/fig1-1.pdf differ diff --git a/Untitled/josis.cls b/Untitled/josis.cls new file mode 100644 index 000000000..6c70daa00 --- /dev/null +++ b/Untitled/josis.cls @@ -0,0 +1,404 @@ +%% josis.cls 1.4 2016-09-15 JoSIS style file +%------------------------------------------------------------------ +% Filename: josis.cls +% +% This documentclass is intended for typesetting articles for the +% +% Journal of Spatial Information Science. +% +% See http://josis.org for further details. +% +% Search for ``%%% PART'' to find the main parts of this class file. +% +% The class was developed by Matt Duckham (http://www.duckham.org) +% in substantial part based on the toc (Theory of Computing) +% document class. For more information see: +% +% http://theoryofcomputing.org +% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Declare class and load external packages +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Need this version of LaTeX atleast (for ClassWarning commands) +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesClass{josis}[2009/08/12 v1.1 Journal of Spatial Information Science] + +% Type area sizes +%\DeclareOption{demy} +% {\setlength\textwidth {115mm}% +% \setlength\textheight {170mm}} +%\DeclareOption{royal} +% {\setlength\textwidth {115mm}% +% \setlength\textheight {190mm}} +%\DeclareOption{quarto} +% {\setlength\textwidth {135mm}% +% \setlength\textheight {202mm}} +%\DeclareOption{crown} +% {\setlength\textwidth {140mm}% +% \setlength\textheight {220mm}} + +% Load article class and handle options. +\ProcessOptions\relax +\LoadClass[10pt,twoside,letterpaper,onecolumn]{article} + +% Load required packages +\RequirePackage{palatino} +\RequirePackage{amsmath} +\RequirePackage{amsthm} +\RequirePackage{amssymb} +\RequirePackage{graphicx} +\RequirePackage{url} +%\RequirePackage[cross,letter,center]{crop} +\RequirePackage[letter,center]{crop} +%\RequirePackage{geometry} + +\RequirePackage{authblk} +\renewcommand{\Affilfont}{\small} + +% Load cclicenses package +% Note that this package is included in the josis/latex distribution +\RequirePackage{cclicenses} + + +\urlstyle{rm} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% IF macro +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Rather than load the whole ifthen package, we'll use the following macro. +% +% Check if the two arguments expand to the same thing +% MAGIC happens in the \edef which expands #1 and #2 completely first +% Mainly used to check equality of strings +\newcommand{\ifex}[2]{% + \edef\josis@tmpa{#1}% + \edef\josis@tmpb{#2}% + \ifx\josis@tmpa\josis@tmpb +} + + \setlength{\itemsep}{1pt} + \setlength{\parskip}{0pt} + \setlength{\parsep}{0pt} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Define the layout of the page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Set page and margin lengths + +%% Lulu: Crown Quarto Color, Perfect Bound (18.91cm x 24.589cm) +\setlength{\paperwidth}{18.91cm} % set size for latex +\setlength{\paperheight}{24.589cm} +\special{papersize=18.91cm,24.589cm} % set size for ghostscript +%\setlength{\paperwidth}{7.5in} % set size for latex +%\setlength{\paperheight}{10in} +%\special{papersize=7.5in,10in} % set size for ghostscript +%``\typearea[6mm]{1}%% 6 mm for spine + +%\setlength{\voffset}{45pt} +%\setlength{\hoffset}{-40pt} +\setlength\textwidth {140mm}% +\setlength\textheight {200mm} +%\setlength{\headheight}{24pt} +%\setlength{\headsep}{24pt} +%\setlength{\footskip}{30pt} +%\setlength{\textheight}{578.5pt} +%\setlength{\marginparwidth}{62.27pt} + +% Compute side margins to center text horizontally in page. +\newlength{\josis@hpadding} +\setlength{\josis@hpadding}{\paperwidth} +\addtolength{\josis@hpadding}{-2in} +\addtolength{\josis@hpadding}{-\textwidth} +\setlength{\evensidemargin}{.5\josis@hpadding} +\setlength{\oddsidemargin}{.5\josis@hpadding} +\addtolength{\evensidemargin}{-0.1in} +\addtolength{\oddsidemargin}{0.1in} + +% Compute top margin to center virtual header/footer textbox. +\newlength{\josis@documentheight} +\newlength{\josis@vpadding} +\setlength{\josis@documentheight}{\textheight} +\addtolength{\josis@documentheight}{\footskip} +\addtolength{\josis@documentheight}{\headsep} +\addtolength{\josis@documentheight}{\headheight} +\setlength{\josis@vpadding}{\paperheight} +\addtolength{\josis@vpadding}{-\josis@documentheight} +\addtolength{\josis@vpadding}{-2in} +\setlength{\topmargin}{.5\josis@vpadding} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Values of parameters specific to the journal +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand\josis@journalname{Journal of Spatial Information Science} +\newcommand\josis@journaladdress{www.josis.org} +\newcommand{\josis@cclicenseurl}{http://creativecommons.org/licenses/by/3.0/} + +% Initialize properties to default value +\newcommand{\josis@year}{\@empty} +\newcommand{\josis@volume}{\@empty} +\newcommand{\josis@number}{\@empty} +\newcommand{\josis@received}{\@empty} +\newcommand{\josis@accepted}{\@empty} +\newcommand{\josis@returned}{\@empty} +\newcommand{\josis@revised}{\@empty} +\newcommand{\josis@declaredfirstpage}{\@empty} +\newcommand{\josis@declaredlastpage}{\@empty} +\newcommand{\josis@doi}{\@empty} +\newcommand{\josis@url}{\@empty} + +%%% The rest of this part establises the hookds for the \josisdetails command. +\define@key{josisdet}{year}{\renewcommand{\josis@year}{#1}} +\define@key{josisdet}{volume}{\renewcommand{\josis@volume}{#1}} +\define@key{josisdet}{number}{\renewcommand{\josis@number}{#1}} +\define@key{josisdet}{doi}{\renewcommand{\josis@doi}{#1}} +\define@key{josisdet}{received}{\renewcommand{\josis@received}{#1}} +\define@key{josisdet}{accepted}{\renewcommand{\josis@accepted}{#1}} +\define@key{josisdet}{returned}{\renewcommand{\josis@returned}{#1}} +\define@key{josisdet}{revised}{\renewcommand{\josis@revised}{#1}} +\define@key{josisdet}{firstpage}{\renewcommand{\josis@declaredfirstpage}{#1}} +\define@key{josisdet}{lastpage}{\renewcommand{\josis@declaredlastpage}{#1}} +\define@key{josisdet}{doi}{\renewcommand{\josis@doi}{#1}} +\define@key{josisdet}{url}{\renewcommand{\josis@url}{#1}} + +% argument is a comma seperated list of the type "volume=6,year=8,..." +% If we have details of section we are interested in, process it +\newcommand{\josisdetails}[1]{\setkeys{josisdet}{#1}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Default values for Article META Information +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand\josis@copyrightauthor{by the author(s)} +\newcommand\josis@runningauthor{} +\newcommand\josis@runningtitle{} + +% Define parameter passing functions for author metadata. +\newcommand*{\runningauthor}[1]{% + \renewcommand\josis@runningauthor{#1}} +\newcommand*{\runningtitle}[1]{% + \renewcommand\josis@runningtitle{#1}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Title page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Keywords definition +\newcommand{\keywords}[1]{\gdef\@keywords{#1}} +\def\@keywords{\@latex@error{No \noexpand\keywords given}\@ehc} + +% Abstract environment redefined +\renewenvironment{abstract}{ + \vskip 1em\hrule\vskip 1em + \@beginparpenalty\@lowpenalty +\noindent {\bfseries Abstract:}}% + {\vskip 1em \noindent {\bfseries Keywords:} \@keywords \par\vskip 1em \hrule\par\vskip 1em\thispagestyle{titlepage}} + +% Banner layout +\newcommand{\josis@bannerjournalname}% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{sc}{\josis@journalname}} + +\newcommand{\josis@bannertexta}{\josis@bannerjournalname} + +% Comment out for papers under review +\newcommand{\josis@bannerpubdata} + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{n}\selectfont + {Number \josis@number\ (\josis@year), + pp. \josis@declaredfirstpage--\josis@declaredlastpage}} + +% Comment out for papers with publication data +%\renewcommand{\josis@bannerpubdata}% + % {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{n}\selectfont% +% {Number \josis@number\ (Article forthcoming)}}% + + +% \newcommand{\josis@bannerpubdata}{Article submitted for review} + +\newcommand\josis@bannertextb% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{it} + \selectfont{\josis@bannerpubdata}} + +\newcommand\josis@bannertextc% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm} + \selectfont{doi:\josis@doi}} + +\newlength{\josis@bannerwidth} +\setlength{\josis@bannerwidth}{\textwidth} +\newcommand{\josis@banner}{% + \begin{minipage}{\josis@bannerwidth}% + \josis@bannertexta\\ \josis@bannertextb \hfill \josis@bannertextc \\ + \end{minipage}} + +% Define the date box. If \josis@received is +% undefined, this will simply print +% the current date, as does the article class. +\newcommand\josis@reviseddatelayout{\ifex\josis@revised\@empty{}\else{revised: \josis@revised; accepted: \josis@accepted}\fi} +\newcommand\josis@datelayout% +{\fontsize{8}{10}\usefont{OT1}{ptm}{m}{sl}\selectfont% + \ifex{\josis@received}{\@empty}{\@date}% + \else% + {{Received: \josis@received; % + returned: \josis@returned; % + \josis@reviseddatelayout.}}% + \fi} + +\def\@maketitle{% + \newpage + \begin{center}% + \josis@banner% + \end{center}% + \null + \articletype + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\Huge \@title \par}% + \vskip 1.5em% + {\Large + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author %\\ \@affiliation + \end{tabular}\par}% + \vskip 0.5em% + {\josis@datelayout}% + \end{center}% + \par} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Header and footer initialization +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% This defines the footer running citation. We must produce two versions of it, the one without links is used +%% to determines spacing; the other is actually used for layout. +\newcommand\josis@runningcitation% +{\textsc{\josis@journalname}} + +\newcommand\josis@runningcitation@nolink% +{\textsc{\josis@journalname}} + +% Header layout wrapper. +\newcommand\josis@headerlayout[1] + {\fontsize{8}{10}\usefont{OT1}{ptm}{m}{sc}\selectfont{#1}} +\newcommand\josis@footerlayout[1] + {\fontsize{8}{10}\usefont{OT1}{ptm}{m}{n}\selectfont{#1}} + +% Copyright +\newcommand{\josis@crlayout}[1]{\fontsize{6}{7}\usefont{OT1}{ptm}{m}{n}\selectfont{#1}} +\newcommand{\josis@ccicon@text}[1]{\josis@crlayout{$\bigcirc$\hspace{-6.6pt}\raisebox{.5pt}{\tiny{cc}}\hspace{1.5pt}}} +\newcommand{\josis@cclogo@eps}[1]{\raisebox{-.5#1}{\includegraphics[height=#1]{josis_large}}} +\newcommand{\josis@ccicon@eps}[1]{\raisebox{-.5#1}{\includegraphics[height=#1]{josis_small}}} + +% Set up title page style. +\newcommand{\ps@titlepage}{% + \renewcommand{\@oddhead}{\hfil\josis@cclogo@eps{40pt}}% + \renewcommand{\@evenhead}{\@empty}% + \renewcommand{\@oddfoot}{\small\copyright\ \josis@copyrightauthor\hfil Licensed under Creative Commons Attribution 3.0 License \cc }% + \renewcommand{\@evenfoot}{\small\copyright\ \josis@copyrightauthor\hfil Licensed under Creative Commons Attribution 3.0 License \cc }% +} + +% Set up the 2ff. page style. +\renewcommand{\ps@headings}{% +\renewcommand{\@oddhead} + {\hfil\josis@headerlayout{\josis@runningtitle}\hfil\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm}\selectfont\thepage}% +\renewcommand{\@evenhead} + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm}\selectfont\thepage\hfil\josis@headerlayout{\josis@runningauthor}\hfil}% +\renewcommand{\@oddfoot} + {\hfil\josis@footerlayout{JOSIS, \josis@runningcitation}}% +\renewcommand{\@evenfoot} + {\josis@ccicon@eps{11pt}\ \ \ \href{http://www.josis.org}{www.josis.org}\hfil}% +} + +%% Determine actual footer height. +\newlength\josis@footerheight +\settoheight\josis@footerheight{\josis@footerlayout{\josis@runningcitation@nolink}} + +% Define the default page style to be headings. +\pagestyle{headings} +\pagenumbering{arabic} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Predefined Abbreviations +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\ie}{i.\,e.} +\newcommand{\eg}{e.\,g.} +\newcommand{\Eg}{E.\,g.} +\newcommand{\phd}{Ph.\,D.} +\newcommand{\msc}{M.\,S.} +\newcommand{\bsc}{B.\,S.} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Article types +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\articletype}{\textsc{Research Article}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Header and footer initialization +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%\renewcommand\josis@runningcitation% +%{\ifex\josis@number\@empty +% {Article submitted for review} +% \else +% {Number \josis@number\ (\josis@year), +% pp. \josis@declaredfirstpage--\josis@declaredlastpage} +% \fi +%} + +\renewcommand\josis@runningcitation% +{\ifex\josis@number\@empty + {Article submitted for review} + \else + {\ifex\josis@year\@empty + {Number \josis@number\ (Article forthcoming)} + \else {Number \josis@number\ (\josis@year), pp. \josis@declaredfirstpage--\josis@declaredlastpage} \fi } + \fi +} + +% Numbering within articles for long form articles. +%{\numberwithin{equation}{chapter}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Macros for compact list environments +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% ---------------------------------------------------- +%% Copyright (c) 1993 Hydro-Quebec [EMAIL PROTECTED] +%% ---------------------------------------------------- + +%% Bring items closer together in list environments +% Prevent infinite loops +\let\orig@Itemize =\itemize +\let\orig@Enumerate =\enumerate +\let\orig@Description =\description +% Zero the vertical spacing parameters +\def\Nospacing{\itemsep=0pt\topsep=0pt\partopsep=0pt% +\parskip=0pt\parsep=0pt} + +% Small text in tables +\renewenvironment{table}{\@float{table}[htb]\small}{\end@float} + + +\def\noitemsep{ +% Redefine the environments in terms of the original values +\renewenvironment{itemize}{\orig@Itemize\Nospacing}{\endlist} +\renewenvironment{enumerate}{\orig@Enumerate\Nospacing}{\endlist} +\renewenvironment{description}{\orig@Description\Nospacing}% +{\endlist} +} + +\def\doitemsep{ +% Redefine the environments to the original values +\renewenvironment{itemize}{\orig@Itemize}{\endlist} +\renewenvironment{enumerate}{\orig@Enumerate}{\endlist} +\renewenvironment{description}{\orig@Description}{\endlist} +} + +%%%% fin macro %%%% +\noitemsep + diff --git a/Untitled/josis_large-eps-converted-to.pdf b/Untitled/josis_large-eps-converted-to.pdf new file mode 100644 index 000000000..fab2b2c25 Binary files /dev/null and b/Untitled/josis_large-eps-converted-to.pdf differ diff --git a/Untitled/josis_large.eps b/Untitled/josis_large.eps new file mode 100644 index 000000000..0aaeb3da8 --- /dev/null +++ b/Untitled/josis_large.eps @@ -0,0 +1,322 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: 0.46 +%%Pages: 1 +%%Orientation: Portrait +%%BoundingBox: 99 509 222 631 +%%HiResBoundingBox: 99.952472 509.03734 221.27744 630.62605 +%%EndComments +%%Page: 1 1 +0 842 translate +0.8 -0.8 scale +0 0 0 setrgbcolor +[] 0 setdash +1 setlinewidth +0 setlinejoin +0 setlinecap +gsave [1 0 0 1 0 0] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +124.94059 264.4093 moveto +276.59679 264.4093 lineto +276.59679 416.06551 lineto +124.94059 416.06551 lineto +124.94059 264.4093 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +124.94059 264.07962 moveto +276.59679 264.07962 lineto +276.59679 339.90772 lineto +124.94059 339.90772 lineto +124.94059 264.07962 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +150.62807 339.18661 moveto +150.62807 340.74911 lineto +150.40932 340.96786 lineto +148.95097 341.00957 147.83117 341.07207 147.04994 341.15536 curveto +146.26868 341.23874 145.70097 341.39499 145.34682 341.62411 curveto +144.99264 341.85332 144.75826 342.38978 144.64369 343.23349 curveto +144.52909 344.07728 144.4718 345.24915 144.47182 346.74911 curveto +144.40932 353.93661 lineto +144.40932 376.37411 lineto +144.4093 379.66579 144.11764 382.35849 143.53432 384.45224 curveto +142.95097 386.54599 141.93014 388.48348 140.47182 390.26474 curveto +139.01348 392.04598 137.50827 393.3689 135.95619 394.23349 curveto +134.40411 395.09806 132.86765 395.53035 131.34682 395.53036 curveto +130.90932 395.53035 130.47182 395.47827 130.03432 395.37411 curveto +130.07598 394.54077 130.10723 393.70744 130.12807 392.87411 curveto +130.12807 392.35327 130.09682 391.58244 130.03432 390.56161 curveto +130.62807 390.15536 lineto +131.69057 390.94702 132.80515 391.34286 133.97182 391.34286 curveto +134.99265 391.34286 135.83119 391.15015 136.48744 390.76474 curveto +137.14369 390.37932 137.60723 389.85848 137.87807 389.20224 curveto +138.14889 388.54598 138.31556 387.34286 138.37807 385.59286 curveto +138.44056 383.84286 138.47181 382.34287 138.47182 381.09286 curveto +138.47182 353.93661 lineto +138.40932 347.84286 lineto +138.38848 345.4679 138.32598 343.93665 138.22182 343.24911 curveto +138.11764 342.56166 137.9666 342.10332 137.76869 341.87411 curveto +137.57077 341.64499 137.19577 341.45749 136.64369 341.31161 curveto +136.0916 341.16582 134.70098 341.05124 132.47182 340.96786 curveto +132.25307 340.74911 lineto +132.25307 339.18661 lineto +132.47182 338.96786 lineto +137.74264 339.13458 140.73222 339.21791 141.44057 339.21786 curveto +142.16972 339.21791 145.1593 339.13458 150.40932 338.96786 curveto +150.62807 339.18661 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +186.62807 372.37411 moveto +186.87807 372.12411 lineto +188.40932 372.12411 lineto +188.65932 372.37411 lineto +188.76348 375.04079 188.9041 376.671 189.08119 377.26474 curveto +189.25827 377.8585 189.82077 378.48349 190.76869 379.13974 curveto +191.7166 379.79599 192.97702 380.33245 194.54994 380.74911 curveto +196.12285 381.16578 197.71139 381.37412 199.31557 381.37411 curveto +201.52388 381.37412 203.50826 380.96787 205.26869 380.15536 curveto +207.02909 379.34287 208.39888 378.15016 209.37807 376.57724 curveto +210.35721 375.00433 210.84679 373.23871 210.84682 371.28036 curveto +210.84679 369.90538 210.61242 368.70746 210.14369 367.68661 curveto +209.67492 366.6658 209.01867 365.84809 208.17494 365.23349 curveto +207.33117 364.61893 206.36763 364.16059 205.28432 363.85849 curveto +204.20096 363.55643 202.58638 363.2283 200.44057 362.87411 curveto +198.35722 362.5408 196.72701 362.23872 195.54994 361.96786 curveto +194.37285 361.69705 193.20097 361.28039 192.03432 360.71786 curveto +190.86764 360.15539 189.89369 359.44185 189.11244 358.57724 curveto +188.33119 357.71268 187.70619 356.65018 187.23744 355.38974 curveto +186.76869 354.12935 186.53431 352.7804 186.53432 351.34286 curveto +186.53431 347.44707 187.88848 344.25436 190.59682 341.76474 curveto +193.30514 339.2752 196.94055 338.03041 201.50307 338.03036 curveto +203.31555 338.03041 205.2895 338.25437 207.42494 338.70224 curveto +209.56033 339.1502 211.50304 339.81166 213.25307 340.68661 curveto +213.47182 341.06161 lineto +213.01345 342.97832 212.73221 345.70749 212.62807 349.24911 curveto +212.34682 349.49911 lineto +210.72182 349.49911 lineto +210.47182 349.28036 lineto +210.43012 346.7804 210.36762 345.20749 210.28432 344.56161 curveto +210.20096 343.91582 209.25304 343.11374 207.44057 342.15536 curveto +205.62805 341.19707 203.6593 340.71791 201.53432 340.71786 curveto +199.76347 340.71791 198.10722 341.07207 196.56557 341.78036 curveto +195.02389 342.48874 193.85722 343.60332 193.06557 345.12411 curveto +192.27389 346.64498 191.87806 348.19707 191.87807 349.78036 curveto +191.87806 351.00956 192.11764 352.0981 192.59682 353.04599 curveto +193.07597 353.99394 193.69577 354.74394 194.45619 355.29599 curveto +195.2166 355.8481 196.10201 356.25956 197.11244 356.53036 curveto +198.12284 356.80122 199.9718 357.13456 202.65932 357.53036 curveto +206.34679 358.05122 209.02908 358.68143 210.70619 359.42099 curveto +212.38325 360.1606 213.727 361.33247 214.73744 362.93661 curveto +215.74783 364.5408 216.25303 366.4783 216.25307 368.74911 curveto +216.25303 373.18662 214.44575 376.88454 210.83119 379.84286 curveto +207.21659 382.8012 202.83638 384.28036 197.69057 384.28036 curveto +193.37806 384.28036 189.59681 383.50953 186.34682 381.96786 curveto +186.15932 381.56161 lineto +186.36765 380.24912 186.5239 377.18662 186.62807 372.37411 curveto +186.62807 372.37411 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +219.62807 338.96786 moveto +223.53432 339.09286 lineto +226.09681 339.17624 227.77389 339.21791 228.56557 339.21786 curveto +229.27389 339.21791 232.26347 339.13458 237.53432 338.96786 curveto +237.78432 339.18661 lineto +237.78432 340.74911 lineto +237.53432 340.96786 lineto +236.0968 341.00957 234.98742 341.07207 234.20619 341.15536 curveto +233.42493 341.23874 232.85722 341.39499 232.50307 341.62411 curveto +232.14889 341.85332 231.91451 342.38978 231.79994 343.23349 curveto +231.68534 344.07728 231.62805 345.24915 231.62807 346.74911 curveto +231.56557 353.93661 lineto +231.56557 368.40536 lineto +231.59682 374.49911 lineto +231.61764 376.85329 231.68014 378.37412 231.78432 379.06161 curveto +231.88847 379.74912 232.03951 380.20745 232.23744 380.43661 curveto +232.43534 380.66578 232.81555 380.85849 233.37807 381.01474 curveto +233.94055 381.17099 235.32597 381.29078 237.53432 381.37411 curveto +237.78432 381.56161 lineto +237.78432 383.12411 lineto +237.53432 383.37411 lineto +237.43013 383.37411 235.5968 383.31161 232.03432 383.18661 curveto +230.55514 383.14495 229.39889 383.12411 228.56557 383.12411 curveto +227.91972 383.12411 224.94056 383.20745 219.62807 383.37411 curveto +219.37807 383.12411 lineto +219.37807 381.56161 lineto +219.62807 381.37411 lineto +221.56556 381.29078 222.85723 381.18662 223.50307 381.06161 curveto +224.14889 380.93662 224.58119 380.77516 224.79994 380.57724 curveto +225.01868 380.37933 225.19577 379.95745 225.33119 379.31161 curveto +225.4666 378.66579 225.54473 377.22829 225.56557 374.99911 curveto +225.59682 368.40536 lineto +225.59682 353.93661 lineto +225.53432 347.84286 lineto +225.51348 345.4679 225.45618 343.93665 225.36244 343.24911 curveto +225.26868 342.56166 225.12285 342.10332 224.92494 341.87411 curveto +224.72702 341.64499 224.34681 341.45749 223.78432 341.31161 curveto +223.22181 341.16582 221.8364 341.05124 219.62807 340.96786 curveto +219.37807 340.74911 lineto +219.37807 339.18661 lineto +219.62807 338.96786 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +241.87807 372.37411 moveto +242.12807 372.12411 lineto +243.65932 372.12411 lineto +243.90932 372.37411 lineto +244.01348 375.04079 244.1541 376.671 244.33119 377.26474 curveto +244.50827 377.8585 245.07077 378.48349 246.01869 379.13974 curveto +246.9666 379.79599 248.22702 380.33245 249.79994 380.74911 curveto +251.37285 381.16578 252.96139 381.37412 254.56557 381.37411 curveto +256.77388 381.37412 258.75826 380.96787 260.51869 380.15536 curveto +262.27909 379.34287 263.64888 378.15016 264.62807 376.57724 curveto +265.60721 375.00433 266.09679 373.23871 266.09682 371.28036 curveto +266.09679 369.90538 265.86242 368.70746 265.39369 367.68661 curveto +264.92492 366.6658 264.26867 365.84809 263.42494 365.23349 curveto +262.58117 364.61893 261.61763 364.16059 260.53432 363.85849 curveto +259.45096 363.55643 257.83638 363.2283 255.69057 362.87411 curveto +253.60722 362.5408 251.97701 362.23872 250.79994 361.96786 curveto +249.62285 361.69705 248.45097 361.28039 247.28432 360.71786 curveto +246.11764 360.15539 245.14369 359.44185 244.36244 358.57724 curveto +243.58119 357.71268 242.95619 356.65018 242.48744 355.38974 curveto +242.01869 354.12935 241.78431 352.7804 241.78432 351.34286 curveto +241.78431 347.44707 243.13848 344.25436 245.84682 341.76474 curveto +248.55514 339.2752 252.19055 338.03041 256.75307 338.03036 curveto +258.56555 338.03041 260.5395 338.25437 262.67494 338.70224 curveto +264.81033 339.1502 266.75304 339.81166 268.50307 340.68661 curveto +268.72182 341.06161 lineto +268.26345 342.97832 267.98221 345.70749 267.87807 349.24911 curveto +267.59682 349.49911 lineto +265.97182 349.49911 lineto +265.72182 349.28036 lineto +265.68012 346.7804 265.61762 345.20749 265.53432 344.56161 curveto +265.45096 343.91582 264.50304 343.11374 262.69057 342.15536 curveto +260.87805 341.19707 258.9093 340.71791 256.78432 340.71786 curveto +255.01347 340.71791 253.35722 341.07207 251.81557 341.78036 curveto +250.27389 342.48874 249.10722 343.60332 248.31557 345.12411 curveto +247.52389 346.64498 247.12806 348.19707 247.12807 349.78036 curveto +247.12806 351.00956 247.36764 352.0981 247.84682 353.04599 curveto +248.32597 353.99394 248.94577 354.74394 249.70619 355.29599 curveto +250.4666 355.8481 251.35201 356.25956 252.36244 356.53036 curveto +253.37284 356.80122 255.2218 357.13456 257.90932 357.53036 curveto +261.59679 358.05122 264.27908 358.68143 265.95619 359.42099 curveto +267.63325 360.1606 268.977 361.33247 269.98744 362.93661 curveto +270.99783 364.5408 271.50303 366.4783 271.50307 368.74911 curveto +271.50303 373.18662 269.69575 376.88454 266.08119 379.84286 curveto +262.46659 382.8012 258.08638 384.28036 252.94057 384.28036 curveto +248.62806 384.28036 244.84681 383.50953 241.59682 381.96786 curveto +241.40932 381.56161 lineto +241.61765 380.24912 241.7739 377.18662 241.87807 372.37411 curveto +241.87807 372.37411 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +152.2039 355.3692 moveto +152.2039 352.89005 152.71432 350.49943 153.73515 348.19733 curveto +154.75598 345.89527 156.53202 343.90569 159.06328 342.22858 curveto +161.59452 340.55152 164.59972 339.71298 168.0789 339.71295 curveto +172.45388 339.71298 176.01638 341.09319 178.7664 343.85358 curveto +181.51637 346.61402 182.89137 350.16089 182.8914 354.4942 curveto +182.89137 359.26505 181.31325 363.19212 178.15703 366.27545 curveto +175.00075 369.35879 171.19347 370.90045 166.73515 370.90045 curveto +163.81847 370.90045 161.21431 370.11399 158.92265 368.54108 curveto +156.63098 366.96816 154.93827 365.04629 153.84453 362.77545 curveto +152.75078 360.50463 152.2039 358.03588 152.2039 355.3692 curveto +152.2039 355.3692 lineto +closepath +158.11015 353.21295 moveto +158.11015 356.12963 158.48514 358.739 159.23515 361.04108 curveto +159.98514 363.34317 161.17264 365.19212 162.79765 366.58795 curveto +164.42264 367.98379 166.2768 368.6817 168.36015 368.6817 curveto +170.81847 368.6817 172.84971 367.70775 174.4539 365.75983 curveto +176.05804 363.81192 176.86013 360.87963 176.86015 356.96295 curveto +176.86013 352.52547 175.99034 348.89006 174.25078 346.0567 curveto +172.51117 343.22339 170.00597 341.80673 166.73515 341.8067 curveto +164.02681 341.80673 161.91222 342.7859 160.3914 344.7442 curveto +158.87056 346.70256 158.11015 349.52547 158.11015 353.21295 curveto +158.11015 353.21295 lineto +closepath +fill +grestore +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +152.2039 324.216 moveto +152.2039 321.73685 152.71432 319.34623 153.73515 317.04413 curveto +154.75598 314.74207 156.53202 312.75249 159.06328 311.07538 curveto +161.59452 309.39832 164.59972 308.55978 168.0789 308.55975 curveto +172.45388 308.55978 176.01638 309.93999 178.7664 312.70038 curveto +181.51637 315.46082 182.89137 319.00769 182.8914 323.341 curveto +182.89137 328.11185 181.31325 332.03893 178.15703 335.12225 curveto +175.00075 338.20559 171.19347 339.74725 166.73515 339.74725 curveto +163.81847 339.74725 161.21431 338.96079 158.92265 337.38788 curveto +156.63098 335.81496 154.93827 333.89309 153.84453 331.62225 curveto +152.75078 329.35143 152.2039 326.88268 152.2039 324.216 curveto +152.2039 324.216 lineto +closepath +158.11015 322.05975 moveto +158.11015 324.97643 158.48514 327.58581 159.23515 329.88788 curveto +159.98514 332.18997 161.17264 334.03892 162.79765 335.43475 curveto +164.42264 336.83059 166.2768 337.5285 168.36015 337.5285 curveto +170.81847 337.5285 172.84971 336.55455 174.4539 334.60663 curveto +176.05804 332.65872 176.86013 329.72643 176.86015 325.80975 curveto +176.86013 321.37227 175.99034 317.73686 174.25078 314.9035 curveto +172.51117 312.0702 170.00597 310.65353 166.73515 310.6535 curveto +164.02681 310.65353 161.91222 311.6327 160.3914 313.591 curveto +158.87056 315.54936 158.11015 318.37227 158.11015 322.05975 curveto +158.11015 322.05975 lineto +closepath +fill +grestore +gsave [1 0 0 1 -138.03718 -0.6404139] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +gsave [1 0 0 1 -138.5377 31.415564] concat +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +grestore +showpage +%%EOF diff --git a/Untitled/josis_small-eps-converted-to.pdf b/Untitled/josis_small-eps-converted-to.pdf new file mode 100644 index 000000000..f3b08eb7c Binary files /dev/null and b/Untitled/josis_small-eps-converted-to.pdf differ diff --git a/Untitled/josis_small.eps b/Untitled/josis_small.eps new file mode 100644 index 000000000..4bbac524d --- /dev/null +++ b/Untitled/josis_small.eps @@ -0,0 +1,127 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: 0.46 +%%Pages: 1 +%%Orientation: Portrait +%%BoundingBox: 235 508 357 631 +%%HiResBoundingBox: 235.57607 508.52665 356.90104 630.11536 +%%EndComments +%%Page: 1 1 +0 842 translate +0.8 -0.8 scale +0 0 0 setrgbcolor +[] 0 setdash +1 setlinewidth +0 setlinejoin +0 setlinecap +gsave [1 0 0 1 0 0] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +294.47009 265.04767 moveto +446.1263 265.04767 lineto +446.1263 416.70387 lineto +294.47009 416.70387 lineto +294.47009 265.04767 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +294.47009 264.71799 moveto +446.1263 264.71799 lineto +446.1263 340.54609 lineto +294.47009 340.54609 lineto +294.47009 264.71799 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +321.7334 356.00757 moveto +321.7334 353.52842 322.24381 351.1378 323.26465 348.83569 curveto +324.28548 346.53363 326.06152 344.54405 328.59277 342.86694 curveto +331.12401 341.18989 334.12922 340.35135 337.6084 340.35132 curveto +341.98338 340.35135 345.54587 341.73156 348.2959 344.49194 curveto +351.04587 347.25238 352.42087 350.79925 352.4209 355.13257 curveto +352.42087 359.90341 350.84274 363.83049 347.68652 366.91382 curveto +344.53025 369.99715 340.72296 371.53882 336.26465 371.53882 curveto +333.34797 371.53882 330.7438 370.75236 328.45215 369.17944 curveto +326.16048 367.60653 324.46777 365.68466 323.37402 363.41382 curveto +322.28027 361.14299 321.7334 358.67425 321.7334 356.00757 curveto +321.7334 356.00757 lineto +closepath +327.63965 353.85132 moveto +327.63964 356.768 328.01464 359.37737 328.76465 361.67944 curveto +329.51464 363.98153 330.70214 365.83049 332.32715 367.22632 curveto +333.95213 368.62215 335.8063 369.32007 337.88965 369.32007 curveto +340.34796 369.32007 342.37921 368.34611 343.9834 366.39819 curveto +345.58754 364.45028 346.38962 361.51799 346.38965 357.60132 curveto +346.38962 353.16384 345.51983 349.52842 343.78027 346.69507 curveto +342.04067 343.86176 339.53546 342.4451 336.26465 342.44507 curveto +333.5563 342.4451 331.44172 343.42426 329.9209 345.38257 curveto +328.40006 347.34092 327.63964 350.16384 327.63965 353.85132 curveto +327.63965 353.85132 lineto +closepath +fill +grestore +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +321.7334 324.85437 moveto +321.7334 322.37522 322.24381 319.9846 323.26465 317.6825 curveto +324.28548 315.38044 326.06152 313.39085 328.59277 311.71375 curveto +331.12401 310.03669 334.12922 309.19815 337.6084 309.19812 curveto +341.98338 309.19815 345.54587 310.57836 348.2959 313.33875 curveto +351.04587 316.09918 352.42087 319.64606 352.4209 323.97937 curveto +352.42087 328.75021 350.84274 332.67729 347.68652 335.76062 curveto +344.53025 338.84395 340.72296 340.38562 336.26465 340.38562 curveto +333.34797 340.38562 330.7438 339.59916 328.45215 338.02625 curveto +326.16048 336.45333 324.46777 334.53146 323.37402 332.26062 curveto +322.28027 329.9898 321.7334 327.52105 321.7334 324.85437 curveto +321.7334 324.85437 lineto +closepath +327.63965 322.69812 moveto +327.63964 325.6148 328.01464 328.22417 328.76465 330.52625 curveto +329.51464 332.82833 330.70214 334.67729 332.32715 336.07312 curveto +333.95213 337.46896 335.8063 338.16687 337.88965 338.16687 curveto +340.34796 338.16687 342.37921 337.19291 343.9834 335.245 curveto +345.58754 333.29708 346.38962 330.3648 346.38965 326.44812 curveto +346.38962 322.01064 345.51983 318.37522 343.78027 315.54187 curveto +342.04067 312.70856 339.53546 311.2919 336.26465 311.29187 curveto +333.5563 311.2919 331.44172 312.27106 329.9209 314.22937 curveto +328.40006 316.18773 327.63964 319.01064 327.63965 322.69812 curveto +327.63965 322.69812 lineto +closepath +fill +grestore +gsave [1 0 0 1 31.4923 -0.00204] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +gsave [1 0 0 1 31.339855 31.639374] concat +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +grestore +showpage +%%EOF diff --git a/Untitled/josisacm.bst b/Untitled/josisacm.bst new file mode 100644 index 000000000..6d556a762 --- /dev/null +++ b/Untitled/josisacm.bst @@ -0,0 +1,1165 @@ +% Copyright (C) 1986, 1988, 2010 Howard Trickey and Oren Patashnik. +% Unlimited copying and redistribution of this file are permitted as long as +% it is unmodified. Modifications (and redistribution of modified versions) +% are also permitted, but only if the resulting file is renamed. +% +% ACM Transactions bibliography style (8-Dec-10 version) +% A lot like abbrv.bst, but names come out "Last, initials", and in \sc. +% Some dates are parenthesized. +% +% History +% 2/ 6/86 (HWT) Original version, by Howard Trickey. +% 3/ 5/86 (HWT) Put in pp. everywhere but articles, as per ACM style. +% 1/24/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik; +% corrected the abbreviations to "Mar." and "Sept."; +% THIS `acm' VERSION DOES NOT WORK WITH BIBTEX 0.98i. +% 12/ 8/10 (OP&HWT) Clarify license. + +ENTRY + { address + author + booktitle + chapter + doi + edition + editor + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "}" * } + if$ +} + +FUNCTION {emphasizeic} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "\/}" * } + if$ +} + +FUNCTION {scapify} +{ duplicate$ empty$ + { pop$ "" } + { "{\sc " swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { t "others" = + { ", et~al." * } + { ", and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +% For names inside entries (e.g., editors of an "In ..."); +% this is exactly ABBRV.BST's `format.names' function. +FUNCTION {format.innames} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { numnames #2 > + { "," * } + 'skip$ + if$ + t "others" = + { " et~al." * } + { " and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names scapify } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names scapify + editor num.names$ #1 > + { ", Eds." * } + { ", Ed." * } + if$ + } + if$ +} + +FUNCTION {format.ineditors} +{ editor empty$ + { "" } + { editor format.innames + editor num.names$ #1 > + { ", Eds." * } + { ", Ed." * } + if$ + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title "t" change.case$ } + if$ +} + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { "vol.~" volume * + series empty$ + 'skip$ + { " of " * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "no.~" } + { "No.~" } + if$ + number * + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " in " * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { edition "l" change.case$ "~ed." * } + { edition "t" change.case$ "~ed." * } + if$ + } + if$ +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages n.dashify } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pp.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "pp.~" pages n.dashify * } + { "p.~" pages * } + if$ + } + if$ +} + +FUNCTION {format.journal.vol.num.date} +{ journal empty$ + { "empty journal in " cite$ * warning$ + "" + } + { journal + volume empty$ + 'skip$ + { " " * volume * } + if$ + number empty$ + 'emphasizeic + { emphasize ", " * number * } + if$ + year empty$ + { "empty year in " cite$ * warning$ } + { " (" * format.date * ")" * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pp.pages + { type empty$ + { "ch.~" chapter * } + { type "l" change.case$ chapter tie.or.space.connect } + if$ + pages empty$ + 'skip$ + { ", " * format.pp.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { "In " booktitle emphasize * + editor empty$ + 'skip$ + { ", " * format.ineditors * } + if$ + } + if$ +} + +% The proceedings title (it's on the stack) gets an (address, date) appended +FUNCTION {format.proc.date} +{ duplicate$ empty$ + { pop$ "" } + { year empty$ + { "empty year in " cite$ * warning$ + address empty$ + 'emphasize + { emphasizeic + " (" * address * ")" * + } + if$ + } + { emphasizeic + " (" * + address empty$ + 'skip$ + { address * ", " * } + if$ + format.date * + ")" * + } + if$ + } + if$ +} + +FUNCTION {format.in.proc.date} +{ booktitle empty$ + { "" } + { "In " booktitle format.proc.date * } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { "Tech. Rep." } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "In {\em " journal * "\/}" * } + if$ + } + { "In " key * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ " et~al." * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " et~al." * } + { " and " * editor #2 "{vv~}{ll}" format.name$ * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "In " + } + { "Vol.~" volume * + " of " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { "{\em " * series * "\/}" * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "In {\em " booktitle * "\/}" * } + if$ + } + { "In " key * } + if$ + } + { "In " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.journal.vol.num.date output + format.pages output + } + { format.article.crossref output.nonnull + format.pp.pages output + } + if$ + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + format.edition output + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + new.block + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + format.edition output + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.date "year" output.check + format.chapter.pages "chapter and pages" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.edition output + format.bvolume output + format.number.series output + new.sentence + publisher "publisher" output.check + address output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull } + if$ + format.chapter.pages output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.proc.date "booktitle" output.check + format.ineditors output + format.bvolume output + format.number.series output + organization output + publisher output + } + { format.incoll.inproc.crossref output.nonnull } + if$ + format.pp.pages output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization scapify output } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + format.edition output + author empty$ + { address new.block.checka } + { organization address new.block.checkb + organization output + } + if$ + address output + format.date output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + "Master's thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkb + format.title output + howpublished new.block.checka + howpublished output + format.date output + new.block + doi output + new.block + note output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.btitle "title" output.check + new.block + "PhD thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization scapify output } + { format.editors output.nonnull } + if$ + new.block + title format.proc.date "title" output.check + format.bvolume output + format.number.series output + editor empty$ + 'skip$ + { organization output } + if$ + publisher output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"June"} + +MACRO {jul} {"July"} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sept."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Softw. Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput.-Aided Design Integrated Circuits"} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Programming"} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Gr."} + +MACRO {toms} {"ACM Trans. Math. Softw."} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Program. Lang. Syst."} + +MACRO {tcs} {"Theoretical Comput. Sci."} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} diff --git a/Untitled/josisexample.bib b/Untitled/josisexample.bib new file mode 100644 index 000000000..01a71bc2e --- /dev/null +++ b/Untitled/josisexample.bib @@ -0,0 +1,94 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% http://bibdesk.sourceforge.net/ + +@article{huck15.JOSIS, + Author = {Huck, J.J. and Whyatt, J.D. and Coulton, P.}, + Doi = {\mydoi{10.5311/JOSIS.2015.10.211}}, + Journal = {Journal of Spatial Information Science}, + Number = {10}, + Pages = {47--66}, + Title = {Visualizing patterns in spatially ambiguous point data}, + Year = {2015}} + +@article{zhong16.IJGIS, + Author = {Xu Zhong and Matt Duckham}, + Doi = {\mydoi{10.1080/13658816.2016.1216995}}, + Journal = {International Journal of Geographical Information Science}, + Title = {An efficient incremental algorithm for generating the characteristic shape of a dynamic set of points in the plane}, + Volume = {In press}, + Year = {2016}} + + @article{overEtAl2010, + Author = {Over, M. and Schilling, A. and Neubauer, S. and Zipf, A.}, + Doi = {\mydoi{10.1016/j.compenvurbsys.2010.05.001}}, + Journal = {Computers, Environment and Urban Systems}, + Number = {6}, + Pages = {496--507}, + Title = {Generating web-based {3D} City Models from {OpenStreetMap}: The current situation in {Germany}}, + Volume = {34}, + Year = {2010}} + +@article{arkin, + Author = {Arkin, E.M. and Chew, L.P. and Huttenlocher, D.P. and Kedem, K. and Mitchell, J.S.B.}, + Doi = {\mydoi{10.1109/34.75509}}, + Journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence}, + Number = {3}, + Pages = {209--216}, + Title = {An efficiently computable metric for comparing polygonal shapes}, + Volume = {13}, + Year = {1991}} + +@book{bailey, + Author = {Bailey, Trevor C and Gatrell, Anthony C}, + Doi = {\mydoi{10.2307/2265559}}, + Publisher = {Longman Scientific \& Technical}, + Title = {Interactive spatial data analysis}, + Address = {Essex, UK}, + Year = {1995}} + +@book{miller09.BOOK, + Address = {Boca Raton, FL}, + Editor = {Miller, H. J. and Han, J.}, + Publisher = {CRC Press}, + Title = {Geographic data mining and knowledge discovery}, + Year = {2009}} + +@inproceedings{champion11, + Author = {Champion, Nicolas and Boldo, Didier and Pierrot-Deseilligny, Marc and Stamon, Georges}, + Booktitle = {Proc.~IEEE International Geoscience and Remote Sensing Symposium (IGARSS)}, + Doi = {\mydoi{10.1109/igarss.2011.6049332}}, + Pages = {1421--1424}, + Title = {{2D} change detection from satellite imagery: Performance analysis and impact of the spatial resolution of input images}, + Year = {2011}} + +@phdthesis{ruas99, + Author = {Ruas, Anne}, + Keywords = {gen-model}, + School = {Universit\'{e} de Marne-la-Vall\'{e}e}, + Title = {Mod\`{e}le de g\'{e}n\'{e}ralisation de donn\'{e}es g\'{e}ographiques \`{a} base de contraintes et d'autonomie}, + Year = {1999}} + +@incollection{Grosso12, + Author = {Grosso, Eric and Perret, Julien and Brasebin, Micka\"{e}l}, + Booktitle = {Innovative Software Development in {GIS}}, + Chapter = {3}, + Editor = {Bucher, B\'{e}n\'{e}dicte and Le Ber, Florence}, + Pages = {67--90}, + Publisher = {John Wiley \& Sons}, + Title = {{GEOXYGENE}: An Interoperable Platform for Geographical Application Development}, + Year = {2012}} + +@techreport{blasertr, + Author = {Blaser, A}, + Institution = {National Center for Geographic Information and Analysis (NCGIA)}, + Month = {June}, + Number = {TR 98-1}, + Title = {Geo-spatial Sketches}, + Year = {1998}} + +@misc{web, + Author = {{Argosy Publications}}, + Howpublished = {\url{http://www.visiblebody.com/index.html}}, + Note = {Last Accessed June 20, 2015}, + Title = {{Visible Body}}, + Year = {2008}} diff --git a/inst/rmarkdown/templates/josis/resources/template.tex b/inst/rmarkdown/templates/josis/resources/template.tex new file mode 100644 index 000000000..ed8b3309f --- /dev/null +++ b/inst/rmarkdown/templates/josis/resources/template.tex @@ -0,0 +1,170 @@ +%% josis.tex 1.4 2016-09-15 JoSIS latex template +%------------------------------------------------------------------ +% Filename: josis_template.tex +% +% This file is intended as a template for typesetting articles for the +% +% Journal of Spatial Information Science. +% +% Please edit this template to generate your own formatted manuscripts +% for submission to JOSIS. See http://josis.org for further details. +% + + +%%% JOSIS checks in typesetting +%%% * All titles and sections lower case *EXCEPT short title [ ] +%%% * Remove author postal addresses, only have geographic places and institutions [ ] +%%% * Consistent use of Section, Figure, Table (capitalized and in full) [ ] +%%% * 10 keywords (and all lower case) [ ] +%%% * Remove all avoidable footnotes [ ] +%%% * Use double quotation marks (``'' not "" or `') [ ] +%%% * Punctuation inside quotations [ ] +%%% * E.g. and i.e. followed by comma [ ] +%%% * cf. followed by tilde [ ] +%%% * Itemize and enumerate correctly punctuated [e.g., "1. x, 2. y, and 3. x." ] +%%% * And/or lists using American English punctuation (e.g., "x, y, and z") [ ] +%%% * Bibliography (e.g., en-dashes for number ranges, consistent "Proc.~" for Proceedings of..., etc.) [] +%%% * Acknowledgment style use section* [ ] +%%% * et al. no italics, but with dot [ ] +%%% * All captions end with full stop [ ] +%%% * Table captions under, not over table [ ] +%%% * Adjust urls with burlalt [ ] +%%% * Check correct use of hyphens, emdashes, endashes [ ] +%%% * Perform spell check [ ] + +%%% JOSIS checks directly before publication +%%% Check DOI, page numbers on article and web site. [ ] +%%% Update web site with final title, abstract, keywords. [ ] +%%% Build with distiller for DOI links. [ ] + + +% Required documentclass definition for JOSIS +\documentclass{josis} +\usepackage{hyperref} +\usepackage[hyphenbreaks]{breakurl} +\usepackage{booktabs} +\usepackage{stmaryrd} +\usepackage[T1]{fontenc} +\usepackage{cite} + +% Suggested packages for algorithm formatting +\usepackage{algorithm} +%\usepackage{algorithmic} +\usepackage{algpseudocode} + + +\usepackage[table]{xcolor} +\usepackage{amssymb,amsmath} + +\renewcommand{\topfraction}{0.9} +\renewcommand{\textfraction}{0.1} + +% Page setup and overhangs +\sloppy +\widowpenalty=10000 +\clubpenalty=10000 +\hyphenpenalty=75 + +% For figures and more when knitting from .Rmd: +% https://stackoverflow.com/questions/41052687/ +$if(highlighting-macros)$ +$highlighting-macros$ +$endif$ +\providecommand{\tightlist}{% + \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} +\usepackage{longtable,booktabs,array} +$if(csl-refs)$ +\newlength{\cslhangindent} +\setlength{\cslhangindent}{1.5em} +\newlength{\csllabelwidth} +\setlength{\csllabelwidth}{3em} +\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 \everypar{\setlength{\hangindent}{\cslhangindent}}\ignorespaces\fi + % set entry spacing + \ifnum #2 > 0 + \setlength{\parskip}{#2\baselineskip} + \fi + }% + {} +\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$ + +% Article details for accepted manuscripts will be added by editorial staff +% Omit year if article in press +% Omit number if article under review +\josisdetails{% + number=N, year=YYYY, firstpage=xx, lastpage=yy, + doi={10.5311/JOSIS.YYYY.II.NNN}, + received={December 24, 2015}, + returned={February 25, 2016}, + revised={July 13, 2016}, + accepted={September 5, 2016}, } + +\newcommand{\mydoi}[1]{\href{http://dx.doi.org/#1}{doi:\protect\detokenize{#1}}} + +%\renewcommand{\UrlLeft}{http:\sslash} +%\DeclareUrlCommand\myurl{\def\UrlLeft{}\def\UrlRight{}% +%\urlstyle{tt}} + +\urlstyle{rm} +\makeatletter +% Inspired by http://anti.teamidiot.de/nei/2009/09/latex_url_slash_spacingkerning/ +% but slightly less kern and shorter underscore +\let\UrlSpecialsOld\UrlSpecials +\def\UrlSpecials{\UrlSpecialsOld\do\/{\Url@slash}\do\_{\Url@underscore}}% +\def\Url@slash{\@ifnextchar/{\kern-.11em\mathchar47\kern-.2em}% + {\kern-.0em\mathchar47\kern-.08em\penalty\UrlBigBreakPenalty}} +\def\Url@underscore{\nfss@text{\leavevmode \kern.06em\vbox{\hrule\@width.3em}}} +\makeatother + +\hypersetup{ +colorlinks=true, +linkcolor=black, +citecolor=black, +urlcolor=black +} + +% Add the running author and running title information +\runningauthor{\begin{minipage}{.9\textwidth}\centering $author1$, $author2$\end{minipage}} +\runningtitle{$runningtitle$} + +% Document begins +\begin{document} +%\setcounter{page}{33} + + +% Insert your own title +$if(title)$ +\title{$title$} +$endif$ + +% Insert your manuscipts authors, affiliations, and addresses +$for(author)$ + \author{$author.name$}\affil{$author.affiliation$} +$endfor$ + +\maketitle + +% Add 5-10 keywords for every submission +\keywords{$keywords$} + +% Add a short abstract of 150-250 words +\begin{abstract} +$abstract$ +\end{abstract} + +$body$ + +$if(bibliography)$ +\bibliographystyle{josisacm} +\bibliography{$bibliography$} +$endif$ + +\end{document} diff --git a/inst/rmarkdown/templates/josis/skeleton/josis.cls b/inst/rmarkdown/templates/josis/skeleton/josis.cls new file mode 100644 index 000000000..6c70daa00 --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/josis.cls @@ -0,0 +1,404 @@ +%% josis.cls 1.4 2016-09-15 JoSIS style file +%------------------------------------------------------------------ +% Filename: josis.cls +% +% This documentclass is intended for typesetting articles for the +% +% Journal of Spatial Information Science. +% +% See http://josis.org for further details. +% +% Search for ``%%% PART'' to find the main parts of this class file. +% +% The class was developed by Matt Duckham (http://www.duckham.org) +% in substantial part based on the toc (Theory of Computing) +% document class. For more information see: +% +% http://theoryofcomputing.org +% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Declare class and load external packages +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Need this version of LaTeX atleast (for ClassWarning commands) +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\ProvidesClass{josis}[2009/08/12 v1.1 Journal of Spatial Information Science] + +% Type area sizes +%\DeclareOption{demy} +% {\setlength\textwidth {115mm}% +% \setlength\textheight {170mm}} +%\DeclareOption{royal} +% {\setlength\textwidth {115mm}% +% \setlength\textheight {190mm}} +%\DeclareOption{quarto} +% {\setlength\textwidth {135mm}% +% \setlength\textheight {202mm}} +%\DeclareOption{crown} +% {\setlength\textwidth {140mm}% +% \setlength\textheight {220mm}} + +% Load article class and handle options. +\ProcessOptions\relax +\LoadClass[10pt,twoside,letterpaper,onecolumn]{article} + +% Load required packages +\RequirePackage{palatino} +\RequirePackage{amsmath} +\RequirePackage{amsthm} +\RequirePackage{amssymb} +\RequirePackage{graphicx} +\RequirePackage{url} +%\RequirePackage[cross,letter,center]{crop} +\RequirePackage[letter,center]{crop} +%\RequirePackage{geometry} + +\RequirePackage{authblk} +\renewcommand{\Affilfont}{\small} + +% Load cclicenses package +% Note that this package is included in the josis/latex distribution +\RequirePackage{cclicenses} + + +\urlstyle{rm} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% IF macro +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Rather than load the whole ifthen package, we'll use the following macro. +% +% Check if the two arguments expand to the same thing +% MAGIC happens in the \edef which expands #1 and #2 completely first +% Mainly used to check equality of strings +\newcommand{\ifex}[2]{% + \edef\josis@tmpa{#1}% + \edef\josis@tmpb{#2}% + \ifx\josis@tmpa\josis@tmpb +} + + \setlength{\itemsep}{1pt} + \setlength{\parskip}{0pt} + \setlength{\parsep}{0pt} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Define the layout of the page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Set page and margin lengths + +%% Lulu: Crown Quarto Color, Perfect Bound (18.91cm x 24.589cm) +\setlength{\paperwidth}{18.91cm} % set size for latex +\setlength{\paperheight}{24.589cm} +\special{papersize=18.91cm,24.589cm} % set size for ghostscript +%\setlength{\paperwidth}{7.5in} % set size for latex +%\setlength{\paperheight}{10in} +%\special{papersize=7.5in,10in} % set size for ghostscript +%``\typearea[6mm]{1}%% 6 mm for spine + +%\setlength{\voffset}{45pt} +%\setlength{\hoffset}{-40pt} +\setlength\textwidth {140mm}% +\setlength\textheight {200mm} +%\setlength{\headheight}{24pt} +%\setlength{\headsep}{24pt} +%\setlength{\footskip}{30pt} +%\setlength{\textheight}{578.5pt} +%\setlength{\marginparwidth}{62.27pt} + +% Compute side margins to center text horizontally in page. +\newlength{\josis@hpadding} +\setlength{\josis@hpadding}{\paperwidth} +\addtolength{\josis@hpadding}{-2in} +\addtolength{\josis@hpadding}{-\textwidth} +\setlength{\evensidemargin}{.5\josis@hpadding} +\setlength{\oddsidemargin}{.5\josis@hpadding} +\addtolength{\evensidemargin}{-0.1in} +\addtolength{\oddsidemargin}{0.1in} + +% Compute top margin to center virtual header/footer textbox. +\newlength{\josis@documentheight} +\newlength{\josis@vpadding} +\setlength{\josis@documentheight}{\textheight} +\addtolength{\josis@documentheight}{\footskip} +\addtolength{\josis@documentheight}{\headsep} +\addtolength{\josis@documentheight}{\headheight} +\setlength{\josis@vpadding}{\paperheight} +\addtolength{\josis@vpadding}{-\josis@documentheight} +\addtolength{\josis@vpadding}{-2in} +\setlength{\topmargin}{.5\josis@vpadding} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Values of parameters specific to the journal +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand\josis@journalname{Journal of Spatial Information Science} +\newcommand\josis@journaladdress{www.josis.org} +\newcommand{\josis@cclicenseurl}{http://creativecommons.org/licenses/by/3.0/} + +% Initialize properties to default value +\newcommand{\josis@year}{\@empty} +\newcommand{\josis@volume}{\@empty} +\newcommand{\josis@number}{\@empty} +\newcommand{\josis@received}{\@empty} +\newcommand{\josis@accepted}{\@empty} +\newcommand{\josis@returned}{\@empty} +\newcommand{\josis@revised}{\@empty} +\newcommand{\josis@declaredfirstpage}{\@empty} +\newcommand{\josis@declaredlastpage}{\@empty} +\newcommand{\josis@doi}{\@empty} +\newcommand{\josis@url}{\@empty} + +%%% The rest of this part establises the hookds for the \josisdetails command. +\define@key{josisdet}{year}{\renewcommand{\josis@year}{#1}} +\define@key{josisdet}{volume}{\renewcommand{\josis@volume}{#1}} +\define@key{josisdet}{number}{\renewcommand{\josis@number}{#1}} +\define@key{josisdet}{doi}{\renewcommand{\josis@doi}{#1}} +\define@key{josisdet}{received}{\renewcommand{\josis@received}{#1}} +\define@key{josisdet}{accepted}{\renewcommand{\josis@accepted}{#1}} +\define@key{josisdet}{returned}{\renewcommand{\josis@returned}{#1}} +\define@key{josisdet}{revised}{\renewcommand{\josis@revised}{#1}} +\define@key{josisdet}{firstpage}{\renewcommand{\josis@declaredfirstpage}{#1}} +\define@key{josisdet}{lastpage}{\renewcommand{\josis@declaredlastpage}{#1}} +\define@key{josisdet}{doi}{\renewcommand{\josis@doi}{#1}} +\define@key{josisdet}{url}{\renewcommand{\josis@url}{#1}} + +% argument is a comma seperated list of the type "volume=6,year=8,..." +% If we have details of section we are interested in, process it +\newcommand{\josisdetails}[1]{\setkeys{josisdet}{#1}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Default values for Article META Information +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand\josis@copyrightauthor{by the author(s)} +\newcommand\josis@runningauthor{} +\newcommand\josis@runningtitle{} + +% Define parameter passing functions for author metadata. +\newcommand*{\runningauthor}[1]{% + \renewcommand\josis@runningauthor{#1}} +\newcommand*{\runningtitle}[1]{% + \renewcommand\josis@runningtitle{#1}} + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Title page +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% Keywords definition +\newcommand{\keywords}[1]{\gdef\@keywords{#1}} +\def\@keywords{\@latex@error{No \noexpand\keywords given}\@ehc} + +% Abstract environment redefined +\renewenvironment{abstract}{ + \vskip 1em\hrule\vskip 1em + \@beginparpenalty\@lowpenalty +\noindent {\bfseries Abstract:}}% + {\vskip 1em \noindent {\bfseries Keywords:} \@keywords \par\vskip 1em \hrule\par\vskip 1em\thispagestyle{titlepage}} + +% Banner layout +\newcommand{\josis@bannerjournalname}% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{sc}{\josis@journalname}} + +\newcommand{\josis@bannertexta}{\josis@bannerjournalname} + +% Comment out for papers under review +\newcommand{\josis@bannerpubdata} + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{n}\selectfont + {Number \josis@number\ (\josis@year), + pp. \josis@declaredfirstpage--\josis@declaredlastpage}} + +% Comment out for papers with publication data +%\renewcommand{\josis@bannerpubdata}% + % {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{n}\selectfont% +% {Number \josis@number\ (Article forthcoming)}}% + + +% \newcommand{\josis@bannerpubdata}{Article submitted for review} + +\newcommand\josis@bannertextb% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{it} + \selectfont{\josis@bannerpubdata}} + +\newcommand\josis@bannertextc% + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm} + \selectfont{doi:\josis@doi}} + +\newlength{\josis@bannerwidth} +\setlength{\josis@bannerwidth}{\textwidth} +\newcommand{\josis@banner}{% + \begin{minipage}{\josis@bannerwidth}% + \josis@bannertexta\\ \josis@bannertextb \hfill \josis@bannertextc \\ + \end{minipage}} + +% Define the date box. If \josis@received is +% undefined, this will simply print +% the current date, as does the article class. +\newcommand\josis@reviseddatelayout{\ifex\josis@revised\@empty{}\else{revised: \josis@revised; accepted: \josis@accepted}\fi} +\newcommand\josis@datelayout% +{\fontsize{8}{10}\usefont{OT1}{ptm}{m}{sl}\selectfont% + \ifex{\josis@received}{\@empty}{\@date}% + \else% + {{Received: \josis@received; % + returned: \josis@returned; % + \josis@reviseddatelayout.}}% + \fi} + +\def\@maketitle{% + \newpage + \begin{center}% + \josis@banner% + \end{center}% + \null + \articletype + \vskip 2em% + \begin{center}% + \let \footnote \thanks + {\Huge \@title \par}% + \vskip 1.5em% + {\Large + \lineskip .5em% + \begin{tabular}[t]{c}% + \@author %\\ \@affiliation + \end{tabular}\par}% + \vskip 0.5em% + {\josis@datelayout}% + \end{center}% + \par} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Header and footer initialization +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%% This defines the footer running citation. We must produce two versions of it, the one without links is used +%% to determines spacing; the other is actually used for layout. +\newcommand\josis@runningcitation% +{\textsc{\josis@journalname}} + +\newcommand\josis@runningcitation@nolink% +{\textsc{\josis@journalname}} + +% Header layout wrapper. +\newcommand\josis@headerlayout[1] + {\fontsize{8}{10}\usefont{OT1}{ptm}{m}{sc}\selectfont{#1}} +\newcommand\josis@footerlayout[1] + {\fontsize{8}{10}\usefont{OT1}{ptm}{m}{n}\selectfont{#1}} + +% Copyright +\newcommand{\josis@crlayout}[1]{\fontsize{6}{7}\usefont{OT1}{ptm}{m}{n}\selectfont{#1}} +\newcommand{\josis@ccicon@text}[1]{\josis@crlayout{$\bigcirc$\hspace{-6.6pt}\raisebox{.5pt}{\tiny{cc}}\hspace{1.5pt}}} +\newcommand{\josis@cclogo@eps}[1]{\raisebox{-.5#1}{\includegraphics[height=#1]{josis_large}}} +\newcommand{\josis@ccicon@eps}[1]{\raisebox{-.5#1}{\includegraphics[height=#1]{josis_small}}} + +% Set up title page style. +\newcommand{\ps@titlepage}{% + \renewcommand{\@oddhead}{\hfil\josis@cclogo@eps{40pt}}% + \renewcommand{\@evenhead}{\@empty}% + \renewcommand{\@oddfoot}{\small\copyright\ \josis@copyrightauthor\hfil Licensed under Creative Commons Attribution 3.0 License \cc }% + \renewcommand{\@evenfoot}{\small\copyright\ \josis@copyrightauthor\hfil Licensed under Creative Commons Attribution 3.0 License \cc }% +} + +% Set up the 2ff. page style. +\renewcommand{\ps@headings}{% +\renewcommand{\@oddhead} + {\hfil\josis@headerlayout{\josis@runningtitle}\hfil\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm}\selectfont\thepage}% +\renewcommand{\@evenhead} + {\fontsize{9}{11}\usefont{OT1}{ptm}{m}{rm}\selectfont\thepage\hfil\josis@headerlayout{\josis@runningauthor}\hfil}% +\renewcommand{\@oddfoot} + {\hfil\josis@footerlayout{JOSIS, \josis@runningcitation}}% +\renewcommand{\@evenfoot} + {\josis@ccicon@eps{11pt}\ \ \ \href{http://www.josis.org}{www.josis.org}\hfil}% +} + +%% Determine actual footer height. +\newlength\josis@footerheight +\settoheight\josis@footerheight{\josis@footerlayout{\josis@runningcitation@nolink}} + +% Define the default page style to be headings. +\pagestyle{headings} +\pagenumbering{arabic} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Predefined Abbreviations +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\newcommand{\ie}{i.\,e.} +\newcommand{\eg}{e.\,g.} +\newcommand{\Eg}{E.\,g.} +\newcommand{\phd}{Ph.\,D.} +\newcommand{\msc}{M.\,S.} +\newcommand{\bsc}{B.\,S.} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Article types +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\newcommand{\articletype}{\textsc{Research Article}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Header and footer initialization +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + + +%\renewcommand\josis@runningcitation% +%{\ifex\josis@number\@empty +% {Article submitted for review} +% \else +% {Number \josis@number\ (\josis@year), +% pp. \josis@declaredfirstpage--\josis@declaredlastpage} +% \fi +%} + +\renewcommand\josis@runningcitation% +{\ifex\josis@number\@empty + {Article submitted for review} + \else + {\ifex\josis@year\@empty + {Number \josis@number\ (Article forthcoming)} + \else {Number \josis@number\ (\josis@year), pp. \josis@declaredfirstpage--\josis@declaredlastpage} \fi } + \fi +} + +% Numbering within articles for long form articles. +%{\numberwithin{equation}{chapter}} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%% PART: Macros for compact list environments +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%% ---------------------------------------------------- +%% Copyright (c) 1993 Hydro-Quebec [EMAIL PROTECTED] +%% ---------------------------------------------------- + +%% Bring items closer together in list environments +% Prevent infinite loops +\let\orig@Itemize =\itemize +\let\orig@Enumerate =\enumerate +\let\orig@Description =\description +% Zero the vertical spacing parameters +\def\Nospacing{\itemsep=0pt\topsep=0pt\partopsep=0pt% +\parskip=0pt\parsep=0pt} + +% Small text in tables +\renewenvironment{table}{\@float{table}[htb]\small}{\end@float} + + +\def\noitemsep{ +% Redefine the environments in terms of the original values +\renewenvironment{itemize}{\orig@Itemize\Nospacing}{\endlist} +\renewenvironment{enumerate}{\orig@Enumerate\Nospacing}{\endlist} +\renewenvironment{description}{\orig@Description\Nospacing}% +{\endlist} +} + +\def\doitemsep{ +% Redefine the environments to the original values +\renewenvironment{itemize}{\orig@Itemize}{\endlist} +\renewenvironment{enumerate}{\orig@Enumerate}{\endlist} +\renewenvironment{description}{\orig@Description}{\endlist} +} + +%%%% fin macro %%%% +\noitemsep + diff --git a/inst/rmarkdown/templates/josis/skeleton/josis_large.eps b/inst/rmarkdown/templates/josis/skeleton/josis_large.eps new file mode 100644 index 000000000..0aaeb3da8 --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/josis_large.eps @@ -0,0 +1,322 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: 0.46 +%%Pages: 1 +%%Orientation: Portrait +%%BoundingBox: 99 509 222 631 +%%HiResBoundingBox: 99.952472 509.03734 221.27744 630.62605 +%%EndComments +%%Page: 1 1 +0 842 translate +0.8 -0.8 scale +0 0 0 setrgbcolor +[] 0 setdash +1 setlinewidth +0 setlinejoin +0 setlinecap +gsave [1 0 0 1 0 0] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +124.94059 264.4093 moveto +276.59679 264.4093 lineto +276.59679 416.06551 lineto +124.94059 416.06551 lineto +124.94059 264.4093 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +124.94059 264.07962 moveto +276.59679 264.07962 lineto +276.59679 339.90772 lineto +124.94059 339.90772 lineto +124.94059 264.07962 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +150.62807 339.18661 moveto +150.62807 340.74911 lineto +150.40932 340.96786 lineto +148.95097 341.00957 147.83117 341.07207 147.04994 341.15536 curveto +146.26868 341.23874 145.70097 341.39499 145.34682 341.62411 curveto +144.99264 341.85332 144.75826 342.38978 144.64369 343.23349 curveto +144.52909 344.07728 144.4718 345.24915 144.47182 346.74911 curveto +144.40932 353.93661 lineto +144.40932 376.37411 lineto +144.4093 379.66579 144.11764 382.35849 143.53432 384.45224 curveto +142.95097 386.54599 141.93014 388.48348 140.47182 390.26474 curveto +139.01348 392.04598 137.50827 393.3689 135.95619 394.23349 curveto +134.40411 395.09806 132.86765 395.53035 131.34682 395.53036 curveto +130.90932 395.53035 130.47182 395.47827 130.03432 395.37411 curveto +130.07598 394.54077 130.10723 393.70744 130.12807 392.87411 curveto +130.12807 392.35327 130.09682 391.58244 130.03432 390.56161 curveto +130.62807 390.15536 lineto +131.69057 390.94702 132.80515 391.34286 133.97182 391.34286 curveto +134.99265 391.34286 135.83119 391.15015 136.48744 390.76474 curveto +137.14369 390.37932 137.60723 389.85848 137.87807 389.20224 curveto +138.14889 388.54598 138.31556 387.34286 138.37807 385.59286 curveto +138.44056 383.84286 138.47181 382.34287 138.47182 381.09286 curveto +138.47182 353.93661 lineto +138.40932 347.84286 lineto +138.38848 345.4679 138.32598 343.93665 138.22182 343.24911 curveto +138.11764 342.56166 137.9666 342.10332 137.76869 341.87411 curveto +137.57077 341.64499 137.19577 341.45749 136.64369 341.31161 curveto +136.0916 341.16582 134.70098 341.05124 132.47182 340.96786 curveto +132.25307 340.74911 lineto +132.25307 339.18661 lineto +132.47182 338.96786 lineto +137.74264 339.13458 140.73222 339.21791 141.44057 339.21786 curveto +142.16972 339.21791 145.1593 339.13458 150.40932 338.96786 curveto +150.62807 339.18661 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +186.62807 372.37411 moveto +186.87807 372.12411 lineto +188.40932 372.12411 lineto +188.65932 372.37411 lineto +188.76348 375.04079 188.9041 376.671 189.08119 377.26474 curveto +189.25827 377.8585 189.82077 378.48349 190.76869 379.13974 curveto +191.7166 379.79599 192.97702 380.33245 194.54994 380.74911 curveto +196.12285 381.16578 197.71139 381.37412 199.31557 381.37411 curveto +201.52388 381.37412 203.50826 380.96787 205.26869 380.15536 curveto +207.02909 379.34287 208.39888 378.15016 209.37807 376.57724 curveto +210.35721 375.00433 210.84679 373.23871 210.84682 371.28036 curveto +210.84679 369.90538 210.61242 368.70746 210.14369 367.68661 curveto +209.67492 366.6658 209.01867 365.84809 208.17494 365.23349 curveto +207.33117 364.61893 206.36763 364.16059 205.28432 363.85849 curveto +204.20096 363.55643 202.58638 363.2283 200.44057 362.87411 curveto +198.35722 362.5408 196.72701 362.23872 195.54994 361.96786 curveto +194.37285 361.69705 193.20097 361.28039 192.03432 360.71786 curveto +190.86764 360.15539 189.89369 359.44185 189.11244 358.57724 curveto +188.33119 357.71268 187.70619 356.65018 187.23744 355.38974 curveto +186.76869 354.12935 186.53431 352.7804 186.53432 351.34286 curveto +186.53431 347.44707 187.88848 344.25436 190.59682 341.76474 curveto +193.30514 339.2752 196.94055 338.03041 201.50307 338.03036 curveto +203.31555 338.03041 205.2895 338.25437 207.42494 338.70224 curveto +209.56033 339.1502 211.50304 339.81166 213.25307 340.68661 curveto +213.47182 341.06161 lineto +213.01345 342.97832 212.73221 345.70749 212.62807 349.24911 curveto +212.34682 349.49911 lineto +210.72182 349.49911 lineto +210.47182 349.28036 lineto +210.43012 346.7804 210.36762 345.20749 210.28432 344.56161 curveto +210.20096 343.91582 209.25304 343.11374 207.44057 342.15536 curveto +205.62805 341.19707 203.6593 340.71791 201.53432 340.71786 curveto +199.76347 340.71791 198.10722 341.07207 196.56557 341.78036 curveto +195.02389 342.48874 193.85722 343.60332 193.06557 345.12411 curveto +192.27389 346.64498 191.87806 348.19707 191.87807 349.78036 curveto +191.87806 351.00956 192.11764 352.0981 192.59682 353.04599 curveto +193.07597 353.99394 193.69577 354.74394 194.45619 355.29599 curveto +195.2166 355.8481 196.10201 356.25956 197.11244 356.53036 curveto +198.12284 356.80122 199.9718 357.13456 202.65932 357.53036 curveto +206.34679 358.05122 209.02908 358.68143 210.70619 359.42099 curveto +212.38325 360.1606 213.727 361.33247 214.73744 362.93661 curveto +215.74783 364.5408 216.25303 366.4783 216.25307 368.74911 curveto +216.25303 373.18662 214.44575 376.88454 210.83119 379.84286 curveto +207.21659 382.8012 202.83638 384.28036 197.69057 384.28036 curveto +193.37806 384.28036 189.59681 383.50953 186.34682 381.96786 curveto +186.15932 381.56161 lineto +186.36765 380.24912 186.5239 377.18662 186.62807 372.37411 curveto +186.62807 372.37411 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +219.62807 338.96786 moveto +223.53432 339.09286 lineto +226.09681 339.17624 227.77389 339.21791 228.56557 339.21786 curveto +229.27389 339.21791 232.26347 339.13458 237.53432 338.96786 curveto +237.78432 339.18661 lineto +237.78432 340.74911 lineto +237.53432 340.96786 lineto +236.0968 341.00957 234.98742 341.07207 234.20619 341.15536 curveto +233.42493 341.23874 232.85722 341.39499 232.50307 341.62411 curveto +232.14889 341.85332 231.91451 342.38978 231.79994 343.23349 curveto +231.68534 344.07728 231.62805 345.24915 231.62807 346.74911 curveto +231.56557 353.93661 lineto +231.56557 368.40536 lineto +231.59682 374.49911 lineto +231.61764 376.85329 231.68014 378.37412 231.78432 379.06161 curveto +231.88847 379.74912 232.03951 380.20745 232.23744 380.43661 curveto +232.43534 380.66578 232.81555 380.85849 233.37807 381.01474 curveto +233.94055 381.17099 235.32597 381.29078 237.53432 381.37411 curveto +237.78432 381.56161 lineto +237.78432 383.12411 lineto +237.53432 383.37411 lineto +237.43013 383.37411 235.5968 383.31161 232.03432 383.18661 curveto +230.55514 383.14495 229.39889 383.12411 228.56557 383.12411 curveto +227.91972 383.12411 224.94056 383.20745 219.62807 383.37411 curveto +219.37807 383.12411 lineto +219.37807 381.56161 lineto +219.62807 381.37411 lineto +221.56556 381.29078 222.85723 381.18662 223.50307 381.06161 curveto +224.14889 380.93662 224.58119 380.77516 224.79994 380.57724 curveto +225.01868 380.37933 225.19577 379.95745 225.33119 379.31161 curveto +225.4666 378.66579 225.54473 377.22829 225.56557 374.99911 curveto +225.59682 368.40536 lineto +225.59682 353.93661 lineto +225.53432 347.84286 lineto +225.51348 345.4679 225.45618 343.93665 225.36244 343.24911 curveto +225.26868 342.56166 225.12285 342.10332 224.92494 341.87411 curveto +224.72702 341.64499 224.34681 341.45749 223.78432 341.31161 curveto +223.22181 341.16582 221.8364 341.05124 219.62807 340.96786 curveto +219.37807 340.74911 lineto +219.37807 339.18661 lineto +219.62807 338.96786 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +241.87807 372.37411 moveto +242.12807 372.12411 lineto +243.65932 372.12411 lineto +243.90932 372.37411 lineto +244.01348 375.04079 244.1541 376.671 244.33119 377.26474 curveto +244.50827 377.8585 245.07077 378.48349 246.01869 379.13974 curveto +246.9666 379.79599 248.22702 380.33245 249.79994 380.74911 curveto +251.37285 381.16578 252.96139 381.37412 254.56557 381.37411 curveto +256.77388 381.37412 258.75826 380.96787 260.51869 380.15536 curveto +262.27909 379.34287 263.64888 378.15016 264.62807 376.57724 curveto +265.60721 375.00433 266.09679 373.23871 266.09682 371.28036 curveto +266.09679 369.90538 265.86242 368.70746 265.39369 367.68661 curveto +264.92492 366.6658 264.26867 365.84809 263.42494 365.23349 curveto +262.58117 364.61893 261.61763 364.16059 260.53432 363.85849 curveto +259.45096 363.55643 257.83638 363.2283 255.69057 362.87411 curveto +253.60722 362.5408 251.97701 362.23872 250.79994 361.96786 curveto +249.62285 361.69705 248.45097 361.28039 247.28432 360.71786 curveto +246.11764 360.15539 245.14369 359.44185 244.36244 358.57724 curveto +243.58119 357.71268 242.95619 356.65018 242.48744 355.38974 curveto +242.01869 354.12935 241.78431 352.7804 241.78432 351.34286 curveto +241.78431 347.44707 243.13848 344.25436 245.84682 341.76474 curveto +248.55514 339.2752 252.19055 338.03041 256.75307 338.03036 curveto +258.56555 338.03041 260.5395 338.25437 262.67494 338.70224 curveto +264.81033 339.1502 266.75304 339.81166 268.50307 340.68661 curveto +268.72182 341.06161 lineto +268.26345 342.97832 267.98221 345.70749 267.87807 349.24911 curveto +267.59682 349.49911 lineto +265.97182 349.49911 lineto +265.72182 349.28036 lineto +265.68012 346.7804 265.61762 345.20749 265.53432 344.56161 curveto +265.45096 343.91582 264.50304 343.11374 262.69057 342.15536 curveto +260.87805 341.19707 258.9093 340.71791 256.78432 340.71786 curveto +255.01347 340.71791 253.35722 341.07207 251.81557 341.78036 curveto +250.27389 342.48874 249.10722 343.60332 248.31557 345.12411 curveto +247.52389 346.64498 247.12806 348.19707 247.12807 349.78036 curveto +247.12806 351.00956 247.36764 352.0981 247.84682 353.04599 curveto +248.32597 353.99394 248.94577 354.74394 249.70619 355.29599 curveto +250.4666 355.8481 251.35201 356.25956 252.36244 356.53036 curveto +253.37284 356.80122 255.2218 357.13456 257.90932 357.53036 curveto +261.59679 358.05122 264.27908 358.68143 265.95619 359.42099 curveto +267.63325 360.1606 268.977 361.33247 269.98744 362.93661 curveto +270.99783 364.5408 271.50303 366.4783 271.50307 368.74911 curveto +271.50303 373.18662 269.69575 376.88454 266.08119 379.84286 curveto +262.46659 382.8012 258.08638 384.28036 252.94057 384.28036 curveto +248.62806 384.28036 244.84681 383.50953 241.59682 381.96786 curveto +241.40932 381.56161 lineto +241.61765 380.24912 241.7739 377.18662 241.87807 372.37411 curveto +241.87807 372.37411 lineto +closepath +fill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +152.2039 355.3692 moveto +152.2039 352.89005 152.71432 350.49943 153.73515 348.19733 curveto +154.75598 345.89527 156.53202 343.90569 159.06328 342.22858 curveto +161.59452 340.55152 164.59972 339.71298 168.0789 339.71295 curveto +172.45388 339.71298 176.01638 341.09319 178.7664 343.85358 curveto +181.51637 346.61402 182.89137 350.16089 182.8914 354.4942 curveto +182.89137 359.26505 181.31325 363.19212 178.15703 366.27545 curveto +175.00075 369.35879 171.19347 370.90045 166.73515 370.90045 curveto +163.81847 370.90045 161.21431 370.11399 158.92265 368.54108 curveto +156.63098 366.96816 154.93827 365.04629 153.84453 362.77545 curveto +152.75078 360.50463 152.2039 358.03588 152.2039 355.3692 curveto +152.2039 355.3692 lineto +closepath +158.11015 353.21295 moveto +158.11015 356.12963 158.48514 358.739 159.23515 361.04108 curveto +159.98514 363.34317 161.17264 365.19212 162.79765 366.58795 curveto +164.42264 367.98379 166.2768 368.6817 168.36015 368.6817 curveto +170.81847 368.6817 172.84971 367.70775 174.4539 365.75983 curveto +176.05804 363.81192 176.86013 360.87963 176.86015 356.96295 curveto +176.86013 352.52547 175.99034 348.89006 174.25078 346.0567 curveto +172.51117 343.22339 170.00597 341.80673 166.73515 341.8067 curveto +164.02681 341.80673 161.91222 342.7859 160.3914 344.7442 curveto +158.87056 346.70256 158.11015 349.52547 158.11015 353.21295 curveto +158.11015 353.21295 lineto +closepath +fill +grestore +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +152.2039 324.216 moveto +152.2039 321.73685 152.71432 319.34623 153.73515 317.04413 curveto +154.75598 314.74207 156.53202 312.75249 159.06328 311.07538 curveto +161.59452 309.39832 164.59972 308.55978 168.0789 308.55975 curveto +172.45388 308.55978 176.01638 309.93999 178.7664 312.70038 curveto +181.51637 315.46082 182.89137 319.00769 182.8914 323.341 curveto +182.89137 328.11185 181.31325 332.03893 178.15703 335.12225 curveto +175.00075 338.20559 171.19347 339.74725 166.73515 339.74725 curveto +163.81847 339.74725 161.21431 338.96079 158.92265 337.38788 curveto +156.63098 335.81496 154.93827 333.89309 153.84453 331.62225 curveto +152.75078 329.35143 152.2039 326.88268 152.2039 324.216 curveto +152.2039 324.216 lineto +closepath +158.11015 322.05975 moveto +158.11015 324.97643 158.48514 327.58581 159.23515 329.88788 curveto +159.98514 332.18997 161.17264 334.03892 162.79765 335.43475 curveto +164.42264 336.83059 166.2768 337.5285 168.36015 337.5285 curveto +170.81847 337.5285 172.84971 336.55455 174.4539 334.60663 curveto +176.05804 332.65872 176.86013 329.72643 176.86015 325.80975 curveto +176.86013 321.37227 175.99034 317.73686 174.25078 314.9035 curveto +172.51117 312.0702 170.00597 310.65353 166.73515 310.6535 curveto +164.02681 310.65353 161.91222 311.6327 160.3914 313.591 curveto +158.87056 315.54936 158.11015 318.37227 158.11015 322.05975 curveto +158.11015 322.05975 lineto +closepath +fill +grestore +gsave [1 0 0 1 -138.03718 -0.6404139] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +gsave [1 0 0 1 -138.5377 31.415564] concat +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +grestore +showpage +%%EOF diff --git a/inst/rmarkdown/templates/josis/skeleton/josis_small.eps b/inst/rmarkdown/templates/josis/skeleton/josis_small.eps new file mode 100644 index 000000000..4bbac524d --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/josis_small.eps @@ -0,0 +1,127 @@ +%!PS-Adobe-3.0 EPSF-3.0 +%%Creator: 0.46 +%%Pages: 1 +%%Orientation: Portrait +%%BoundingBox: 235 508 357 631 +%%HiResBoundingBox: 235.57607 508.52665 356.90104 630.11536 +%%EndComments +%%Page: 1 1 +0 842 translate +0.8 -0.8 scale +0 0 0 setrgbcolor +[] 0 setdash +1 setlinewidth +0 setlinejoin +0 setlinecap +gsave [1 0 0 1 0 0] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +294.47009 265.04767 moveto +446.1263 265.04767 lineto +446.1263 416.70387 lineto +294.47009 416.70387 lineto +294.47009 265.04767 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +294.47009 264.71799 moveto +446.1263 264.71799 lineto +446.1263 340.54609 lineto +294.47009 340.54609 lineto +294.47009 264.71799 lineto +closepath +eofill +grestore +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +321.7334 356.00757 moveto +321.7334 353.52842 322.24381 351.1378 323.26465 348.83569 curveto +324.28548 346.53363 326.06152 344.54405 328.59277 342.86694 curveto +331.12401 341.18989 334.12922 340.35135 337.6084 340.35132 curveto +341.98338 340.35135 345.54587 341.73156 348.2959 344.49194 curveto +351.04587 347.25238 352.42087 350.79925 352.4209 355.13257 curveto +352.42087 359.90341 350.84274 363.83049 347.68652 366.91382 curveto +344.53025 369.99715 340.72296 371.53882 336.26465 371.53882 curveto +333.34797 371.53882 330.7438 370.75236 328.45215 369.17944 curveto +326.16048 367.60653 324.46777 365.68466 323.37402 363.41382 curveto +322.28027 361.14299 321.7334 358.67425 321.7334 356.00757 curveto +321.7334 356.00757 lineto +closepath +327.63965 353.85132 moveto +327.63964 356.768 328.01464 359.37737 328.76465 361.67944 curveto +329.51464 363.98153 330.70214 365.83049 332.32715 367.22632 curveto +333.95213 368.62215 335.8063 369.32007 337.88965 369.32007 curveto +340.34796 369.32007 342.37921 368.34611 343.9834 366.39819 curveto +345.58754 364.45028 346.38962 361.51799 346.38965 357.60132 curveto +346.38962 353.16384 345.51983 349.52842 343.78027 346.69507 curveto +342.04067 343.86176 339.53546 342.4451 336.26465 342.44507 curveto +333.5563 342.4451 331.44172 343.42426 329.9209 345.38257 curveto +328.40006 347.34092 327.63964 350.16384 327.63965 353.85132 curveto +327.63965 353.85132 lineto +closepath +fill +grestore +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +321.7334 324.85437 moveto +321.7334 322.37522 322.24381 319.9846 323.26465 317.6825 curveto +324.28548 315.38044 326.06152 313.39085 328.59277 311.71375 curveto +331.12401 310.03669 334.12922 309.19815 337.6084 309.19812 curveto +341.98338 309.19815 345.54587 310.57836 348.2959 313.33875 curveto +351.04587 316.09918 352.42087 319.64606 352.4209 323.97937 curveto +352.42087 328.75021 350.84274 332.67729 347.68652 335.76062 curveto +344.53025 338.84395 340.72296 340.38562 336.26465 340.38562 curveto +333.34797 340.38562 330.7438 339.59916 328.45215 338.02625 curveto +326.16048 336.45333 324.46777 334.53146 323.37402 332.26062 curveto +322.28027 329.9898 321.7334 327.52105 321.7334 324.85437 curveto +321.7334 324.85437 lineto +closepath +327.63965 322.69812 moveto +327.63964 325.6148 328.01464 328.22417 328.76465 330.52625 curveto +329.51464 332.82833 330.70214 334.67729 332.32715 336.07312 curveto +333.95213 337.46896 335.8063 338.16687 337.88965 338.16687 curveto +340.34796 338.16687 342.37921 337.19291 343.9834 335.245 curveto +345.58754 333.29708 346.38962 330.3648 346.38965 326.44812 curveto +346.38962 322.01064 345.51983 318.37522 343.78027 315.54187 curveto +342.04067 312.70856 339.53546 311.2919 336.26465 311.29187 curveto +333.5563 311.2919 331.44172 312.27106 329.9209 314.22937 curveto +328.40006 316.18773 327.63964 319.01064 327.63965 322.69812 curveto +327.63965 322.69812 lineto +closepath +fill +grestore +gsave [1 0 0 1 31.4923 -0.00204] concat +gsave +0.86666667 1 0.46666667 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +gsave [1 0 0 1 31.339855 31.639374] concat +gsave +0.60000002 0.60000002 0.60000002 setrgbcolor +newpath +319.35307 324.85196 moveto +319.35307 332.86482 313.1846 339.36801 305.58417 339.36801 curveto +297.98374 339.36801 291.81527 332.86482 291.81527 324.85196 curveto +291.81527 316.8391 297.98374 310.33591 305.58417 310.33591 curveto +313.1846 310.33591 319.35307 316.8391 319.35307 324.85196 curveto +closepath +fill +grestore +grestore +grestore +showpage +%%EOF diff --git a/inst/rmarkdown/templates/josis/skeleton/josisacm.bst b/inst/rmarkdown/templates/josis/skeleton/josisacm.bst new file mode 100644 index 000000000..6d556a762 --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/josisacm.bst @@ -0,0 +1,1165 @@ +% Copyright (C) 1986, 1988, 2010 Howard Trickey and Oren Patashnik. +% Unlimited copying and redistribution of this file are permitted as long as +% it is unmodified. Modifications (and redistribution of modified versions) +% are also permitted, but only if the resulting file is renamed. +% +% ACM Transactions bibliography style (8-Dec-10 version) +% A lot like abbrv.bst, but names come out "Last, initials", and in \sc. +% Some dates are parenthesized. +% +% History +% 2/ 6/86 (HWT) Original version, by Howard Trickey. +% 3/ 5/86 (HWT) Put in pp. everywhere but articles, as per ACM style. +% 1/24/88 (OP&HWT) Updated for BibTeX version 0.99a, Oren Patashnik; +% corrected the abbreviations to "Mar." and "Sept."; +% THIS `acm' VERSION DOES NOT WORK WITH BIBTEX 0.98i. +% 12/ 8/10 (OP&HWT) Clarify license. + +ENTRY + { address + author + booktitle + chapter + doi + edition + editor + howpublished + institution + journal + key + month + note + number + organization + pages + publisher + school + series + title + type + volume + year + } + {} + { label } + +INTEGERS { output.state before.all mid.sentence after.sentence after.block } + +FUNCTION {init.state.consts} +{ #0 'before.all := + #1 'mid.sentence := + #2 'after.sentence := + #3 'after.block := +} + +STRINGS { s t } + +FUNCTION {output.nonnull} +{ 's := + output.state mid.sentence = + { ", " * write$ } + { output.state after.block = + { add.period$ write$ + newline$ + "\newblock " write$ + } + { output.state before.all = + 'write$ + { add.period$ " " * write$ } + if$ + } + if$ + mid.sentence 'output.state := + } + if$ + s +} + +FUNCTION {output} +{ duplicate$ empty$ + 'pop$ + 'output.nonnull + if$ +} + +FUNCTION {output.check} +{ 't := + duplicate$ empty$ + { pop$ "empty " t * " in " * cite$ * warning$ } + 'output.nonnull + if$ +} + +FUNCTION {output.bibitem} +{ newline$ + "\bibitem{" write$ + cite$ write$ + "}" write$ + newline$ + "" + before.all 'output.state := +} + +FUNCTION {fin.entry} +{ add.period$ + write$ + newline$ +} + +FUNCTION {new.block} +{ output.state before.all = + 'skip$ + { after.block 'output.state := } + if$ +} + +FUNCTION {new.sentence} +{ output.state after.block = + 'skip$ + { output.state before.all = + 'skip$ + { after.sentence 'output.state := } + if$ + } + if$ +} + +FUNCTION {not} +{ { #0 } + { #1 } + if$ +} + +FUNCTION {and} +{ 'skip$ + { pop$ #0 } + if$ +} + +FUNCTION {or} +{ { pop$ #1 } + 'skip$ + if$ +} + +FUNCTION {new.block.checka} +{ empty$ + 'skip$ + 'new.block + if$ +} + +FUNCTION {new.block.checkb} +{ empty$ + swap$ empty$ + and + 'skip$ + 'new.block + if$ +} + +FUNCTION {field.or.null} +{ duplicate$ empty$ + { pop$ "" } + 'skip$ + if$ +} + +FUNCTION {emphasize} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "}" * } + if$ +} + +FUNCTION {emphasizeic} +{ duplicate$ empty$ + { pop$ "" } + { "{\em " swap$ * "\/}" * } + if$ +} + +FUNCTION {scapify} +{ duplicate$ empty$ + { pop$ "" } + { "{\sc " swap$ * "}" * } + if$ +} + +INTEGERS { nameptr namesleft numnames } + +FUNCTION {format.names} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{vv~}{ll}{, jj}{, f.}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { t "others" = + { ", et~al." * } + { ", and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +% For names inside entries (e.g., editors of an "In ..."); +% this is exactly ABBRV.BST's `format.names' function. +FUNCTION {format.innames} +{ 's := + #1 'nameptr := + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { s nameptr "{f.~}{vv~}{ll}{, jj}" format.name$ 't := + nameptr #1 > + { namesleft #1 > + { ", " * t * } + { numnames #2 > + { "," * } + 'skip$ + if$ + t "others" = + { " et~al." * } + { " and " * t * } + if$ + } + if$ + } + 't + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {format.authors} +{ author empty$ + { "" } + { author format.names scapify } + if$ +} + +FUNCTION {format.editors} +{ editor empty$ + { "" } + { editor format.names scapify + editor num.names$ #1 > + { ", Eds." * } + { ", Ed." * } + if$ + } + if$ +} + +FUNCTION {format.ineditors} +{ editor empty$ + { "" } + { editor format.innames + editor num.names$ #1 > + { ", Eds." * } + { ", Ed." * } + if$ + } + if$ +} + +FUNCTION {format.title} +{ title empty$ + { "" } + { title "t" change.case$ } + if$ +} + +FUNCTION {n.dashify} +{ 't := + "" + { t empty$ not } + { t #1 #1 substring$ "-" = + { t #1 #2 substring$ "--" = not + { "--" * + t #2 global.max$ substring$ 't := + } + { { t #1 #1 substring$ "-" = } + { "-" * + t #2 global.max$ substring$ 't := + } + while$ + } + if$ + } + { t #1 #1 substring$ * + t #2 global.max$ substring$ 't := + } + if$ + } + while$ +} + +FUNCTION {format.date} +{ year empty$ + { month empty$ + { "" } + { "there's a month but no year in " cite$ * warning$ + month + } + if$ + } + { month empty$ + 'year + { month " " * year * } + if$ + } + if$ +} + +FUNCTION {format.btitle} +{ title emphasize +} + +FUNCTION {tie.or.space.connect} +{ duplicate$ text.length$ #3 < + { "~" } + { " " } + if$ + swap$ * * +} + +FUNCTION {either.or.check} +{ empty$ + 'pop$ + { "can't use both " swap$ * " fields in " * cite$ * warning$ } + if$ +} + +FUNCTION {format.bvolume} +{ volume empty$ + { "" } + { "vol.~" volume * + series empty$ + 'skip$ + { " of " * series emphasize * } + if$ + "volume and number" number either.or.check + } + if$ +} + +FUNCTION {format.number.series} +{ volume empty$ + { number empty$ + { series field.or.null } + { output.state mid.sentence = + { "no.~" } + { "No.~" } + if$ + number * + series empty$ + { "there's a number but no series in " cite$ * warning$ } + { " in " * series * } + if$ + } + if$ + } + { "" } + if$ +} + +FUNCTION {format.edition} +{ edition empty$ + { "" } + { output.state mid.sentence = + { edition "l" change.case$ "~ed." * } + { edition "t" change.case$ "~ed." * } + if$ + } + if$ +} + +FUNCTION {format.pages} +{ pages empty$ + { "" } + { pages n.dashify } + if$ +} + +INTEGERS { multiresult } + +FUNCTION {multi.page.check} +{ 't := + #0 'multiresult := + { multiresult not + t empty$ not + and + } + { t #1 #1 substring$ + duplicate$ "-" = + swap$ duplicate$ "," = + swap$ "+" = + or or + { #1 'multiresult := } + { t #2 global.max$ substring$ 't := } + if$ + } + while$ + multiresult +} + +FUNCTION {format.pp.pages} +{ pages empty$ + { "" } + { pages multi.page.check + { "pp.~" pages n.dashify * } + { "p.~" pages * } + if$ + } + if$ +} + +FUNCTION {format.journal.vol.num.date} +{ journal empty$ + { "empty journal in " cite$ * warning$ + "" + } + { journal + volume empty$ + 'skip$ + { " " * volume * } + if$ + number empty$ + 'emphasizeic + { emphasize ", " * number * } + if$ + year empty$ + { "empty year in " cite$ * warning$ } + { " (" * format.date * ")" * } + if$ + } + if$ +} + +FUNCTION {format.chapter.pages} +{ chapter empty$ + 'format.pp.pages + { type empty$ + { "ch.~" chapter * } + { type "l" change.case$ chapter tie.or.space.connect } + if$ + pages empty$ + 'skip$ + { ", " * format.pp.pages * } + if$ + } + if$ +} + +FUNCTION {format.in.ed.booktitle} +{ booktitle empty$ + { "" } + { "In " booktitle emphasize * + editor empty$ + 'skip$ + { ", " * format.ineditors * } + if$ + } + if$ +} + +% The proceedings title (it's on the stack) gets an (address, date) appended +FUNCTION {format.proc.date} +{ duplicate$ empty$ + { pop$ "" } + { year empty$ + { "empty year in " cite$ * warning$ + address empty$ + 'emphasize + { emphasizeic + " (" * address * ")" * + } + if$ + } + { emphasizeic + " (" * + address empty$ + 'skip$ + { address * ", " * } + if$ + format.date * + ")" * + } + if$ + } + if$ +} + +FUNCTION {format.in.proc.date} +{ booktitle empty$ + { "" } + { "In " booktitle format.proc.date * } + if$ +} + +FUNCTION {empty.misc.check} +{ author empty$ title empty$ howpublished empty$ + month empty$ year empty$ note empty$ + and and and and and + key empty$ not and + { "all relevant fields are empty in " cite$ * warning$ } + 'skip$ + if$ +} + +FUNCTION {format.thesis.type} +{ type empty$ + 'skip$ + { pop$ + type "t" change.case$ + } + if$ +} + +FUNCTION {format.tr.number} +{ type empty$ + { "Tech. Rep." } + 'type + if$ + number empty$ + { "t" change.case$ } + { number tie.or.space.connect } + if$ +} + +FUNCTION {format.article.crossref} +{ key empty$ + { journal empty$ + { "need key or journal for " cite$ * " to crossref " * crossref * + warning$ + "" + } + { "In {\em " journal * "\/}" * } + if$ + } + { "In " key * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.crossref.editor} +{ editor #1 "{vv~}{ll}" format.name$ + editor num.names$ duplicate$ + #2 > + { pop$ " et~al." * } + { #2 < + 'skip$ + { editor #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" = + { " et~al." * } + { " and " * editor #2 "{vv~}{ll}" format.name$ * } + if$ + } + if$ + } + if$ +} + +FUNCTION {format.book.crossref} +{ volume empty$ + { "empty volume in " cite$ * "'s crossref of " * crossref * warning$ + "In " + } + { "Vol.~" volume * + " of " * + } + if$ + editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { series empty$ + { "need editor, key, or series for " cite$ * " to crossref " * + crossref * warning$ + "" * + } + { "{\em " * series * "\/}" * } + if$ + } + { key * } + if$ + } + { format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {format.incoll.inproc.crossref} +{ editor empty$ + editor field.or.null author field.or.null = + or + { key empty$ + { booktitle empty$ + { "need editor, key, or booktitle for " cite$ * " to crossref " * + crossref * warning$ + "" + } + { "In {\em " booktitle * "\/}" * } + if$ + } + { "In " key * } + if$ + } + { "In " format.crossref.editor * } + if$ + " \cite{" * crossref * "}" * +} + +FUNCTION {article} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.journal.vol.num.date output + format.pages output + } + { format.article.crossref output.nonnull + format.pp.pages output + } + if$ + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {book} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + format.edition output + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {booklet} +{ output.bibitem + format.authors output + new.block + format.title "title" output.check + howpublished address new.block.checkb + howpublished output + address output + format.date output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {inbook} +{ output.bibitem + author empty$ + { format.editors "author and editor" output.check } + { format.authors output.nonnull + crossref missing$ + { "author and editor" editor either.or.check } + 'skip$ + if$ + } + if$ + new.block + format.btitle "title" output.check + format.edition output + crossref missing$ + { format.bvolume output + new.block + format.number.series output + new.sentence + publisher "publisher" output.check + address output + } + { new.block + format.book.crossref output.nonnull + } + if$ + format.date "year" output.check + format.chapter.pages "chapter and pages" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {incollection} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.ed.booktitle "booktitle" output.check + format.edition output + format.bvolume output + format.number.series output + new.sentence + publisher "publisher" output.check + address output + format.date "year" output.check + } + { format.incoll.inproc.crossref output.nonnull } + if$ + format.chapter.pages output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {inproceedings} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + crossref missing$ + { format.in.proc.date "booktitle" output.check + format.ineditors output + format.bvolume output + format.number.series output + organization output + publisher output + } + { format.incoll.inproc.crossref output.nonnull } + if$ + format.pp.pages output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {conference} { inproceedings } + +FUNCTION {manual} +{ output.bibitem + author empty$ + { organization scapify output } + { format.authors output.nonnull } + if$ + new.block + format.btitle "title" output.check + format.edition output + author empty$ + { address new.block.checka } + { organization address new.block.checkb + organization output + } + if$ + address output + format.date output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {mastersthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + "Master's thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {misc} +{ output.bibitem + format.authors output + title howpublished new.block.checkb + format.title output + howpublished new.block.checka + howpublished output + format.date output + new.block + doi output + new.block + note output + fin.entry + empty.misc.check +} + +FUNCTION {phdthesis} +{ output.bibitem + format.authors "author" output.check + new.block + format.btitle "title" output.check + new.block + "PhD thesis" format.thesis.type output.nonnull + school "school" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {proceedings} +{ output.bibitem + editor empty$ + { organization scapify output } + { format.editors output.nonnull } + if$ + new.block + title format.proc.date "title" output.check + format.bvolume output + format.number.series output + editor empty$ + 'skip$ + { organization output } + if$ + publisher output + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {techreport} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + format.tr.number output.nonnull + institution "institution" output.check + address output + format.date "year" output.check + new.block + doi output + new.block + note output + fin.entry +} + +FUNCTION {unpublished} +{ output.bibitem + format.authors "author" output.check + new.block + format.title "title" output.check + new.block + note "note" output.check + format.date output + fin.entry +} + +FUNCTION {default.type} { misc } + +MACRO {jan} {"Jan."} + +MACRO {feb} {"Feb."} + +MACRO {mar} {"Mar."} + +MACRO {apr} {"Apr."} + +MACRO {may} {"May"} + +MACRO {jun} {"June"} + +MACRO {jul} {"July"} + +MACRO {aug} {"Aug."} + +MACRO {sep} {"Sept."} + +MACRO {oct} {"Oct."} + +MACRO {nov} {"Nov."} + +MACRO {dec} {"Dec."} + +MACRO {acmcs} {"ACM Comput. Surv."} + +MACRO {acta} {"Acta Inf."} + +MACRO {cacm} {"Commun. ACM"} + +MACRO {ibmjrd} {"IBM J. Res. Dev."} + +MACRO {ibmsj} {"IBM Syst.~J."} + +MACRO {ieeese} {"IEEE Trans. Softw. Eng."} + +MACRO {ieeetc} {"IEEE Trans. Comput."} + +MACRO {ieeetcad} + {"IEEE Trans. Comput.-Aided Design Integrated Circuits"} + +MACRO {ipl} {"Inf. Process. Lett."} + +MACRO {jacm} {"J.~ACM"} + +MACRO {jcss} {"J.~Comput. Syst. Sci."} + +MACRO {scp} {"Sci. Comput. Programming"} + +MACRO {sicomp} {"SIAM J. Comput."} + +MACRO {tocs} {"ACM Trans. Comput. Syst."} + +MACRO {tods} {"ACM Trans. Database Syst."} + +MACRO {tog} {"ACM Trans. Gr."} + +MACRO {toms} {"ACM Trans. Math. Softw."} + +MACRO {toois} {"ACM Trans. Office Inf. Syst."} + +MACRO {toplas} {"ACM Trans. Program. Lang. Syst."} + +MACRO {tcs} {"Theoretical Comput. Sci."} + +READ + +FUNCTION {sortify} +{ purify$ + "l" change.case$ +} + +INTEGERS { len } + +FUNCTION {chop.word} +{ 's := + 'len := + s #1 len substring$ = + { s len #1 + global.max$ substring$ } + 's + if$ +} + +FUNCTION {sort.format.names} +{ 's := + #1 'nameptr := + "" + s num.names$ 'numnames := + numnames 'namesleft := + { namesleft #0 > } + { nameptr #1 > + { " " * } + 'skip$ + if$ + s nameptr "{vv{ } }{ll{ }}{ f{ }}{ jj{ }}" format.name$ 't := + nameptr numnames = t "others" = and + { "et al" * } + { t sortify * } + if$ + nameptr #1 + 'nameptr := + namesleft #1 - 'namesleft := + } + while$ +} + +FUNCTION {sort.format.title} +{ 't := + "A " #2 + "An " #3 + "The " #4 t chop.word + chop.word + chop.word + sortify + #1 global.max$ substring$ +} + +FUNCTION {author.sort} +{ author empty$ + { key empty$ + { "to sort, need author or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.editor.sort} +{ author empty$ + { editor empty$ + { key empty$ + { "to sort, need author, editor, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { editor sort.format.names } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {author.organization.sort} +{ author empty$ + { organization empty$ + { key empty$ + { "to sort, need author, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { author sort.format.names } + if$ +} + +FUNCTION {editor.organization.sort} +{ editor empty$ + { organization empty$ + { key empty$ + { "to sort, need editor, organization, or key in " cite$ * warning$ + "" + } + { key sortify } + if$ + } + { "The " #4 organization chop.word sortify } + if$ + } + { editor sort.format.names } + if$ +} + +FUNCTION {presort} +{ type$ "book" = + type$ "inbook" = + or + 'author.editor.sort + { type$ "proceedings" = + 'editor.organization.sort + { type$ "manual" = + 'author.organization.sort + 'author.sort + if$ + } + if$ + } + if$ + " " + * + year field.or.null sortify + * + " " + * + title field.or.null + sort.format.title + * + #1 entry.max$ substring$ + 'sort.key$ := +} + +ITERATE {presort} + +SORT + +STRINGS { longest.label } + +INTEGERS { number.label longest.label.width } + +FUNCTION {initialize.longest.label} +{ "" 'longest.label := + #1 'number.label := + #0 'longest.label.width := +} + +FUNCTION {longest.label.pass} +{ number.label int.to.str$ 'label := + number.label #1 + 'number.label := + label width$ longest.label.width > + { label 'longest.label := + label width$ 'longest.label.width := + } + 'skip$ + if$ +} + +EXECUTE {initialize.longest.label} + +ITERATE {longest.label.pass} + +FUNCTION {begin.bib} +{ preamble$ empty$ + 'skip$ + { preamble$ write$ newline$ } + if$ + "\begin{thebibliography}{" longest.label * "}" * write$ newline$ +} + +EXECUTE {begin.bib} + +EXECUTE {init.state.consts} + +ITERATE {call.type$} + +FUNCTION {end.bib} +{ newline$ + "\end{thebibliography}" write$ newline$ +} + +EXECUTE {end.bib} diff --git a/inst/rmarkdown/templates/josis/skeleton/josisexample.bib b/inst/rmarkdown/templates/josis/skeleton/josisexample.bib new file mode 100644 index 000000000..01a71bc2e --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/josisexample.bib @@ -0,0 +1,94 @@ +%% This BibTeX bibliography file was created using BibDesk. +%% http://bibdesk.sourceforge.net/ + +@article{huck15.JOSIS, + Author = {Huck, J.J. and Whyatt, J.D. and Coulton, P.}, + Doi = {\mydoi{10.5311/JOSIS.2015.10.211}}, + Journal = {Journal of Spatial Information Science}, + Number = {10}, + Pages = {47--66}, + Title = {Visualizing patterns in spatially ambiguous point data}, + Year = {2015}} + +@article{zhong16.IJGIS, + Author = {Xu Zhong and Matt Duckham}, + Doi = {\mydoi{10.1080/13658816.2016.1216995}}, + Journal = {International Journal of Geographical Information Science}, + Title = {An efficient incremental algorithm for generating the characteristic shape of a dynamic set of points in the plane}, + Volume = {In press}, + Year = {2016}} + + @article{overEtAl2010, + Author = {Over, M. and Schilling, A. and Neubauer, S. and Zipf, A.}, + Doi = {\mydoi{10.1016/j.compenvurbsys.2010.05.001}}, + Journal = {Computers, Environment and Urban Systems}, + Number = {6}, + Pages = {496--507}, + Title = {Generating web-based {3D} City Models from {OpenStreetMap}: The current situation in {Germany}}, + Volume = {34}, + Year = {2010}} + +@article{arkin, + Author = {Arkin, E.M. and Chew, L.P. and Huttenlocher, D.P. and Kedem, K. and Mitchell, J.S.B.}, + Doi = {\mydoi{10.1109/34.75509}}, + Journal = {IEEE Transactions on Pattern Analysis and Machine Intelligence}, + Number = {3}, + Pages = {209--216}, + Title = {An efficiently computable metric for comparing polygonal shapes}, + Volume = {13}, + Year = {1991}} + +@book{bailey, + Author = {Bailey, Trevor C and Gatrell, Anthony C}, + Doi = {\mydoi{10.2307/2265559}}, + Publisher = {Longman Scientific \& Technical}, + Title = {Interactive spatial data analysis}, + Address = {Essex, UK}, + Year = {1995}} + +@book{miller09.BOOK, + Address = {Boca Raton, FL}, + Editor = {Miller, H. J. and Han, J.}, + Publisher = {CRC Press}, + Title = {Geographic data mining and knowledge discovery}, + Year = {2009}} + +@inproceedings{champion11, + Author = {Champion, Nicolas and Boldo, Didier and Pierrot-Deseilligny, Marc and Stamon, Georges}, + Booktitle = {Proc.~IEEE International Geoscience and Remote Sensing Symposium (IGARSS)}, + Doi = {\mydoi{10.1109/igarss.2011.6049332}}, + Pages = {1421--1424}, + Title = {{2D} change detection from satellite imagery: Performance analysis and impact of the spatial resolution of input images}, + Year = {2011}} + +@phdthesis{ruas99, + Author = {Ruas, Anne}, + Keywords = {gen-model}, + School = {Universit\'{e} de Marne-la-Vall\'{e}e}, + Title = {Mod\`{e}le de g\'{e}n\'{e}ralisation de donn\'{e}es g\'{e}ographiques \`{a} base de contraintes et d'autonomie}, + Year = {1999}} + +@incollection{Grosso12, + Author = {Grosso, Eric and Perret, Julien and Brasebin, Micka\"{e}l}, + Booktitle = {Innovative Software Development in {GIS}}, + Chapter = {3}, + Editor = {Bucher, B\'{e}n\'{e}dicte and Le Ber, Florence}, + Pages = {67--90}, + Publisher = {John Wiley \& Sons}, + Title = {{GEOXYGENE}: An Interoperable Platform for Geographical Application Development}, + Year = {2012}} + +@techreport{blasertr, + Author = {Blaser, A}, + Institution = {National Center for Geographic Information and Analysis (NCGIA)}, + Month = {June}, + Number = {TR 98-1}, + Title = {Geo-spatial Sketches}, + Year = {1998}} + +@misc{web, + Author = {{Argosy Publications}}, + Howpublished = {\url{http://www.visiblebody.com/index.html}}, + Note = {Last Accessed June 20, 2015}, + Title = {{Visible Body}}, + Year = {2008}} diff --git a/inst/rmarkdown/templates/josis/skeleton/skeleton.Rmd b/inst/rmarkdown/templates/josis/skeleton/skeleton.Rmd new file mode 100644 index 000000000..afdf44ecb --- /dev/null +++ b/inst/rmarkdown/templates/josis/skeleton/skeleton.Rmd @@ -0,0 +1,182 @@ +--- +title: "Long Title for JOSIS Article" +runningtitle: "Short Title for JOSIS Article" +output: rticles::josis_article +# to use bookdown cross references +# output: +# bookdown::pdf_book: +# base_format: rticles::josis_article +author: + - name: Alice Anonymous + email: alice@example.com + affiliation: Some Institute of Technology + - name: Bob Security + firstname: Bob + surname: Security + email: bob@example.com + affiliation: Another University +keywords: "add, five, to, ten, comma, separated, keywords" +abstract: "Add your article abstract here, + 150-250 words." +bibliography: josisexample.bib +--- + + + + +# Introduction + +This template provides a guide to formatting articles for submission to the Journal of Spatial Information Science, JOSIS, \burl{http://josis.org}. When preparing an article for submission, please follow this template closely, referring to past JOSIS articles (open access on the JOSIS web site) for further examples. + +# RMarkdown + +The template can handle bullet points: + +- a +- b + +And tables (see Table \@ref(tab:t1)): + +```{r t1} +knitr::kable(head(mtcars), caption = "Test", booktabs = TRUE) +``` + +You can use concise citation syntax, e.g. [@champion11]. + +# Author guidelines + + + +\subsection{Manuscript preparation} +Manuscripts must be written in English in a clear, direct, and active style. All pages must be numbered sequentially. The manuscript should be submitted as a PDF file based on this \LaTeX template. + +\subsection{Title} +The title should be concise, and must not be more than 20 words. Authors should also provide a short ``running title.'' + +\subsection{Authors and institutional affiliations} +Authors are required to provide their full names and their institutional affiliations, omitting postal addresses. + +\subsection{Abstract} +The abstract should summarize the essential features of the article, and must not exceed 250 words for full papers. Abbreviations should be avoided in the abstract, and references should not be cited in the abstract. + +\subsection{Keywords} +Your submission must include between five and ten keywords for your article. Accepted manuscripts must additionally specify further index terms as appropriate. + +\subsection{Main Text} +The main text should be divided into separate sections, and may be further subdivided according to the areas to be discussed. The manuscript style must be uniform throughout the text using 11pt Palatino font. The first appearance of any abbreviations in the text should be preceded by the full term, unless it is a standard abbreviation or unit of measurement. Reference numbers should be given in square brackets in the text. Common or assimilated words from Latin or other languages should not be italicized, including per se, et al. + +\subsection{Style} + +Many examples of the journal style can be seen in existing JOSIS published articles, \url{http://josis.org}. Please pay particular attention to the following style requirements: + +\begin{itemize} +\item Spelling: Please use standard American English spelling throughout. +\item Punctuation: JOSIS uses standard American English punctuation. In +particular, please ensure: +\begin{itemize} +\item all lists items are always separated by +punctuation (e.g., ``a, b, and c'' but not ``a, b and c''); and +\item commas and periods always appear inside quotation marks (e.g., ``x, y, and z.'' but not ``x, y, and z''.). +\end{itemize} +\item Capitalization: JOSIS style is to only use capitals only for the +beginning of sentences, proper nouns, names (e.g., Norman, ArcMap) and, +where appropriate, acronyms (e.g., GIS). Please avoid capitalization of +other words (e.g., ``geographic information systems (GIS)'' but not +``Geographic Information Systems (GIS)'') and in titles, including section headings (e.g., ``Affordance-based individuation of junctions in Open Street Map" but not ``Affordance-Based Individuation of Junctions in Open Street Map''). +\end{itemize} + + +\subsection{Figures} +Figures and Tables must be numbered consecutively with a concise explanatory caption, and must be referred to in the main text with capitalized reference (e.g., ``Figure \ref{fig:1}'' or ``Table \ref{tab:1}''). Figures and Tables must appear in the text close to where they are first referred to in the main text. Figure and table captions come below the figure or table. Do not collect figures or tables together at the end of the article. Authors of accepted articles will need to supply high quality versions of all figures as separate .eps (encapsulated postscript) files. + + + + + + + +```{r fig1, fig.cap="Illustrative figure."} +plot(1:9, (1:9)^2) +``` + + +\begin{table} +\centering +\begin{tabular}{lrr} +\hline +Text column & Numerical column 1 & Numerical column 2\\ +\hline +First row& 10 & 0.003\\ +Second row& 52& 10.037\\ +Third row& 729 & 150.315\\ +...& ...& ...\\ +\hline +\end{tabular} +\caption{Example table with preferred line rules and alignment.}\label{tab:1} +\end{table} + +\subsection{Algorithms} + +Algorithms should be formatted using standard algorithm packages where possible, as in Algorithm~\ref{alg:1}. + +\begin{algorithm}[htb] +\caption{Example algorithm formatting after \cite{zhong16.IJGIS}} \label{alg:1} +\footnotesize +\begin{algorithmic} [1] % enter the algorithmic environment +\Require A finite set of two-dimensional points $P \subset \mathbb{R} \times \mathbb{R}$ and one parameter $\lambda \in \mathbb{R}$ +\State Construct the Delaunay triangulation $DT(P)$ of $P$ +\State $\Delta \gets DT(P)$ +\State Construct the list $B$ of exterior edges of $DT(P)$ +\State Sort the list $B$ in descending order of edge length +\State Initialize the $v\!-\!boundary$ function +\State Set the root ($r$) of $\mathbf{T}_{{\chi}}(P,\, \lambda)$ to be \{edge = $\emptyset$, oppositeVertex = $\emptyset$, length = $\emptyset$\} +\State Construct the list of parent nodes ($PN$) for the elements in $B$ +\State Set each element in $PN$ to be $r$ +\State $O(P,\, \lambda) \gets \emptyset$ +\While{$B$ is not empty} + \State $e = \{d_1,\, d_2\} \gets$ pop($B$) + \State $p \gets$ pop($PN$) + \State $o \gets$ opposite vertex of $e$ in $\Delta$ + \State $N \gets$ \{edge = $e$, oppositeVertex = $o$, length = $||e||$\} + \State Insert $N$ in $\mathbf{T}_{{\chi}}(P,\, \lambda)$ as a child of $p$ + \State $node(d_1) \gets N$ + \State $node(d_2) \gets N$ + \State Append $N$ to $O(P,\, \lambda)$ + \If{$||e|| > \lambda$ \textbf{and} $v\!-\!boundary(o) = false$} + \State Remove $e$ from $\Delta$ + \State $v\!-\!boundary(o) = true$ + \State Insert the arms of $e$ in $\Delta$ into $B$ in order of edge length + \State Insert $N$ into $PN$ at the corresponding position of the arms of $e$ in $B$ + \EndIf +\EndWhile +\State \textbf{Return} $\chi(P,\, \lambda)$ formed by leaves of $\mathbf{T}_{{\chi}}(P,\, \lambda)$, $DT(P)$, $\mathbf{T}_{{\chi}}(P,\, \lambda)$ and $O(P,\, \lambda)$ +\end{algorithmic} +\end{algorithm} + +\subsection{Footnotes} +Footnotes are strongly discouraged in text. Where footnotes must be used, they should be numbered consecutively. + +# References + +References must be listed in the numerical system (ACM). Citations must be numbered sequentially [in square brackets] in the main text. Full numbered references must be listed in the reference section in alphabetical order. The reference numbers must be finalized and the bibliography must be fully formatted before submission. Examples of citation styles included in the bibliography for this document include journal articles \cite{overEtAl2010,arkin}, authored books \cite{bailey}, edited books \cite{miller09.BOOK}, articles in proceedings \cite{champion11}, articles in books or collections \cite{Grosso12}, theses \cite{ruas99}, technical reports \cite{blasertr}, and web resources \cite{web}. + + +\subsection{DOIs} + +All JOSIS articles must list the DOI of all references, where a DOI exists, see +\url{http://josis.org/index.php/josis/about/submissions#authorGuidelines} for examples. Please check carefully to add the DOIs for cited references, +adding DOIs to all references that have one. DOIs may be added in the ``doi'' field of the bibtex file. + +DOIs can be found via \url{http://www.crossref.org/guestquery/} as well as many +other search engines and publisher pages (e.g., Scopus, SpringerLink). + + +\section{About JOSIS} + +The Journal of Spatial Information Science (JOSIS) is an international, interdisciplinary, open-access journal dedicated to publishing high-quality, original research articles in spatial information science. The journal aims to publish research spanning the theoretical foundations of spatial and geographical information science, through computation with geospatial information, to technologies for geographical information use. + +JOSIS encourages submissions from topics including, but not limited to spatial and spatiotemporal information systems; computational geometry, geocomputation, spatial algorithms; geovisualization, cartography, and geographical user interfaces; computing with spatiotemporal information under uncertainty; spatial cognition and qualitative spatial reasoning; spatial data models and structures; conceptual models of space and geoontology; distributed and parallel spatial computing, web-based GIS, and interoperability; context- and location-aware computing; and applications to GIS, spatial databases, location-based services, geosensor networks, and geosensor web. The journal publishes full-length original research articles, as well as survey-style review papers. In addition, the journal publishes shorter articles in three sections: reports from community activities, letters to the editors, and book reviews. + +\section*{Acknowledgments} + +Acknowledgments appear in a separate unnumbered section before the bibliography. Please acknowledge anyone (individual/company/institution) who has contributed to the study, including substantial contributions to the conception, design, acquisition of data; analysis and interpretation of data; drafting the manuscript; or provided critical comments resulting in revisions to content. For each author, please list the source(s) of any funding or financial contributions related to the study. diff --git a/inst/rmarkdown/templates/josis/template.yaml b/inst/rmarkdown/templates/josis/template.yaml new file mode 100644 index 000000000..cff2e4430 --- /dev/null +++ b/inst/rmarkdown/templates/josis/template.yaml @@ -0,0 +1,4 @@ +name: Journal of Spatial Information Science +description: > + This template is for authors who are preparing a manuscript for JOSIS. +create_dir: true diff --git a/man/article.Rd b/man/article.Rd index c040c3844..01c04d450 100644 --- a/man/article.Rd +++ b/man/article.Rd @@ -18,6 +18,7 @@ \alias{glossa_article} \alias{ims_article} \alias{jasa_article} +\alias{josis_article} \alias{lipics_article} \alias{jedm_article} \alias{mdpi_article} @@ -101,6 +102,8 @@ jasa_article( citation_package = "natbib" ) +josis_article(..., keep_tex = TRUE, citation_package = "default") + lipics_article( ..., latex_engine = "xelatex", @@ -262,6 +265,12 @@ Journal of the Acoustical Society of America. Adapted from \url{https://acousticalsociety.org/preparing-latex-manuscripts/}. } +\section{\code{josis_article}}{ + Format for creating submissions to the +Journal of Spatial Information Science. Adapted from +\samp{https://www.overleaf.com/latex/templates/journal-of-spatial-information-science-template/bmdhbgxnhtqx}. +} + \section{\code{lipics_article}}{ Format for creating submissions to LIPIcs - Leibniz International Proceedings Informatics - articles. diff --git a/tests/testit/test-formats.R b/tests/testit/test-formats.R index 1313ce929..e3a24fe5d 100644 --- a/tests/testit/test-formats.R +++ b/tests/testit/test-formats.R @@ -49,6 +49,7 @@ test_format("ieee") test_format("ims") test_format("ims", output_options = list(journal = "aap")) test_format("jasa") +test_format("josis") test_format("joss") test_format("joss", output_options = list(journal = "JOSE")) test_format("jss")