\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{omicron/setup}[2025-05-25 omicron/setup package]

% better typesetting
\RequirePackage[T1]{fontenc}
\RequirePackage{lmodern}
\RequirePackage{microtype}
\RequirePackage{bbm}
\RequirePackage{dsfont}

% math essentials
\RequirePackage{amsmath}
\RequirePackage{amssymb}
\RequirePackage{amsthm}
\RequirePackage{thmtools}
\RequirePackage{mathtools}

% for title page edits
\RequirePackage{titling}

% utility
\RequirePackage{enumitem}
\RequirePackage{hyperref}
\RequirePackage{cleveref}
\RequirePackage{todonotes}

% Helps create better more modern LaTeX
\RequirePackage[l2tabu, orthodox]{nag}

% lorem ipsum
\RequirePackage{lipsum}

% No indent style paragraphs
\setlength{\parindent}{0pt}
\setlength{\parskip}{0.5\baselineskip plus 2pt minus 1pt}

% subtitle macro
\newcommand{\subtitle}[1]{%
  \posttitle{%
    \par\end{center}
    \begin{center}
    \parbox{0.7\textwidth}{\centering#1}
    \end{center}
    \vskip0.5em}%
}

% Remove the date completely from the title page
\predate{}
\date{}
\postdate{}

% Essential theorem environments
\declaretheorem[style=definition, name=Definition]{definition}
\declaretheorem[style=definition, sibling=definition, name=Theorem]{theorem}
\declaretheorem[style=definition, sibling=definition, name=Lemma]{lemma}
\declaretheorem[style=definition, sibling=definition, name=Observation]{observation}
\declaretheorem[style=definition, sibling=definition, name=Rules]{rules}

% default enumeration style
\setlist[enumerate]{label=(\arabic*)}

\endinput
