288 lines
8.0 KiB
TeX
288 lines
8.0 KiB
TeX
% Options for packages loaded elsewhere
|
|
% Options for packages loaded elsewhere
|
|
\PassOptionsToPackage{unicode}{hyperref}
|
|
\PassOptionsToPackage{hyphens}{url}
|
|
\PassOptionsToPackage{dvipsnames,svgnames,x11names}{xcolor}
|
|
%
|
|
\documentclass[
|
|
american,
|
|
letterpaper,
|
|
DIV=11,
|
|
numbers=noendperiod]{scrartcl}
|
|
\usepackage{xcolor}
|
|
\usepackage{amsmath,amssymb}
|
|
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
|
|
\usepackage{iftex}
|
|
\ifPDFTeX
|
|
\usepackage[T1]{fontenc}
|
|
\usepackage[utf8]{inputenc}
|
|
\usepackage{textcomp} % provide euro and other symbols
|
|
\else % if luatex or xetex
|
|
\usepackage{unicode-math} % this also loads fontspec
|
|
\defaultfontfeatures{Scale=MatchLowercase}
|
|
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
|
|
\fi
|
|
\usepackage{lmodern}
|
|
\ifPDFTeX\else
|
|
% xetex/luatex font selection
|
|
\fi
|
|
% Use upquote if available, for straight quotes in verbatim environments
|
|
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
|
|
\IfFileExists{microtype.sty}{% use microtype if available
|
|
\usepackage[]{microtype}
|
|
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
|
|
}{}
|
|
\makeatletter
|
|
\@ifundefined{KOMAClassName}{% if non-KOMA class
|
|
\IfFileExists{parskip.sty}{%
|
|
\usepackage{parskip}
|
|
}{% else
|
|
\setlength{\parindent}{0pt}
|
|
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
|
|
}{% if KOMA class
|
|
\KOMAoptions{parskip=half}}
|
|
\makeatother
|
|
% Make \paragraph and \subparagraph free-standing
|
|
\makeatletter
|
|
\ifx\paragraph\undefined\else
|
|
\let\oldparagraph\paragraph
|
|
\renewcommand{\paragraph}{
|
|
\@ifstar
|
|
\xxxParagraphStar
|
|
\xxxParagraphNoStar
|
|
}
|
|
\newcommand{\xxxParagraphStar}[1]{\oldparagraph*{#1}\mbox{}}
|
|
\newcommand{\xxxParagraphNoStar}[1]{\oldparagraph{#1}\mbox{}}
|
|
\fi
|
|
\ifx\subparagraph\undefined\else
|
|
\let\oldsubparagraph\subparagraph
|
|
\renewcommand{\subparagraph}{
|
|
\@ifstar
|
|
\xxxSubParagraphStar
|
|
\xxxSubParagraphNoStar
|
|
}
|
|
\newcommand{\xxxSubParagraphStar}[1]{\oldsubparagraph*{#1}\mbox{}}
|
|
\newcommand{\xxxSubParagraphNoStar}[1]{\oldsubparagraph{#1}\mbox{}}
|
|
\fi
|
|
\makeatother
|
|
|
|
|
|
\usepackage{longtable,booktabs,array}
|
|
\usepackage{calc} % for calculating minipage widths
|
|
% Correct order of tables after \paragraph or \subparagraph
|
|
\usepackage{etoolbox}
|
|
\makeatletter
|
|
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{}
|
|
\makeatother
|
|
% Allow footnotes in longtable head/foot
|
|
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
|
|
\makesavenoteenv{longtable}
|
|
\usepackage{graphicx}
|
|
\makeatletter
|
|
\newsavebox\pandoc@box
|
|
\newcommand*\pandocbounded[1]{% scales image to fit in text height/width
|
|
\sbox\pandoc@box{#1}%
|
|
\Gscale@div\@tempa{\textheight}{\dimexpr\ht\pandoc@box+\dp\pandoc@box\relax}%
|
|
\Gscale@div\@tempb{\linewidth}{\wd\pandoc@box}%
|
|
\ifdim\@tempb\p@<\@tempa\p@\let\@tempa\@tempb\fi% select the smaller of both
|
|
\ifdim\@tempa\p@<\p@\scalebox{\@tempa}{\usebox\pandoc@box}%
|
|
\else\usebox{\pandoc@box}%
|
|
\fi%
|
|
}
|
|
% Set default figure placement to htbp
|
|
\def\fps@figure{htbp}
|
|
\makeatother
|
|
|
|
|
|
|
|
\ifLuaTeX
|
|
\usepackage[bidi=basic]{babel}
|
|
\else
|
|
\usepackage[bidi=default]{babel}
|
|
\fi
|
|
% get rid of language-specific shorthands (see #6817):
|
|
\let\LanguageShortHands\languageshorthands
|
|
\def\languageshorthands#1{}
|
|
\ifLuaTeX
|
|
\usepackage[english]{selnolig} % disable illegal ligatures
|
|
\fi
|
|
|
|
|
|
\setlength{\emergencystretch}{3em} % prevent overfull lines
|
|
|
|
\providecommand{\tightlist}{%
|
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\KOMAoption{captions}{tableheading}
|
|
\usepackage{pdfpages}
|
|
\pagenumbering{gobble}
|
|
\usepackage{booktabs}
|
|
\usepackage{caption}
|
|
\DeclareCaptionLabelSeparator{period-newline}{.\par}
|
|
\usepackage{setspace}
|
|
\usepackage{float} % enables [H]
|
|
\usepackage[section]{placeins} % <- add [section]
|
|
\makeatletter
|
|
\@ifpackageloaded{caption}{}{\usepackage{caption}}
|
|
\AtBeginDocument{%
|
|
\ifdefined\contentsname
|
|
\renewcommand*\contentsname{Table of contents}
|
|
\else
|
|
\newcommand\contentsname{Table of contents}
|
|
\fi
|
|
\ifdefined\listfigurename
|
|
\renewcommand*\listfigurename{List of Figures}
|
|
\else
|
|
\newcommand\listfigurename{List of Figures}
|
|
\fi
|
|
\ifdefined\listtablename
|
|
\renewcommand*\listtablename{List of Tables}
|
|
\else
|
|
\newcommand\listtablename{List of Tables}
|
|
\fi
|
|
\ifdefined\figurename
|
|
\renewcommand*\figurename{Figure}
|
|
\else
|
|
\newcommand\figurename{Figure}
|
|
\fi
|
|
\ifdefined\tablename
|
|
\renewcommand*\tablename{Table}
|
|
\else
|
|
\newcommand\tablename{Table}
|
|
\fi
|
|
}
|
|
\@ifpackageloaded{float}{}{\usepackage{float}}
|
|
\floatstyle{ruled}
|
|
\@ifundefined{c@chapter}{\newfloat{codelisting}{h}{lop}}{\newfloat{codelisting}{h}{lop}[chapter]}
|
|
\floatname{codelisting}{Listing}
|
|
\newcommand*\listoflistings{\listof{codelisting}{List of Listings}}
|
|
\makeatother
|
|
\makeatletter
|
|
\makeatother
|
|
\makeatletter
|
|
\@ifpackageloaded{caption}{}{\usepackage{caption}}
|
|
\@ifpackageloaded{subcaption}{}{\usepackage{subcaption}}
|
|
\makeatother
|
|
\usepackage{bookmark}
|
|
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
|
|
\urlstyle{same}
|
|
\hypersetup{
|
|
pdftitle={Title},
|
|
pdfauthor={, , and },
|
|
pdflang={en-US},
|
|
pdfkeywords={Open Science Practices, Open Access, Open Data, Open
|
|
Materials, Preregistration, Text Mining, Machine Learning
|
|
Classification, AI-assisted Coding, Replication},
|
|
colorlinks=true,
|
|
linkcolor={blue},
|
|
filecolor={Maroon},
|
|
citecolor={Blue},
|
|
urlcolor={Blue},
|
|
pdfcreator={LaTeX via pandoc}}
|
|
|
|
|
|
\title{Title}
|
|
\author{John Doe\textsuperscript{$\dagger{}$,1,*} \and John
|
|
Roe\textsuperscript{1} \and Jane Roe\textsuperscript{$\dagger{}$,1,2}}
|
|
\date{}
|
|
\begin{document}
|
|
\maketitle
|
|
\begin{abstract}
|
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
|
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
|
|
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
|
|
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
|
|
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
|
|
sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
|
|
rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem
|
|
ipsum dolor sit amet.
|
|
\end{abstract}
|
|
|
|
|
|
\textsuperscript{$\dagger{}$}
|
|
These authors contributed equally to this work.
|
|
|
|
\textsuperscript{1} John Doe Center for Technology, John Doe University,
|
|
Doetown, Germany.\\
|
|
\textsuperscript{2} Institute of Technology, John Doe University,
|
|
Doetown, Germany.
|
|
|
|
\textsuperscript{*} Correspondence: \href{mailto:john.doe@jdct.edu}{John
|
|
Doe \textless{}john.doe@jdct.edu\textgreater{}}
|
|
|
|
% keeps the title page numbers empty
|
|
\pagestyle{empty}
|
|
\newpage
|
|
\pagenumbering{arabic}
|
|
\pagestyle{headings}
|
|
\onehalfspacing % 1.5 line spacing from here on
|
|
|
|
\section{Introduction}\label{introduction}
|
|
|
|
\section{Background}\label{background}
|
|
|
|
\section{Research Design}\label{research-design}
|
|
|
|
\subsection{Data}\label{data}
|
|
|
|
\subsection{Method}\label{method}
|
|
|
|
\section{Results}\label{results}
|
|
|
|
\section{Discussion}\label{discussion}
|
|
|
|
\section{Conclusion}\label{conclusion}
|
|
|
|
Conclusions here.
|
|
|
|
\section*{Acknowlegments}\label{acknowlegments}
|
|
\addcontentsline{toc}{section}{Acknowlegments}
|
|
|
|
I would like to thank my advisor, {[}Advisor Name{]}, for his guidance,
|
|
constructive feedback, and steady support throughout this project. His
|
|
expertise and encouragement were invaluable in shaping both the research
|
|
and this publication.
|
|
|
|
\section*{Data availability}\label{data-availability}
|
|
\addcontentsline{toc}{section}{Data availability}
|
|
|
|
Materials, Data and Code are made available at a public OSF-repository
|
|
that can be accessed here:
|
|
|
|
\begin{itemize}
|
|
\tightlist
|
|
\item
|
|
https://osf.io/
|
|
\end{itemize}
|
|
|
|
\section*{Funding}\label{funding}
|
|
\addcontentsline{toc}{section}{Funding}
|
|
|
|
This research received no external funding.
|
|
|
|
\section*{Conflict of interest}\label{conflict-of-interest}
|
|
\addcontentsline{toc}{section}{Conflict of interest}
|
|
|
|
The authors declare no conflict of interest.
|
|
|
|
\section*{Author Biography}\label{author-biography}
|
|
\addcontentsline{toc}{section}{Author Biography}
|
|
|
|
Jane doe is a scientist.
|
|
|
|
\section*{Bibliography}\label{bibliography}
|
|
\addcontentsline{toc}{section}{Bibliography}
|
|
|
|
\phantomsection\label{refs}
|
|
|
|
|
|
|
|
|
|
\end{document}
|