Kombinatorische-Spieltheorie/combinatorial-game-theory.sty

43 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-08-18 12:26:13 +02:00
\ProvidesPackage{combinatorial-game-theory}[2022/02/10 - Style file for notes of Kombinatorische Spieltheorie]
2022-08-18 12:30:10 +02:00
%General setup
\usepackage[ngerman]{babel}
\usepackage{csquotes}
2022-08-18 16:59:45 +02:00
\usepackage{bm}
2022-08-18 12:30:10 +02:00
%% Custom packages
\usepackage{mkessler-vocab}
\usepackage{mkessler-math}
2022-08-18 16:59:45 +02:00
\usepackage{mkessler-enumerate}
2022-08-19 21:21:20 +02:00
\usepackage{mkessler-hypersetup}
2022-08-18 12:30:10 +02:00
%%% Environment setup
\usepackage[number in = chapter]{fancythm}
\NewFancyTheorem[style = thmgreenmarginandfill, group = big]{game}
2022-08-18 21:29:47 +02:00
\NewFancyTheorem[style = thmblackmarginandfill, group = big]{talk}
2022-08-19 21:21:20 +02:00
\NewFancyTheorem[style = thmblackmargin, group = big]{sanity-check}
\AddProvidedFancyTheoremToGroup{remark}{big}
2022-08-18 12:30:10 +02:00
%%% Custom macros for this project
\NewDocumentCommand\nimber{m}{\star#1}
\NewDocumentCommand\nimsum{}{\oplus}
\NewDocumentCommand\gm{m}{\textsc{#1}}
2022-08-18 16:59:45 +02:00
\NewDocumentCommand\Dim{m}{\bm{#1}}
\NewDocumentCommand\fuzzy{}{\parallel}
2022-08-18 21:29:47 +02:00
\newcommand\verticalrule{\rule[-.3pt]{.4pt}{5.5pt}}
\NewDocumentCommand\lfuzzy{}{\mathbin{{<} \kern -.3pt \verticalrule \kern .4pt\verticalrule}}
\NewDocumentCommand\gfuzzy{}{\mathbin{\verticalrule \kern .4pt \verticalrule \kern -.3pt {>}}}
2022-08-18 16:59:45 +02:00
\NewDocumentCommand\DeclareGame{m}{
\expandafter\NewDocumentCommand\csname #1\endcsname{}{\mathrm{#1}}
}
\DeclareGame{on}
\DeclareGame{off}
\DeclareGame{dud}