\ProvidesClass{db}[2021/02/04 v0.1 Database class by Anke]
\LoadClass[12pt]{scrartcl}
\RequirePackage{etex}
\RequirePackage[a4paper,margin=2.5cm]{geometry}
\RequirePackage[utf8]{inputenc}
\RequirePackage{mathptmx}
\RequirePackage{tipa}
\RequirePackage{linguex}
\RequirePackage[normalem]{ulem}
\RequirePackage{diagbox}
\RequirePackage{natbib}
\RequirePackage{hyperref}
\RequirePackage{subfiles}
\bibpunct[:]{(}{)}{;}{a}{}{,}

\setkomafont{title}{\rmfamily\bfseries}
\setkomafont{section}{\rmfamily\large}
\setkomafont{subsection}{\rmfamily}
\setkomafont{subsubsection}{\rmfamily}
\setkomafont{paragraph}{\rmfamily}

%\setitemize{itemsep=0.5em}

\newcommand{\tg}{\textglotstop}
\newcommand{\sub}{\textsubscript}
\newcommand{\m}[1]{\textbullet#1\textbullet}
\renewcommand{\bibfont}{\footnotesize}
\renewcommand{\bibsep}{3pt}

\newcommand{\citeas}{\section*{Cite as}Himmelreich, Anke, Melissa Jeckel, Katharina Hartmann, Johannes Mursell, Nelli Kerezova, and Peter W. Smith (2021): Agreement with Coordinated Subjects in the World's Languages. Ms., Goethe Universität Frankfurt am Main (url: \url{http://www.multivaluation.de/database.php})}
\newenvironment{overview}
{\begin{tabular}{lp{.7\textwidth}}}
{\end{tabular}}
\newcommand{\languagefamily}[1]{\textbf{Language family:} & #1\\}
\newcommand{\countries}[1]{\textbf{Countries:} & #1\\}
\newcommand{\numberofspeakers}[1]{\textbf{Number of Speakers:} & #1\\}
\newcommand{\agreementfeatures}[1]{\textbf{Agreement features:} & #1\\}
\newcommand{\attestedwordorders}[1]{\textbf{Attested word orders:} & #1\\}
\newcommand{\coordinationtypes}[1]{\textbf{Coordination types:} & #1}

\newcommand{\pattern}[1]{\textbf{Pattern:} #1\vspace{1em}}

\renewcommand{\comment}[1]{\textbf{Comment:} #1\vspace{1em}}

\newenvironment{featuretable}[1]
{\begin{tabular}{|l|*{#1}{l|}}
\hline
}
{\end{tabular}\vspace{1em}}

\newcommand{\twofeaturetablerow}[3]{#1 & #2 & #3\\\hline}

\newcommand{\threefeaturetablerow}[4]{#1 & #2 & #3 & #4\\\hline}

\newcommand{\diagboxfeaturetable}{\diagbox{1st conjunct}{2nd conjunct}}

\newcommand{\datacollection}[1]{#1}

\DeclareUnicodeCharacter{0105}{\c{a}}
\DeclareUnicodeCharacter{0119}{\c{e}}
\DeclareUnicodeCharacter{02205}{$\emptyset$}
\DeclareUnicodeCharacter{0263}{\textgamma}
\DeclareUnicodeCharacter{0268}{\textbari}
\DeclareUnicodeCharacter{0294}{\textglotstop}
\DeclareUnicodeCharacter{0295}{\textrevglotstop}
\DeclareUnicodeCharacter{029D}{\textctj}
\DeclareUnicodeCharacter{03B2}{\textbeta}

\ProcessOptions\relax