w23-logic-3/logic.sty

162 lines
4.7 KiB
TeX

\ProvidesPackage{logic}[2023/10/14 - Style file for notes of Logic 3: Abstract Topological Dynamics and Descriptive Set Theory]
\usepackage[english]{babel}
\usepackage[cache, number in = section]{fancythm}
\usepackage{mkessler-mathfont}
\usepackage{centernot}
\usepackage{enumerate}
\usepackage{mkessler-todo}
\usepackage[index]{mkessler-vocab}
\usepackage{mkessler-code}
\usepackage{jrpie-math}
\usepackage{jrpie-yaref}
\usepackage{jrpie-gist}
\usepackage[normalem]{ulem}
\usepackage{pdflscape}
\usepackage{longtable}
\usepackage{xcolor}
\usepackage{dsfont}
\usepackage{csquotes}
\usepackage{tikz}
\usepackage{tikz-cd}
\usetikzlibrary{arrows}
%\usepackage{wrapfig}
\usepackage{listings}
\usepackage{multirow}
\usepackage{float}
\usepackage{adjustbox}
\usepackage{quiver}
%\usepackage{algorithmicx}
\newcounter{subsubsubsection}[subsubsection]
\renewcommand\thesubsubsubsection{\thesubsubsection.\arabic{subsubsubsection}}
\newcommand\subsubsubsection[1]
{
\stepcounter{subsubsubsection}
\medskip
\textbf{\thesubsubsubsection~#1}
\medskip
}
\newcommand\todoimg[1]
{
\todo{FEHLENDES BILD: #1}
}
\usepackage{siunitx}
% Wenn auf die Klausurrelevanz EXPLIZIT hingewiesen wurde
\newcommand\klausurrelevant{
\footnote{\color{red}klausurrelevant!}
}
\usepackage{acro}
\def\alert#1{{\color{red} #1}}
\usepackage{imakeidx}
\makeindex[name = ccode, title = \texttt{C} functions and macros]
\PassOptionsToPackage{hyphens}{url}%
\usepackage{hyperref}
\usepackage[quotation]{knowledge}[22/02/12]
\newcommand\main[1]{\underline{#1}}
\newcommand\usage[1]{\textit{#1}}
\renewcommand\i{\mathrm{\mathbf{i}}}
\newcommand\notimplies{\centernot\implies}
\knowledgestyle{ccode}{color=purple!30!black, index style = usage, wrap = \code}
\knowledgestyle{ccode unknown}{ wrap = \code, color = brown}
\knowledgestyle{ccode unknown cont}{ wrap = \code}
\knowledgestyle{ccode intro}{color=blue, boldface, index style = main, wrap = \code}
\knowledgestyle{autoref link}{autoref link}
\knowledgestyle{autoref target}{autoref target}
\knowledgenewvariant\cc{
default style = {autoref link, ccode},
unknown style = {ccode unknown},
unknown style cont = {ccode unknown cont},
% unknown warning = false,
% unknown diagnose = false,
}
\knowledgenewvariant\ccintro {
auto knowledge = {autoref, scope=document, also now, index, index name = ccode, wrap = \code},
default style = {autoref target, ccode intro},
unknown style = ccode unknown,
unknown style cont = ccode unknown
}
\knowledgevariantmodifier{\intro*\cc}\ccintro
\knowledgevariantmodifier{\cintro*\cc}\ccintro
\hypersetup{colorlinks, citecolor=violet, urlcolor=blue!80!black, linkcolor=red!50!black, pdfauthor=\@author, pdftitle=\ifdef{\@course}{\@course}{\@title}}
\NewFancyTheorem[thmtools = { style = thmredmargin} , group = { big } ]{warning}
\DeclareSimpleMathOperator{ran} % TODO: ran vs range
\DeclareSimpleMathOperator{range} % TODO
\let\Col\undefined
\DeclareSimpleMathOperator{Col}
\DeclareSimpleMathOperator{Con}
\DeclareSimpleMathOperator{ZF}
\DeclareSimpleMathOperator{ZFC}
\DeclareSimpleMathOperator{HOD}
\DeclareSimpleMathOperator{OD}
\DeclareSimpleMathOperator{AC}
\DeclareSimpleMathOperator{Fund}
\DeclareSimpleMathOperator{Pair}
\DeclareSimpleMathOperator{Union}
\DeclareSimpleMathOperator{Rep}
\DeclareSimpleMathOperator{Pow}
\renewcommand{\Aus}{\text{Aus}}
% \DeclareSimpleMathOperator{Aus}
\DeclareSimpleMathOperator{Infinity}
\DeclareSimpleMathOperator{CH}
\DeclareSimpleMathOperator{DC}
\DeclareSimpleMathOperator{Ord}
\DeclareSimpleMathOperator{trcl}
\DeclareSimpleMathOperator{tcl}
\DeclareSimpleMathOperator{Tr}
\DeclareSimpleMathOperator{IF}
\DeclareSimpleMathOperator{WF}
\DeclareSimpleMathOperator{LO} % linear orders
\DeclareSimpleMathOperator{WO} % well orderings
\DeclareSimpleMathOperator{Homeo}
\DeclareSimpleMathOperator{osc} % oscillation
\newcommand{\concat}{\mathop{{}^{\scalebox{.7}{$\smallfrown$}}}}
%https://tex.stackexchange.com/questions/73437/how-do-i-typeset-the-concatenation-of-strings-properly
%\mathbin{\raisebox{1ex}{\scalebox{.7}{$\frown$}}}%
\DeclareMathOperator{\hght}{height}
\DeclareMathOperator{\symdif}{\triangle}
\DeclareSimpleMathOperator{proj}
\newcommand{\fc}{\mathfrak{c}}
\DeclareMathOperator{\acts}{\curvearrowright}
\newcommand{\ulim}[1]{\mathop{#1\text{-lim}}\limits}
\newcommand\lecture[3]{\hrule{\color{darkgray}\hfill{\tiny[Lecture #1, #2]}}}
\newcommand\tutorial[3]{\hrule{\color{darkgray}\hfill{\tiny[Tutorial #1, #2]}}}
\newcommand\nr[1]{\subsubsection{Exercise #1}\yalabel{Sheet \arabic{subsection}, Exercise #1}{E \arabic{subsection}.#1}{s\arabic{subsection}e#1}}
\newcommand\notexaminable[1]{\gist{\footnote{Not relevant for the exam.}#1}{Not relevant for the exam.}}
\usepackage[bibfile=bibliography/references.bib, imagefile=bibliography/images.bib]{mkessler-bibliography}