ReScience C (rescience)
The ReScience C article template (a journal for replications of computational studies, mostly computational neuroscience and ecology): rescience.cls with the journal's header block (editor, reviewers, dates, code and data DOIs), the editorial 'ReScience (R)evolution' as sample text, and biblatex numeric citations.
- Category
- Journal
- Document class
rescience(rescience.cls) — ships with TeX Live- Workflow
- Journal manuscript — submissions and revision rounds
- Author
- ReScience C
- Source
- ReScience C
- Licence
- rescience.cls: Creative Commons. The sample text is ReScience C's, provided for authors preparing a submission.
These are the publisher’s own files. This project starts from ReScience C’s package for this publication — their manuscript, their rescience.cls, their bibliography style — so what compiles here is what they would have given you.
ReScience C serves this exact file to ReScience C. Check ReScience C’s author pages for the current instructions.
Where this differs from the publisher’s download.
- Changed: metadata.tex: \codeSWH (the Software Heritage id the header prints when set) is now defined, empty, as the header expects; content.tex: a sentence naming another online editor removed. Class and fonts unchanged (amend-r3.mjs, 2026-11-09)..
- Note: Article metadata (title, authors, editor, reviewers, dates, DOIs) is set in metadata.tex. The journal generates that file from metadata.yaml with a script after acceptance; edit metadata.tex directly here. The fonts are shipped in the project and must stay in their folders.
What you get
COPYING· 34 KBarticle.tex— the file that is compiled · 230 Bbibliography.bib· 3 KBcontent.tex· 6 KBheader.tex· 3 KBmetadata.tex· 2 KBrescience.cls· 13 KBroboto/Apache License.txt· 11 KBroboto/Roboto-Black.ttf· 167 KBroboto/Roboto-Medium.ttf· 168 KBroboto/Roboto-Regular.ttf· 168 KBroboto/RobotoCondensed-Bold.ttf· 138 KBroboto/RobotoCondensed-Light.ttf· 138 KBroboto/RobotoCondensed-LightItalic.ttf· 142 KBroboto/RobotoCondensed-Regular.ttf· 137 KBsource-code-pro/SIL Open Font License.txt· 4 KBsource-code-pro/SourceCodePro-Light.otf· 136 KBsource-code-pro/SourceCodePro-Regular.otf· 137 KBsource-serif-pro/SIL Open Font License.txt· 4 KBsource-serif-pro/SourceSerifPro-It.otf· 72 KBsource-serif-pro/SourceSerifPro-Light.otf· 212 KBsource-serif-pro/SourceSerifPro-LightIt.otf· 72 KBsource-serif-pro/SourceSerifPro-Regular.otf· 212 KB
These become your files. Editing them afterwards changes your project and nothing else — a project owns its files from the moment it is made.
Journals using this template
Source
COPYING — binary, 34 KB
article.tex — the file that is compiled · 230 B
\documentclass{rescience}
\begin{document}
\input{header.tex}
\input{content.tex}
\hypersetup{linkcolor=black,urlcolor=darkgray}
\renewcommand\emph[1]{{\bfseries #1}}
\setlength\bibitemsep{0pt}
\printbibliography
\end{document}bibliography.bib · 3 KB
@article{Rougier:2018,
doi = {10.1038/d41586-018-04628-w},
year = {2018},
month = apr,
publisher = {Springer Nature},
volume = {556},
number = {7701},
pages = {309--309},
author = {Rougier, Nicolas P. and Hinsen, Konrad},
title = {Code reviewing puts extra demands on referees },
journal = {Nature},
}
@article{Science:2018,
doi = {10.1126/science.359.6377.725},
author = {Hutson, Matthew},
url = {http://science.sciencemag.org/content/359/6377/725},
year = {2018},
month = feb,
volume = {359},
number = {6377},
title = {Artificial intelligence faces a replication crisis},
journal = {Science},
}
@Misc{Roboto:2011,
author = {Christian Robertson},
title = {The Roboto family of fonts (Google)},
url = {https://github.com/google/roboto},
year = 2011,
note = {Apache License, verison 2.0},
}
@Misc{SourceSerifPro:2014,
author = {Frank Grießhammer},
title = {Source Serif Pro (Adobe Systems)},
url = {https://github.com/adobe-fonts/source-serif-pro},
year = 2014,
note = {SIL Open Font License, version 1.1},
}
@Misc{SourceCodePro:2012,
author = {Paul D. Hunt},
title = {Source Code Pro (Adobe Systems)},
url = {https://github.com/adobe-fonts/source-code-pro},
year = 2012,
note = {SIL Open Font License, version 1.1},
}
@article{Topalidou:2015,
author = {Topalidou, Meropi and Rougier, Nicolas P.},
title = {{[Re] Interaction between cognitive and motor cortico-basal
ganglia loops during decision making: a computational study}},
journal = {ReScience},
year = 2015,
volume = 1,
number = 1,
doi = {10.5281/zenodo.27944},
}
@article{Rougier:2017,
doi = {10.7717/peerj-cs.142},
author = {Nicolas P. Rougier and Konrad Hinsen and Frédéric Alexandre
and Thomas Arildsen and Lorena Barba and Fabien
C. Y. Benureau and C. Titus Brown and Pierre de Buyl and Ozan
Caglayan and Andrew P. Davison and Marc André Delsuc and
Georgios Detorakis and Alexandra K. Diem and Damien Drix and
Pierre Enel and Benoît Girard and Olivia Guest and Matt
G. Hall and Rafael Neto Henriques and Xavier Hinaut and Kamil
S Jaron and Mehdi Khamassi and Almar Klein and Tiina Manninen
and Pietro Marchesi and Dan McGlinn and Christoph Metzner and
Owen L. Petchey and Hans Ekkehard Plesser and Timothée Poisot
and Karthik Ram and Yoav Ram and Etienne Roesch and Cyrille
Rossant and Vahid Rostami and Aaron Shifman and Joseph
Stachelek and Marcel Stimberg and Frank Stollmeier and
Federico Vaggi and Guillaume Viejo and Julien Vitay and Anya
Vostinar and Roman Yurchak and Tiziano Zito},
title = {{Sustainable computational science: the ReScience
initiative}},
journal = {{PeerJ} Computer Science},
month = 12,
volume = 3,
pages = {e142},
year = 2017,
github = {https://github.com/ReScience/ReScience-article-2},
keywords = {journal},
tags = {OS},
}
content.tex · 6 KB
Three years, we launched ReScience, a new scientific journal aimed at publishing the
replication of existing computational research. Since ReScience published its first
article\supercite{Topalidou:2015}, things have been
going steadily. We are still alive, independent and without a budget. In the
meantime, we have published around 24 articles (mostly in computational
neuroscience \& computational ecology) and the initial
\href{https://rescience-c.github.io/board/}{editorial board} has grown from
around 10 to roughly 100 members (editors and reviewers), we have advertised
ReScience at several conferences worldwide, gave some
interviews\supercite{Science:2018}, and published an article introducing
ReScience in PeerJ~CS\supercite{Rougier:2017}. Based on our
experience\supercite{Rougier:2018} at managing the journal during these three
years, we think that time is ripe for some changes.
\subsubsection{ReScience C \& ReScience X}
The biggest and most visible change we would like to propose is to change the
name of the journal ``ReScience'' in favor of ``ReScience C'' where the C
stands for (c)omputational. This change would be necessary to have consistent
naming with the upcoming creation of the ``ReScience X'' journal that will be
dedicated to e(x)perimental replications and co-directed by E.Roesch
(University of Reading) and N.Rougier (University of Bordeaux). The name
``ReScience'' would then be used for the name of a non-profit organization
(that is yet to be created) for the two journals as well as future journals
(such as the utopian CoScience\supercite{Rougier:2017} or a future and
tentative ``ReScience T'' for theoretical science).
\subsubsection{A new submission process}
The current submission process requires authors to fork, clone and branch the
submission repository in order to write their article and to place code and
data at the relevant places in the forked repository. Once done, authors have
to push their changes and to make a pull request that is considered as a
submission. This process is cumbersome for authors and has induced many
troubles for editors as well once the article is accepted and ready to be
published, mostly because of the complexity of the editing procedure. In order
to make life easier for everyone, we greatly simplified the submission process
for ReScience C and X. Authors are now responsible for getting a DOI for their
code \& data and only have to submit a PDF and a metadata file in a GitHub
issue.
We also provide Python programs that largely automate the subsequent editing
process. We will still archive the submission on Zenodo but this archive will
be made for the final PDF only. However, both the PDF and the Zenodo entry will
contain all associated DOIs (data and code).
\subsubsection{A simplified publishing process}
In ReScience, we have been using a combination of
\href{https://daringfireball.net/projects/markdown/syntax}{markdown} and
\href{http://pandoc.org/}{pandoc} for producing both the draft and the final
version of all the published articles. This had worked reasonably well until it
started to cause all kind of problems for both authors and editors, especially
with the reference and citation plugins. Consequently, articles will be now
submitted directly in PDF with accompanying metadata in a separate file using
the \href{https://en.wikipedia.org/wiki/YAML}{YAML} format (they were
previously embedded in the markdown file). Once an article has been accepted,
authors will be responsible for updating the metadata and for rebuilding the PDF if
necessary. We could also consider using the
\href{https://github.com/openjournals/whedon}{Whedon} API that helps with automating
most of the editorial tasks for \href{http://joss.theoj.org/}{JOSS} and
\href{http://jose.theoj.org/}{JOSE}. This will most probably require some
tweaking because our publishing pipeline is a bit different.
\subsubsection{A new design}
The combination of markdown and pandoc has also severely limited the layout and
style possibilities for the article template and since we are switching to
\LaTeX, this is the opportunity to propose a new design based on a more elegant
style, using a new font stack\supercite{SourceSerifPro:2014, Roboto:2011,
SourceCodePro:2012} (you are currently reading it). The goal is to have a
subtle but strong identity with enhanced readability. Considering that articles
will be mostly read on screen (as opposed to printed), we can benefit from a
more ethereal style. If a \TeX~expert is ready to help review
the template (and possibly rewrite it as a class), their help would be much
welcome and appreciated. The same holds for LibreOffice, Word or Pages, any
template is welcome, just contact us beforehand such that we can coordinate
efforts.
\subsubsection{Editorials, letters and special issues}
ReScience C remains dedicated to the publication of computational replications
but we (i.e., the editorial team) would like to have the opportunity to
publish \emph{editorials} when deemed necessary and to give anyone the
opportunity to write \emph{letters} to the community on a specific topic
related to reproducibility. Both editorials and letters are expected to be 1 or
2 pages long (but no hard limit will be enforced), will be (quickly) peer reviewed,
and will be assigned a DOI. Furthermore, with the advent of reproducibility
hackathons worldwide, we will host {\em special issues} with guest editors (such
as, for example, the organizers of a hackathon) in order to publish the results
and to enhance their discoverability. Each entry will have to go through the
regular open peer-reviewed pipeline.\\
We hope that most readers will agree on the proposed changes such that we can
commit to them in the next few weeks. The review for this editorial is open (as
usual) and anyone can comment on and/or oppose any of the proposed changes. New
ideas are also welcome.
header.tex · 3 KB
%% ----------------------------------------------------------------------------
%% ReScience article template
%% Copyright (c) 2018 N.P. Rougier,
%% Released under a Creative Commons Attribution 4.0 International license.
%% ----------------------------------------------------------------------------
%% --- Top left header --------------------------------------------------------
\begin{tikzpicture}[remember picture, overlay]
\node [shape=rectangle, draw=darkred, fill=darkred, yshift=-34mm,
anchor=north west, minimum width=3.75cm, minimum height=10mm]
at (current page.north west) {};
\node [text=white, anchor=center, yshift=-39mm, xshift=1.875cm]
at (current page.north west) {\small \SpaceRoboto RESCIENCE C};
\end{tikzpicture}
%% --- Title -------------------------------------------------------------------
{\let\newpage\relax\maketitle} \maketitle
%% --- Margin information -----------------------------------------------------
\marginnote{
\footnotesize \sffamily
\textbf{Edited by}\\
\ifdefempty{\editorNAME}{\textcolor{darkgray}{(Editor)}}
{\editorNAME\ifdefempty{\editorORCID}{}{$^{\orcid{\editorORCID}}$}}\\
~\\
%%
\ifdefempty{\reviewerINAME}{}
{
\textbf{Reviewed by}\\
\ifdefempty{\reviewerINAME}{\textcolor{darkgray}{}}
{\reviewerINAME\ifdefempty{\reviewerIORCID}{}{$^{\orcid{\reviewerIORCID}}$}\\}
\ifdefempty{\reviewerIINAME}{\textcolor{darkgray}{}}
{\reviewerIINAME\ifdefempty{\reviewerIIORCID}{}{$^{\orcid{\reviewerIIORCID}}$}\\}
~\\
}
%%
\textbf{Received}\\
\ifdefempty{\dateRECEIVED}{---}{\dateRECEIVED}\\
~\\
%%
\textbf{Published}\\
\ifdefempty{\datePUBLISHED}{---}{\datePUBLISHED}\\
~\\
%%
\textbf{DOI}\\
\ifdefempty{\articleDOI}{---}{\articleDOI}
}
%% --- Bottom statement -------------------------------------------------------
\newcommand{\container}[1]{\def\@container{#1}}
\begin{container}
\afterpage {
\begin{statement}
\scriptsize \sffamily
\hrule \vskip .5em
Copyright © \articleYEAR~\authorsABBRV,
released under a Creative Commons Attribution 4.0 International license.
Correspondence should be addressed to
\contactNAME~(\href{mailto:\contactEMAIL}{\contactEMAIL})
The authors have declared that no competing interests exist.
\ifdefempty{\codeURL}{}
{Code is available at
\href{\codeURL}{\detokenize\expandafter{\codeURL}}\ifdefempty{\codeDOI}{.}{ -- DOI \doi{\codeDOI}.}\ifdefempty{\codeSWH}{.}{ -- SWH \href{https://archive.softwareheritage.org/\codeSWH/}{\detokenize\expandafter{\codeSWH}}.}}
\ifdefempty{\dataURL}{}
{Data is available at
\href{\dataURL}{\detokenize\expandafter{\dataURL}}\ifdefempty{\dataDOI}{.}{ -- DOI \doi{\dataDOI}.}}
\ifdefempty{\reviewURL}{}
{Open peer review is available at \href{\reviewURL}{\detokenize\expandafter{\reviewURL}}.}
\end{statement}
}
\end{container}
%% --- Abstract ---------------------------------------------------------------
%% \ifdefempty{\articleABSTRACT}{}{
%% {\small \sffamily \textbf{Abstract} \articleABSTRACT \par}
%% }
%% --- Replication ------------------------------------------------------------
%% \ifdefempty{\replicationBIB}{}{
%% {\small \sffamily \bfseries A replication of}
%% \ifdefempty{\replicationURL}
%% {\href{http://doi.org/\replicationDOI}{\small \sffamily \replicationBIB}}
%% {\href{\replicationURL}{\small \sffamily \replicationBIB}}.
%% \par }
metadata.tex · 2 KB
% DO NOT EDIT - automatically generated from metadata.yaml
\def \codeURL{https://github.com/rescience-c/template}
\def \codeDOI{}
\def \codeSWH{}
\def \dataURL{}
\def \dataDOI{}
\def \editorNAME{}
\def \editorORCID{}
\def \reviewerINAME{}
\def \reviewerIORCID{}
\def \reviewerIINAME{}
\def \reviewerIIORCID{}
\def \dateRECEIVED{01 November 2018}
\def \dateACCEPTED{}
\def \datePUBLISHED{}
\def \articleTITLE{ReScience (R)evolution}
\def \articleTYPE{Editorial}
\def \articleDOMAIN{}
\def \articleBIBLIOGRAPHY{bibliography.bib}
\def \articleYEAR{2019}
\def \reviewURL{}
\def \articleABSTRACT{Three years have passed since ReScience published its first article and since September 2015, things have been going steadily. We're still alive, independent and without a budget. In the meantime, we have published around 20 articles (mostly in computational neuroscience \& computational ecology) and the initial has grown from around 10 to roughly 100 members (editors and reviewers), we have advertised ReScience at several conferences worldwide, gave some interviews and we published an article introducing ReScience in PeerJ. Based on our experience at managing the journal during these three years, we think the time is ripe for proposing some changes.}
\def \replicationCITE{}
\def \replicationBIB{}
\def \replicationURL{}
\def \replicationDOI{}
\def \contactNAME{Nicolas P. Rougier}
\def \contactEMAIL{[email protected]}
\def \articleKEYWORDS{rescience c, rescience x}
\def \journalNAME{ReScience C}
\def \journalVOLUME{4}
\def \journalISSUE{1}
\def \articleNUMBER{}
\def \articleDOI{}
\def \authorsFULL{Konrad Hinsen and Nicolas P. Rougier}
\def \authorsABBRV{K. Hinsen and N.P. Rougier}
\def \authorsSHORT{Hinsen and Rougier}
\title{\articleTITLE}
\date{}
\author[1,2,\orcid{0000-0003-0330-9428}]{Konrad Hinsen}
\author[3,4,5,\orcid{0000-0002-6972-589X}]{Nicolas P. Rougier}
\affil[1]{Centre de Biophysique Moléculaire, CNRS UPR4301, Orléans, France}
\affil[2]{Synchrotron SOLEIL, Division Expériences, Gif sur Yvette, France}
\affil[3]{INRIA Bordeaux Sud-Ouest, Bordeaux, France}
\affil[4]{LaBRI, Université de Bordeaux, Institut Polytechnique de Bordeaux, Centre National de la Recherche Scientifique, UMR 5800, Talence, France}
\affil[5]{Institut des Maladies Neurodégénératives, Université de Bordeaux, Centre National de la Recherche Scientifique, UMR 5293, Bordeaux, France}
rescience.cls · 13 KB
%% ----------------------------------------------------------------------------
%% ReScience article template
%% Copyright (c) 2018 N.P. Rougier,
%% Released under a Creative Commons Attribution 4.0 International license.
%% ----------------------------------------------------------------------------
%% Dependencies:
%% * metadata.tex
%% * header.tex
%% * content.tex
%% ----------------------------------------------------------------------------
%% 2020-07-18 B. Roukema - Change DOI links in references to open access DOI oadoi.org;
%% - Insert \sloppy option for references;
%% - Make URL texts copy/pastable by redefining \nolinkurl;
%% - Remove space from eprint identifers.
%% ----------------------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{rescience}[2019/04/12 Style for ReScience articles]
\LoadClass[a4paper, oneside, 10pt]{article}
% ---- Encoding ---------------------------------------------------------------
% \RequirePackage[utf8]{inputenc}
% --- Langage -----------------------------------------------------------------
\RequirePackage[american]{babel}
% --- Various packages --------------------------------------------------------
\RequirePackage{ifthen}
\RequirePackage{tabularx}
\RequirePackage{tikz}
\RequirePackage{marginnote}
\RequirePackage{csquotes}
% --- Mathematics -------------------------------------------------------------
\RequirePackage{amsmath}
\RequirePackage{mathtools}
% --- Page layout -------------------------------------------------------------
\RequirePackage[a4paper]{geometry}
\geometry{left=4.5cm, right=3cm, top=3cm, bottom=3.5cm,
heightrounded, headheight=12.1pt,
marginparwidth=3cm, marginparsep=0.75cm, footskip=2cm}
\reversemarginpar
% --- Font stack --------------------------------------------------------------
%% PDFLaTeX
%% \RequirePackage[light,condensed]{roboto} % Sans Serif
%% \RequirePackage[default,light,semibold,tabular]{sourceserifpro} % Roman
%% \RequirePackage[varqu]{zi4} % Monotype
%% \makeatletter
%% \def\bfseries@sf{sb}
%% \makeatother
% XeLaTeX
\RequirePackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont{Source Serif Pro}[
Path = ./source-serif-pro/SourceSerifPro-, Extension = .otf,
UprightFont= Light,
ItalicFont = LightIt,
BoldFont = Regular,
BoldItalicFont = It,
]
\setsansfont{Roboto Condensed}[
Path = ./roboto/RobotoCondensed-, Extension = .ttf,
UprightFont = Light,
BoldFont = Regular,
ItalicFont = LightItalic
]
\setmonofont{Source Code Pro}[
Path = ./source-code-pro/SourceCodePro-, Extension = .otf,
UprightFont = Light,
BoldFont = Regular
]
\newfontfamily\RobotoCon{Roboto Condensed}[
Path = ./roboto/RobotoCondensed-, Extension = .ttf,
UprightFont = Regular,
BoldFont = Bold
]
\newfontfamily\Roboto{Roboto}[
Path = ./roboto/Roboto-, Extension = .ttf,
UprightFont = Regular,
BoldFont = Black
]
\newfontfamily\SpaceRoboto{Roboto}[
Path = ./roboto/Roboto-, Extension = .ttf,
UprightFont = Regular,
BoldFont = Medium,
UprightFeatures={LetterSpace=35},
BoldFeatures={LetterSpace=35}
]
\RequirePackage{microtype}
% --- Colors ------------------------------------------------------------------
\RequirePackage{xcolor}
\definecolor{darkred}{HTML}{CF232B}
\definecolor{darkblue}{HTML}{2B23CF}
\definecolor{darkgray}{HTML}{555555}
\definecolor{lightgray}{HTML}{cccccc}
\colorlet{citecolor}{black}
\colorlet{linkcolor}{darkgray}
\colorlet{urlcolor}{darkgray}
% -- Section titles & ToC -----------------------------------------------------
\RequirePackage{titlesec}
%% \titleformat{\section}
%% {\Large\sffamily\bfseries}{\thesection}{0.25em}{}
%% \titleformat{\subsection}
%% {\large\sffamily\bfseries}{\thesection}{0.25em}{}
\titleformat{\section}{\Large\sffamily\bfseries}
{\llap{{\textcolor{lightgray}{\normalfont\sffamily\thesection}}\hskip 0.5em}}{0em}{}
\titleformat{\subsection}{\large\sffamily\bfseries}
{\llap{{\textcolor{lightgray}{\normalfont\sffamily\thesubsection}}\hskip 0.5em}}{0em}{}
\titleformat{\subsubsection}[runin]
{\normalfont\sffamily\bfseries}{}{0em}{}[\mbox{ --- }]
\titlespacing{\subsubsection}
{0pt} % left
{3.25ex plus 1ex minus .2ex} % before
{0pt} % after
%% \allsectionsfont{\normalfont\sffamily}
% --- Captions ----------------------------------------------------------------
\RequirePackage[labelsep=period]{caption}
\renewcommand{\captionfont}{\small}
\renewcommand{\captionlabelfont}{\small\sffamily\bfseries}
%% \captionsetup[figure]{justification=justified, singlelinecheck=false}
%% \captionsetup[table]{justification=justified, singlelinecheck=false}
%% \captionsetup[listing]{justification=justified, singlelinecheck=false}
% --- Hyperref & colors -------------------------------------------------------
\RequirePackage[pdfusetitle,
bookmarks=true,
breaklinks=true,
pdfborder={0 0 0},
citecolor=citecolor,
linkcolor=linkcolor,
urlcolor=urlcolor,
colorlinks=true,
linktocpage=false,
hyperindex=true,
colorlinks=true,
linktocpage=false,
linkbordercolor=white]{hyperref}
\hypersetup{linkcolor=black,urlcolor=darkgray}
\urlstyle{sf}
% --- Listings ----------------------------------------------------------------
\RequirePackage{listings}
\lstset{%
basicstyle=\ttfamily\small,
keywordstyle=\color{black},
commentstyle=\color{gray},
stringstyle=\color{black},
backgroundcolor=\color{white},
numbers=none,
numberstyle=\ttfamily,
stepnumber=2,
showspaces=false,
showstringspaces=false,
showtabs=false,
frame=none,
framerule=0.5pt,
tabsize=2,
rulesep=5em,
captionpos=b,
breaklines=true,
breakatwhitespace=false,
framexleftmargin=0em,
xleftmargin=0em,
framexrightmargin=0em,
xrightmargin=0em,
aboveskip=0.5em,
belowskip=0.5em,
}
% --- Text Layout -------------------------------------------------------------
% No indentation at beginning of a new paragraph
\setlength\parindent{0pt}
% No space between items in itemize and enuemrate lists
\RequirePackage{enumitem}
%\setlist[itemize]{noitemsep}
%\setlist[enumerate]{noitemsep}
\renewcommand*{\marginfont}{\scriptsize\sffamily}
%\linespread{1.1}
% --- Authors block -----------------------------------------------------------
\RequirePackage{authblk,etoolbox}
\makeatletter
% patch \maketitle so that it doesn't center
\patchcmd{\@maketitle}{center}{flushleft}{}{}
\patchcmd{\@maketitle}{center}{flushleft}{}{}
% patch \maketitle so that the font size for the title is normal
\patchcmd{\@maketitle}{\LARGE}{\LARGE\sffamily\bfseries\vspace{-2.em}}{}{}
% patch the patch by authblk so that the author block is flush left
\def\maketitle{{%
\renewenvironment{tabular}[2][]
{\begin{flushleft}}
{\end{flushleft}}
\AB@maketitle}}
\makeatother
\setlength{\affilsep}{0.25em}
\renewcommand\Affilfont{\normalfont\sffamily\footnotesize}
\renewcommand\Authfont{\sffamily\bfseries\small}
% \renewcommand\Authands{\normalfont\sffamily\small}
\makeatletter
\renewcommand\AB@affilsepx{ -- \protect\Affilfont}
\makeatother
% --- Various convenient macros -----------------------------------------------
\RequirePackage[many]{tcolorbox}
\newtcbox{\iconbox}[1][]{%
enhanced,nobeforeafter,tcbox raise base,
boxrule=0.4pt, top=0pt, bottom=-1pt,
right=.1pt, left=.1pt, arc=1pt, boxsep=1pt,
fontupper={\tiny \sffamily}, before upper={\vphantom{dlg}},
colframe=white, colback=black!10!white, coltext=black}
\newcommand{\orcid}[1]{\href{https://orcid.org/#1}{\iconbox{ID}}}
\newcommand{\doi}[1]{\href{http://oadoi.org/#1}{#1}}
\newcommand{\github}[1]{\href{https://github.com/#1}{github.com/#1}}
% See https://tex.stackexchange.com/questions/99316/symbol-for-external-links
\newcommand{\ExternalLink}{%
\tikz[x=1.2ex, y=1.2ex, baseline=-0.05ex]{%
\begin{scope}[x=1ex, y=1ex]
\clip (-0.1,-0.1)
--++ (-0, 1.2)
--++ (0.6, 0)
--++ (0, -0.6)
--++ (0.6, 0)
--++ (0, -1);
\path[draw,
line width = 0.5,
rounded corners=0.5]
(0,0) rectangle (1,1);
\end{scope}
\path[draw, line width = 0.5] (0.5, 0.5)
-- (1, 1);
\path[draw, line width = 0.5] (0.6, 1)
-- (1, 1) -- (1, 0.6);
}
}
% --- Headers & footers -------------------------------------------------------
\input{metadata.tex}
\RequirePackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{plain}{}
\renewcommand{\headrulewidth}{0.0pt}
\lhead{
\ifthenelse{\value{page}=1}{}
{\scriptsize \sffamily \articleTITLE}
}
\chead{}
\rhead{\scriptsize \sffamily \bfseries
\ifdefempty{\articleDOI}{
% UNDER REVIEW
\fbox{UNDER REVIEW}
%\fcolorbox{lightgray}{lightgray}{\textcolor{white}{UNDER REVIEW}}
}
}
\renewcommand{\footrulewidth}{0.0pt}
\lfoot{\scriptsize \sffamily
\href{https://rescience.github.io/}{\bfseries \textcolor{black}{\journalNAME}}
\ifdefempty{\journalVOLUME}{}{\journalVOLUME.\journalISSUE~(\#\articleNUMBER)}
-- \authorsSHORT~\articleYEAR}
\cfoot{}
\rfoot{\scriptsize \sffamily \thepage}
% --- Bibliography ------------------------------------------------------------
\RequirePackage[
backend=biber,
style = numeric,
% style=authoryear,
sorting = none,
giveninits = true,
maxcitenames=3,
mincitenames=1,
maxbibnames=10,
isbn = false,
url = true,
doi = true,
autocite = superscript,
natbib = true]{biblatex}
\RequirePackage{bibentry}
\DeclareFieldFormat{labelnumberwidth}{#1\adddot}
\renewcommand*{\bibfont}{\small \sffamily}
\addbibresource{\articleBIBLIOGRAPHY}
\renewcommand{\citet}[1]{\citeauthor{#1}\supercite{#1}}
%% Add [] around citation superscripts to distinguish from footnotes
\usepackage{biblatex}
\DeclareCiteCommand{\supercite}[\mkbibsuperscript]
{\iffieldundef{prenote}
{}
{\BibliographyWarning{Ignoring prenote argument}}%
\iffieldundef{postnote}
{}
{\BibliographyWarning{Ignoring postnote argument}}%
\bibopenbracket}%
{\usebibmacro{citeindex}%
\usebibmacro{cite}}
{\supercitedelim}
{\bibclosebracket}
%Example for clickable title:
%\newbibmacro{string+doi}[1]{%
% \iffieldundef{doi}{#1}{\href{https://oadoi.org/\thefield{doi}}{#1}}}
%\DeclareFieldFormat{title}{\usebibmacro{string+doi}{\mkbibemph{#1}}}
%\DeclareFieldFormat[article]{title}{\usebibmacro{string+doi}{\mkbibquote{#1}}}
%% The https://oadoi.org domain chooses open-access versions of an
%% article, preferring publisher versions (gold open access) if
%% possible, otherwise preprints (green open access), and only falls
%% back to the paywalled version if nothing open-access (gold or
%% green) is available. We print the DOI as text to make sure that
%% it's accessible in printed version and to robots that only analyse
%% the printed text.
\DeclareFieldFormat{doi}{%
\mkbibacro{DOI}\addcolon\space
\ifhyperref
{\href{https://oadoi.org/#1}{\nolinkurl{#1}}}
{\nolinkurl{#1}}}
%% Add \sloppy because DOIs are quite often long.
\appto{\bibsetup}{\sloppy}
%% We want URLs to be copy/pastable; the default version of \nolinkurl
%% seems to not just make the URLs unlinked, but also inserts spaces
%% inside the URL, making any copy/pasted version unusable without
%% human intervention.
\renewcommand\nolinkurl[1]{#1}
%% Redefine ArXiv eprint format without a space. This is required
%% for ArXiv identifiers so that robots analysing the rendered pdf
%% text will correctly link to the identifiers. See
%% https://arxiv.org/help/arxiv_identifier . This is from biblatex.def,
%% but with \space removed.
\DeclareFieldFormat{eprint:arxiv}{%
arXiv\addcolon
\ifhyperref
{\href{http://arxiv.org/abs/#1}{%
\nolinkurl{#1}%
\iffieldundef{eprintclass}
{}
{\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
{\nolinkurl{#1}
\iffieldundef{eprintclass}
{}
{\addspace\texttt{\mkbibbrackets{\thefield{eprintclass}}}}}}
\DeclareFieldAlias{eprint:arXiv}{eprint:arxiv}
% --- Copyright statement -----------------------------------------------------
\RequirePackage{float}
\floatstyle{plain}
\newfloat{statement}{b!}{sst}
% --- PDF Information ---------------------------------------------------------
\hypersetup{
pdfauthor={\authorsFULL},
pdftitle={\articleTITLE},
pdfkeywords={\articleKEYWORDS},
pdfsubject={\articleTYPE, \articleDOMAIN},
pdfcreator={ReScience C (rescience.github.io)},
% pdfproducer={}
}
% --- Title -------------------------------------------------------------------
\title{
{\normalfont \sffamily \normalsize \textcolor{darkred}
{
\ifdefempty{\articleDOMAIN}{
\articleTYPE\\
}{
\articleTYPE~/~\articleDOMAIN\\
}
}
}
\vspace{-.25em} \RobotoCon \articleTITLE
}
%% ============================================================================
roboto/Apache License.txt · 11 KB
Font data copyright Google 2012
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.roboto/Roboto-Black.ttf — binary, 167 KB
roboto/Roboto-Medium.ttf — binary, 168 KB
roboto/Roboto-Regular.ttf — binary, 168 KB
roboto/RobotoCondensed-Bold.ttf — binary, 138 KB
roboto/RobotoCondensed-Light.ttf — binary, 138 KB
roboto/RobotoCondensed-LightItalic.ttf — binary, 142 KB
roboto/RobotoCondensed-Regular.ttf — binary, 137 KB
source-code-pro/SIL Open Font License.txt · 4 KB
Copyright 2010, 2012 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.source-code-pro/SourceCodePro-Light.otf — binary, 136 KB
source-code-pro/SourceCodePro-Regular.otf — binary, 137 KB
source-serif-pro/SIL Open Font License.txt · 4 KB
Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. All Rights Reserved. Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
PREAMBLE
The goals of the Open Font License (OFL) are to stimulate worldwide development of collaborative font projects, to support the font creation efforts of academic and linguistic communities, and to provide a free and open framework in which fonts may be shared and improved in partnership with others.
The OFL allows the licensed fonts to be used, studied, modified and redistributed freely as long as they are not sold by themselves. The fonts, including any derivative works, can be bundled, embedded, redistributed and/or sold with any software provided that any reserved names are not used by derivative works. The fonts and derivatives, however, cannot be released under any other type of license. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
DEFINITIONS
"Font Software" refers to the set of files released by the Copyright Holder(s) under this license and clearly marked as such. This may include source files, build scripts and documentation.
"Reserved Font Name" refers to any names specified as such after the copyright statement(s).
"Original Version" refers to the collection of Font Software components as distributed by the Copyright Holder(s).
"Modified Version" refers to any derivative made by adding to, deleting, or substituting -- in part or in whole -- any of the components of the Original Version, by changing formats or by porting the Font Software to a new environment.
"Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software.
PERMISSION & CONDITIONS
Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font Software, subject to the following conditions:
1) Neither the Font Software nor any of its individual components, in Original or Modified Versions, may be sold by itself.
2) Original or Modified Versions of the Font Software may be bundled, redistributed and/or sold with any software, provided that each copy contains the above copyright notice and this license. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
3) No Modified Version of the Font Software may use the Reserved Font Name(s) unless explicit written permission is granted by the corresponding Copyright Holder. This restriction only applies to the primary font name as presented to the users.
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font Software shall not be used to promote, endorse or advertise any Modified Version, except to acknowledge the contribution(s) of the Copyright Holder(s) and the Author(s) or with their explicit written permission.
5) The Font Software, modified or unmodified, in part or in whole, must be distributed entirely under this license, and must not be distributed under any other license. The requirement for fonts to remain under this license does not apply to any document created using the Font Software.
TERMINATION
This license becomes null and void if any of the above conditions are not met.
DISCLAIMER
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.source-serif-pro/SourceSerifPro-It.otf — binary, 72 KB
source-serif-pro/SourceSerifPro-Light.otf — binary, 212 KB
source-serif-pro/SourceSerifPro-LightIt.otf — binary, 72 KB
source-serif-pro/SourceSerifPro-Regular.otf — binary, 212 KB
The first page, as this template compiles today. Click it to enlarge, and again to shrink. Open the file ↗