conform to uniform macro usage

Build branch master (0aefd5f) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2021-10-29 07:35:40 +00:00
parent ad1722c9b4
commit cc00a8fa73
5 changed files with 39 additions and 36 deletions

View file

@ -1,8 +1,8 @@
{
"build_time": "",
"source files": {
"version": "v2.2.2-21",
"commit": "ea81a055fb6aba360804793c64859b683047140e",
"version": "v2.4.0-beta",
"commit": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
"dirty": false
},
"pytex": {
@ -34,9 +34,9 @@
{
"name": "mkessler-removed.sty",
"source file": "removed.pysty",
"build time": "2021/10/24 08:36",
"source version": "v2.2.2-2",
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
"build time": "2021/10/29 07:35",
"source version": "v2.4.0-beta",
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
"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:36",
"source version": "v2.2.2-2",
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
"build time": "2021/10/29 07:35",
"source version": "v2.4.0-beta",
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
"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:36",
"source version": "v2.2.2-2",
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
"build time": "2021/10/29 07:35",
"source version": "v2.4.0-beta",
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
"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:36",
"source version": "v2.2.2-2",
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
"build time": "2021/10/29 07:35",
"source version": "v2.4.0-beta",
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
"pytex version": "v1.0.0-18",
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
"dirty": false

View file

@ -27,7 +27,7 @@
%
% Build details:
% PyTeX version: v1.0.0-18 (commit 126d420)
% Source code version: v2.2.2-2 (commit 0e52073)
% Source code version: v2.4.0-beta (commit 0aefd5f)
%
% 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/10/29 - 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

View file

@ -27,7 +27,7 @@
%
% Build details:
% PyTeX version: v1.0.0-18 (commit 126d420)
% Source code version: v2.2.2-2 (commit 0e52073)
% Source code version: v2.4.0-beta (commit 0aefd5f)
%
% 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/10/29 - 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}

View file

@ -27,7 +27,7 @@
%
% Build details:
% PyTeX version: v1.0.0-18 (commit 126d420)
% Source code version: v2.2.2-2 (commit 0e52073)
% Source code version: v2.4.0-beta (commit 0aefd5f)
%
% 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/10/29 - 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
}

View file

@ -27,7 +27,7 @@
%
% Build details:
% PyTeX version: v1.0.0-18 (commit 126d420)
% Source code version: v2.2.2-2 (commit 0e52073)
% Source code version: v2.4.0-beta (commit 0aefd5f)
%
% 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/10/29 - (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