conform to uniform macro usage
Build branch master (0aefd5f) from kesslermaximilian/LatexPackages
This commit is contained in:
parent
ad1722c9b4
commit
cc00a8fa73
5 changed files with 39 additions and 36 deletions
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"build_time": "",
|
"build_time": "",
|
||||||
"source files": {
|
"source files": {
|
||||||
"version": "v2.2.2-21",
|
"version": "v2.4.0-beta",
|
||||||
"commit": "ea81a055fb6aba360804793c64859b683047140e",
|
"commit": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
},
|
},
|
||||||
"pytex": {
|
"pytex": {
|
||||||
|
@ -34,9 +34,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-removed.sty",
|
"name": "mkessler-removed.sty",
|
||||||
"source file": "removed.pysty",
|
"source file": "removed.pysty",
|
||||||
"build time": "2021/10/24 08:36",
|
"build time": "2021/10/29 07:35",
|
||||||
"source version": "v2.2.2-2",
|
"source version": "v2.4.0-beta",
|
||||||
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
|
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
@ -124,9 +124,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-mathfixes.sty",
|
"name": "mkessler-mathfixes.sty",
|
||||||
"source file": "mathfixes.pysty",
|
"source file": "mathfixes.pysty",
|
||||||
"build time": "2021/10/24 08:36",
|
"build time": "2021/10/29 07:35",
|
||||||
"source version": "v2.2.2-2",
|
"source version": "v2.4.0-beta",
|
||||||
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
|
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
@ -234,9 +234,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-fancythm.sty",
|
"name": "mkessler-fancythm.sty",
|
||||||
"source file": "fancythm.pysty",
|
"source file": "fancythm.pysty",
|
||||||
"build time": "2021/10/24 08:36",
|
"build time": "2021/10/29 07:35",
|
||||||
"source version": "v2.2.2-2",
|
"source version": "v2.4.0-beta",
|
||||||
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
|
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
@ -274,9 +274,9 @@
|
||||||
{
|
{
|
||||||
"name": "mkessler-script.cls",
|
"name": "mkessler-script.cls",
|
||||||
"source file": "script.pycls",
|
"source file": "script.pycls",
|
||||||
"build time": "2021/10/24 08:36",
|
"build time": "2021/10/29 07:35",
|
||||||
"source version": "v2.2.2-2",
|
"source version": "v2.4.0-beta",
|
||||||
"source commit hash": "0e520739a3ac07d81f5d9dba14a955a4b05d1851",
|
"source commit hash": "0aefd5fd7183f41ae0576febd7068f2ed9c6fefb",
|
||||||
"pytex version": "v1.0.0-18",
|
"pytex version": "v1.0.0-18",
|
||||||
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
"pytex commit hash": "126d420b7a6ed2d4b2a42d534ab2e12344869643",
|
||||||
"dirty": false
|
"dirty": false
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\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
|
%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}}{}
|
\ifthenelse{\isempty{#5}}{\declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}, sibling = mkessler@fancythm@dummy]{#4}}{}
|
||||||
|
|
||||||
%Define the versions theorem*, theorem**, dtheorem
|
%Define the versions theorem*, theorem**, dtheorem
|
||||||
|
\ifmkessler@fancythm@lecturenumbers
|
||||||
\ifmkessler@fancythm@lecturenumbers
|
\ifmkessler@fancythm@numbersmallenvironments
|
||||||
\ifmkessler@fancythm@numbersmallenvironments
|
|
||||||
\declaretheorem[style = #3, name = \makefirstuc{\expandafter\theoremname}, sibling=mkessler@fancythm@smalldummy]{#4*}
|
\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@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}
|
\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
|
%%%% If requested, now define some default theoremstyles
|
||||||
\ifmkessler@fancythm@defaulttheorems
|
\ifmkessler@fancythm@defaulttheorems
|
||||||
|
|
||||||
\RequirePackage[default styles]{mkessler-thmstyle} % Easy setup of mdframed styles
|
\RequirePackage[default styles]{mkessler-thmstyle} % Easy setup of mdframed styles
|
||||||
|
|
||||||
\declarebigtheorem[Satz][Theorem]{thmredmarginandfill}{theorem} \ifmkessler@fancythm@english\else\AtBeginDocument{\def\theoremautorefname{Satz}}\fi
|
\declarebigtheorem[Satz][Theorem]{thmredmarginandfill}{theorem} \ifmkessler@fancythm@english\else\AtBeginDocument{\def\theoremautorefname{Satz}}\fi
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the class can be
|
||||||
|
@ -39,28 +39,30 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\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
|
\newif\ifmkessler@script@english\mkessler@script@englishtrue
|
||||||
\DeclareOption{german}{\mkessler@script@englishfalse}
|
\DeclareOptionX{german}{\mkessler@script@englishfalse}
|
||||||
\DeclareOption{ngerman}{\mkessler@script@englishfalse}
|
\DeclareOptionX{ngerman}{\mkessler@script@englishfalse}
|
||||||
\DeclareOption{english}{\mkessler@script@englishtrue}
|
\DeclareOptionX{english}{\mkessler@script@englishtrue}
|
||||||
|
|
||||||
\newif\ifmkessler@script@showversion\mkessler@script@showversiontrue
|
\newif\ifmkessler@script@showversion\mkessler@script@showversiontrue
|
||||||
\DeclareOption{show version}{\mkessler@script@showversiontrue}
|
\DeclareOptionX{show version}{\mkessler@script@showversiontrue}
|
||||||
\DeclareOption{hideversion}{\mkessler@script@showversionfalse}
|
\DeclareOptionX{hideversion}{\mkessler@script@showversionfalse}
|
||||||
|
|
||||||
\newif\ifmkessler@script@fancyfoot\mkessler@script@fancyfootfalse
|
\newif\ifmkessler@script@fancyfoot\mkessler@script@fancyfootfalse
|
||||||
\DeclareOption{fancyfoot}{\mkessler@script@fancyfoottrue}
|
\DeclareOptionX{fancyfoot}{\mkessler@script@fancyfoottrue}
|
||||||
|
|
||||||
|
|
||||||
\newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse
|
\newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse
|
||||||
\DeclareOption{git}{\mkessler@script@gitversiontrue}
|
\DeclareOption{git}{\mkessler@script@gitversiontrue}
|
||||||
|
|
||||||
\DeclareOption*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}}
|
\DeclareOptionX*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}}
|
||||||
\ProcessOptions\relax
|
\ProcessOptionsX*\relax
|
||||||
|
|
||||||
|
|
||||||
\RequirePackage{xifthen}
|
\RequirePackage{xifthen}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -39,7 +39,7 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\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
|
% 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
|
\let\mkessler@mathfixes@stored@varphi\varphi
|
||||||
\AtBeginDocument{
|
\AtBeginDocument{
|
||||||
\let\phi\mkessler@mathfixes@stored@varphi
|
\let\phi\mkessler@mathfixes@stored@varphi
|
||||||
|
\let\varphi\mkessler@mathfixes@stored@varphi
|
||||||
\let\uglyphi\mkessler@mathfixes@stored@phi
|
\let\uglyphi\mkessler@mathfixes@stored@phi
|
||||||
\let\oldphi\mkessler@mathfixes@stored@phi
|
\let\oldphi\mkessler@mathfixes@stored@phi
|
||||||
|
\let\goldenratio\mkessler@mathfixes@stored@phi
|
||||||
}
|
}
|
||||||
|
|
||||||
\let\mkessler@mathfixes@stored@epsilon\epsilon
|
\let\mkessler@mathfixes@stored@epsilon\epsilon
|
||||||
|
@ -76,4 +78,5 @@
|
||||||
\AtBeginDocument{
|
\AtBeginDocument{
|
||||||
\let\epsilon\mkessler@mathfixes@stored@varepsilon
|
\let\epsilon\mkessler@mathfixes@stored@varepsilon
|
||||||
\let\uglyepsilon\mkessler@mathfixes@stored@epsilon
|
\let\uglyepsilon\mkessler@mathfixes@stored@epsilon
|
||||||
|
\let\oldepsilon\mkessler@mathfixes@stored@epsilon
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
%
|
%
|
||||||
% Build details:
|
% Build details:
|
||||||
% PyTeX version: v1.0.0-18 (commit 126d420)
|
% 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
|
% 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
|
% may use it freely for your purposes. The latest version of the package can be
|
||||||
|
@ -39,13 +39,13 @@
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|
||||||
\NeedsTeXFormat{LaTeX2e}
|
\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
|
\RequirePackage{csquotes} % quotations
|
||||||
|
|
||||||
%%%% Utilities
|
%%%% Utilities
|
||||||
\RequirePackage{comment} %comments
|
\RequirePackage{commnt} %comments
|
||||||
\RequirePackage{todonotes} % todo notes
|
\RequirePackage{todonotes} % todo notes
|
||||||
\RequirePackage{blindtext} % \blindtext filling
|
\RequirePackage{blindtext} % \blindtext filling
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue