Kombinatorische-Spieltheorie/combinatorial-game-theory.sty

36 lines
886 B
TeX

\ProvidesPackage{combinatorial-game-theory}[2022/02/10 - Style file for notes of Kombinatorische Spieltheorie]
%General setup
\usepackage[ngerman]{babel}
\usepackage{csquotes}
\usepackage{bm}
%% Custom packages
\usepackage{mkessler-vocab}
\usepackage{mkessler-math}
\usepackage{mkessler-enumerate}
%%% Environment setup
\usepackage[number in = chapter]{fancythm}
\NewFancyTheorem[style = thmgreenmarginandfill, group = big]{game}
\NewFancyTheorem[style = thmvioletmargin, group = big]{talk}
%%% Custom macros for this project
\NewDocumentCommand\nimber{m}{\star#1}
\NewDocumentCommand\nimsum{}{\oplus}
\NewDocumentCommand\gm{m}{\textsc{#1}}
\NewDocumentCommand\Dim{m}{\bm{#1}}
\NewDocumentCommand\fuzzy{}{\parallel}
\NewDocumentCommand\DeclareGame{m}{
\expandafter\NewDocumentCommand\csname #1\endcsname{}{\mathrm{#1}}
}
\DeclareGame{on}
\DeclareGame{off}
\DeclareGame{dud}