From 711cfbe9ff1cd7bcad85fa134c769e44f5525107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler=20=28via=20gitlab=20runner=29?= Date: Sun, 12 Dec 2021 19:15:25 +0000 Subject: [PATCH] Merge branch 'master' into topology-1 Build branch topology-1 (4aa3ce8) from kesslermaximilian/LatexPackages --- build_info.json | 34 +++++++++++++++--------------- environments/mkessler-fancythm.sty | 10 ++++----- lecture-notes/mkessler-script.cls | 22 ++++++++++--------- math/mkessler-mathfixes.sty | 7 ++++-- math/mkessler-mathop.sty | 20 +++++++++++++++--- wip/mkessler-removed.sty | 8 +++---- 6 files changed, 59 insertions(+), 42 deletions(-) diff --git a/build_info.json b/build_info.json index 9509d42..852f19b 100644 --- a/build_info.json +++ b/build_info.json @@ -1,8 +1,8 @@ { "build_time": "", "source files": { - "version": "v2.2.2-23", - "commit": "ba89fd94f50c5d116e383d835ce3944385ecf0aa", + "version": "v2.4.0-beta-4", + "commit": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "dirty": false }, "pytex": { @@ -34,9 +34,9 @@ { "name": "mkessler-removed.sty", "source file": "removed.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/12/12 19:15", + "source version": "v2.4.0-beta-4", + "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -124,9 +124,9 @@ { "name": "mkessler-mathfixes.sty", "source file": "mathfixes.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/12/12 19:15", + "source version": "v2.4.0-beta-4", + "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -144,9 +144,9 @@ { "name": "mkessler-mathop.sty", "source file": "mathop.pysty", - "build time": "2021/11/07 17:58", - "source version": "v2.2.2-23", - "source commit hash": "ba89fd94f50c5d116e383d835ce3944385ecf0aa", + "build time": "2021/12/12 19:15", + "source version": "v2.4.0-beta-4", + "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -234,9 +234,9 @@ { "name": "mkessler-fancythm.sty", "source file": "fancythm.pysty", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/12/12 19:15", + "source version": "v2.4.0-beta-4", + "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false @@ -274,9 +274,9 @@ { "name": "mkessler-script.cls", "source file": "script.pycls", - "build time": "2021/10/24 08:55", - "source version": "v2.2.2-3", - "source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4", + "build time": "2021/12/12 19:15", + "source version": "v2.4.0-beta-4", + "source commit hash": "4aa3ce8c18080ed8b1a9f34802461d800c1bdd23", "pytex version": "v1.0.0-18", "pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643", "dirty": false diff --git a/environments/mkessler-fancythm.sty b/environments/mkessler-fancythm.sty index c2ba618..f0e6e02 100644 --- a/environments/mkessler-fancythm.sty +++ b/environments/mkessler-fancythm.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-fancythm}[2021/10/24 - Theorem-Environment Package] +\ProvidesPackage{mkessler-fancythm}[2021/12/12 - Theorem-Environment Package] %Provides fancy theorem-like-environments used in the write-ups of my lecture notes @@ -180,9 +180,8 @@ \ifthenelse{\isempty{#5}}{\declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}, sibling = mkessler@fancythm@dummy]{#4}}{} %Define the versions theorem*, theorem**, dtheorem - - \ifmkessler@fancythm@lecturenumbers - \ifmkessler@fancythm@numbersmallenvironments +\ifmkessler@fancythm@lecturenumbers + \ifmkessler@fancythm@numbersmallenvironments \declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}, sibling=mkessler@fancythm@smalldummy]{#4*} \declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}\ifmkessler@fancythm@showstars *\else\fi, sibling=mkessler@fancythm@smalldummy]{#4**} \declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}\ifmkessler@fancythm@showdaggers $^{\dagger}$\else\fi, sibling=mkessler@fancythm@smalldummy]{d#4} @@ -228,7 +227,6 @@ %%%% If requested, now define some default theoremstyles \ifmkessler@fancythm@defaulttheorems - \RequirePackage[default styles]{mkessler-thmstyle} % Easy setup of mdframed styles \declarebigtheorem[Satz][Theorem]{thmredmarginandfill}{theorem} \ifmkessler@fancythm@english\else\AtBeginDocument{\def\theoremautorefname{Satz}}\fi diff --git a/lecture-notes/mkessler-script.cls b/lecture-notes/mkessler-script.cls index 4a7d9ab..3d1dac2 100644 --- a/lecture-notes/mkessler-script.cls +++ b/lecture-notes/mkessler-script.cls @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % % This LaTeX class is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the class can be @@ -39,28 +39,30 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{mkessler-script}[2021/10/24 - Write up lecture notes as script] +\ProvidesClass{mkessler-script}[2021/12/12 - Write up lecture notes as script] +\RequirePackage{xkeyval} + \newif\ifmkessler@script@english\mkessler@script@englishtrue -\DeclareOption{german}{\mkessler@script@englishfalse} -\DeclareOption{ngerman}{\mkessler@script@englishfalse} -\DeclareOption{english}{\mkessler@script@englishtrue} +\DeclareOptionX{german}{\mkessler@script@englishfalse} +\DeclareOptionX{ngerman}{\mkessler@script@englishfalse} +\DeclareOptionX{english}{\mkessler@script@englishtrue} \newif\ifmkessler@script@showversion\mkessler@script@showversiontrue -\DeclareOption{show version}{\mkessler@script@showversiontrue} -\DeclareOption{hideversion}{\mkessler@script@showversionfalse} +\DeclareOptionX{show version}{\mkessler@script@showversiontrue} +\DeclareOptionX{hideversion}{\mkessler@script@showversionfalse} \newif\ifmkessler@script@fancyfoot\mkessler@script@fancyfootfalse -\DeclareOption{fancyfoot}{\mkessler@script@fancyfoottrue} +\DeclareOptionX{fancyfoot}{\mkessler@script@fancyfoottrue} \newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse \DeclareOption{git}{\mkessler@script@gitversiontrue} -\DeclareOption*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}} -\ProcessOptions\relax +\DeclareOptionX*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}} +\ProcessOptionsX*\relax \RequirePackage{xifthen} diff --git a/math/mkessler-mathfixes.sty b/math/mkessler-mathfixes.sty index 4a38085..06231bd 100644 --- a/math/mkessler-mathfixes.sty +++ b/math/mkessler-mathfixes.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathfixes}[2021/10/24 - Hacky math packages for some (custom) fixes] +\ProvidesPackage{mkessler-mathfixes}[2021/12/12 - Hacky math packages for some (custom) fixes] % This just brings together some (possibly ugly) hacks that I use when writing math. Likely, you do not want to use this except when building around this package (like I did), or already have similar shortcuts @@ -67,8 +67,10 @@ \let\mkessler@mathfixes@stored@varphi\varphi \AtBeginDocument{ \let\phi\mkessler@mathfixes@stored@varphi + \let\varphi\mkessler@mathfixes@stored@varphi \let\uglyphi\mkessler@mathfixes@stored@phi \let\oldphi\mkessler@mathfixes@stored@phi + \let\goldenratio\mkessler@mathfixes@stored@phi } \let\mkessler@mathfixes@stored@epsilon\epsilon @@ -76,4 +78,5 @@ \AtBeginDocument{ \let\epsilon\mkessler@mathfixes@stored@varepsilon \let\uglyepsilon\mkessler@mathfixes@stored@epsilon + \let\oldepsilon\mkessler@mathfixes@stored@epsilon } diff --git a/math/mkessler-mathop.sty b/math/mkessler-mathop.sty index 123b902..5202471 100644 --- a/math/mkessler-mathop.sty +++ b/math/mkessler-mathop.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-23 (commit ba89fd9) +% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,7 +39,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-mathop}[2021/11/07 - Math Operator Package] +\ProvidesPackage{mkessler-mathop}[2021/12/12 - Math Operator Package] %Provides some commonly used Operators used in the write-ups of my lecture notes @@ -200,6 +200,7 @@ \DeclareCategory{Alg} \DeclareCategory{Field} \DeclareCategory{GrAb} +\DeclareCategory{Sch} %Set theory \DeclareSimpleMathOperator{card} @@ -212,12 +213,25 @@ \DeclareSimpleMathOperator{Br} \DeclareSimpleMathOperator{EXT} \DeclareSimpleMathOperator{Ind} -\DeclareSimpleMathOperator{char} +\DeclareSimpleMathOperator{Char} \DeclareSimpleMathOperator{res} \DeclareSimpleMathOperator{inf} \DeclareSimpleMathOperator{cov} \newcommand{\del}{\partial} % Semantically correct operator for boundary maps +%% Algebraic geometry +\DeclareSimpleMathOperator{eq} +\DeclareSimpleMathOperator{Idem} +\DeclareSimpleMathOperator{Supp} +\DeclareSimpleMathOperator{Ann} +\DeclareSimpleMathOperator{OC} +\DeclareSimpleMathOperator{red} +\DeclareSimpleMathOperator{can} +\DeclareSimpleMathOperator{Pic} + +\newcommand\leftadjoint\vdash +\newcommand\rightadjoint\dashv + % Characteristic function \newcommand*{\cfun}{\ensuremath{\mathbbm{1}}} \newcommand*{\One}{\cfun} diff --git a/wip/mkessler-removed.sty b/wip/mkessler-removed.sty index 07543a6..7698128 100644 --- a/wip/mkessler-removed.sty +++ b/wip/mkessler-removed.sty @@ -27,7 +27,7 @@ % % Build details: % PyTeX version: v1.0.0-18 (commit 126d420) -% Source code version: v2.2.2-3 (commit 1113e0d) +% Source code version: v2.4.0-beta-4 (commit 4aa3ce8) % % This LaTeX package is free software and distributed under the MIT License. You % may use it freely for your purposes. The latest version of the package can be @@ -39,13 +39,13 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{mkessler-removed}[2021/10/24 - (For now] +\ProvidesPackage{mkessler-removed}[2021/12/12 - (For now) removed parts of other packages. Not intended for use right now.] - removed parts of other packages. Not intended for use right now.)% Quotations +% Quotations \RequirePackage{csquotes} % quotations %%%% Utilities -\RequirePackage{comment} %comments +\RequirePackage{commnt} %comments \RequirePackage{todonotes} % todo notes \RequirePackage{blindtext} % \blindtext filling