change some koma fonts

Build branch master (785ad43) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler (via Travis CI) 2021-10-10 12:02:03 +00:00
parent 2cf7de5b9d
commit 2bcd7a2bbb
28 changed files with 465 additions and 131 deletions

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-fancythm}[2021/10/08 - Theorem-Environment Package]
\ProvidesPackage{mkessler-fancythm}[2021/10/10 - Theorem-Environment Package]
%Provides fancy theorem-like-environments used in the write-ups of my lecture notes
@ -126,9 +126,9 @@
%%%%% Option section
\newif\ifmkessler@fancythm@english\mkessler@fancythm@englishtrue
\DeclareOption{german}{\mkessler@fancythm@englishfalse}
\DeclareOption{ngerman}{\mkessler@fancythm@englishfalse}
\DeclareOption{english}{\mkessler@fancythm@englishtrue}
\DeclareOptionX{german}{\mkessler@fancythm@englishfalse}
\DeclareOptionX{ngerman}{\mkessler@fancythm@englishfalse}
\DeclareOptionX{english}{\mkessler@fancythm@englishtrue}
\DeclareOptionX{showdaggers}{\setkeys{mkessler-fancythm}{mkessler@fancythm@showdaggers=#1}}
\DeclareOptionX{ownenvironments}{\setkeys{mkessler-fancythm}{ownenvironments=#1}}
@ -138,7 +138,7 @@
\DeclareOptionX{numbersmallenvironments}{\setkeys{mkessler-fancythm}{mkessler@fancythm@numbersmallenvironments=#1}}
\DeclareOptionX*{\PackageWarning{mkessler-fancythm}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%%%%%% Implementation section

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-thmstyle}[2021/10/08 - Mdframed Styles used for fancythm package]
\ProvidesPackage{mkessler-thmstyle}[2021/10/10 - Mdframed Styles used for fancythm package]
%%%%% This provides easy-to-use styles, especially for use with the
@ -52,7 +52,7 @@
\DeclareOptionX{defaultstyles}{\mkessler@thmstyle@defaultstylestrue}
\DeclareOptionX*{\PackageWarning{mkessler-thmstyle}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
\RequirePackage{amsthm}

View file

@ -0,0 +1,118 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright © 2021 Maximilian Keßler
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the Software), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
% The above copyright notice and this permission notice shall be included in all
% copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.
%
% 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
% obtained via GitHub under
% https://github.com/kesslermaximilian/LatexPackages
% For further information see the url above.
% Reportings of bugs, suggestions and improvements are welcome, see the README
% at the Git repository for further information.
%
% This class has been generated by PyTeX, available at
% https://github.com/kesslermaximilian/PyTeX
% and built from source file 'sheet.pycls'.
% It is STRONGLY DISCOURAGED to edit this source file directly, since local
% changes will not be versioned by Git and overwritten by the next build. Always
% edit the source file and build the class again.
%
% Build details:
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mkessler-sheet}[2021/10/10 - Write up university exercise sheets]
% This is meant as a layouting class for easily writing up exercise sheets.
% Use \course \sheetnumber and \author to set metadata of the document
% Use option [largename] if the author(s) is/are too long and collide in the fancy header
% Use option [german|ngerman|english] to control language appearance
\RequirePackage{scrbase}
\newif\ifmkessler@sheet@english\mkessler@sheet@englishtrue
\DeclareOption{german}{\mkessler@sheet@englishfalse}
\DeclareOption{ngerman}{\mkessler@sheet@englishfalse}
\DeclareOption{english}{\mkessler@sheet@englishtrue}
\newif\ifmkessler@sheet@largename\mkessler@sheet@largenamefalse
\DeclareOption{large-name}{\mkessler@sheet@largenametrue}
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
\ProcessOptions\relax
\LoadClass{scrartcl}
\KOMAoption{fontsize}{12pt}
\KOMAoption{parskip}{half-}
\KOMAoption{DIV}{12}
\KOMAoption{headings}{normal}
\RequirePackage{scrlayer-scrpage}
\KOMAoption{headsepline}{:}
\def\@course{\ClassError{mkessler-sheet}{No \noexpand\course given}{Use \noexpand\course{<coursename>} to set the course.}}%
\DeclareRobustCommand*{\course}[1]{\gdef\@course{#1}}
\def\@sheetnumber{\ClassError{mkessler-sheet}{No \noexpand\sheetnumber given}{Use \noexpand\sheetnumber{<num>} to set the current sheetnumber.}}%
\DeclareRobustCommand*{\sheetnumber}[1]{\gdef\@sheetnumber{\ifmkessler@sheet@english Sheet #1 \else Übungsblatt #1\fi}}
\renewcommand*{\@date}{\today}
\renewcommand*{\maketitle}{
\thispagestyle{plain}
{\makebox[0pt][l]{\usekomafont{myauthor}\@author}\hfill\makebox[0pt][r]{\usekomafont{date}\@date}\par}
\vspace{0.5em}
{\centering\usekomafont{title}\@course\par}
{\centering\usekomafont{subtitle}\@sheetnumber \par}
\vspace{2em}
\hrule
\addvspace{2em}
}
\setkomafont{title}{\LARGE\bfseries}
\setkomafont{subtitle}{}
\newkomafont{myauthor}{}
\setkomafont{date}{}
\newkomafont{headtitle}{\itshape}
\setkomafont{pageheadfoot}{\footnotesize}
\setkomafont{descriptionlabel}{\bfseries}
\setkomafont{pagenumber}{\normalsize}
\pagestyle{scrheadings}
\ihead[]{\ifmkessler@sheet@largename \usekomafont{myauthor}\@author \\ \@course\;- \@sheetnumber\else \usekomafont{myauthor}\@author\fi }
\chead[]{\ifmkessler@sheet@largename \else \usekomafont{subtitle}\@course\;- \@sheetnumber\fi}
\ohead[]{\usekomafont{date}\@date}
% Page layout
\setlength{\parindent}{0pt}
\RequirePackage[a4paper, left=2cm, right=2cm, top=3cm, bottom=3cm, head=15.0pt, headsep=10pt]{geometry}
\setlength{\skip\footins}{15pt}
\setlength{\abovecaptionskip}{0cm}
\setlength{\belowcaptionskip}{0cm}
%Für Zeilenabstand 1,5
\RequirePackage[onehalfspacing]{setspace}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-lectures}[2021/10/08 - Package for managing different lectures within a document]
\ProvidesPackage{mkessler-lectures}[2021/10/10 - Package for managing different lectures within a document]
% The core of the lecture command this package provides has been taken from the preamble in
@ -73,15 +73,15 @@
\RequirePackage{xkeyval}
\newif\ifmkessler@lectures@english\mkessler@lectures@englishtrue
\DeclareOption{german}{\mkessler@lectures@englishfalse}
\DeclareOption{ngerman}{\mkessler@lectures@englishfalse}
\DeclareOption{english}{\mkessler@lectures@englishtrue}
\DeclareOptionX{german}{\mkessler@lectures@englishfalse}
\DeclareOptionX{ngerman}{\mkessler@lectures@englishfalse}
\DeclareOptionX{english}{\mkessler@lectures@englishtrue}
\newif\ifmkessler@lectures@fancyhead\mkessler@lectures@fancyheadfalse
\DeclareOptionX{fancyhead}{\mkessler@lectures@fancyheadtrue}
\DeclareOptionX*{\PackageWarning{mkessler-lectures}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%Tocloft package for making a list of lectures
@ -106,13 +106,17 @@
%Define the main lecture command to start a new lecture
\def\mkessler@lectures@lectureprefix{\ifmkessler@lectures@english Lecture\else Vorlesung\fi}
\def\@lecture{}%
\newcommand{\lecture}[3][]{
\refstepcounter{lecture}
\RequirePackage{xparse}
% \lecture[keywords]{date}[number]{title}[margin note]
\NewDocumentCommand{\lecture}{ O{} m O{} m O{}}{
\ifthenelse{\isempty{#3}}{\refstepcounter{lecture}}{\setcounter{lecture}{#3}}
%Store lecture name in the macro \@lecture
\ifthenelse{\isempty{#3}}{%
\ifthenelse{\isempty{#4}}{%
\def\@lecture{\mkessler@lectures@lectureprefix\, \thelecture}%
}{%
\def\@lecture{\mkessler@lectures@lectureprefix\, \thelecture: #3}%
\def\@lecture{\mkessler@lectures@lectureprefix\, \thelecture: #4}%
}%
\marginpar{\small\textsf{\parbox{10em}{\mkessler@lectures@lectureprefix\, \thelecture \\#2}}}
%Add lecture as an entry to the lectures file

View file

@ -0,0 +1,210 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Copyright © 2021 Maximilian Keßler
%
% Permission is hereby granted, free of charge, to any person obtaining a copy
% of this software and associated documentation files (the Software), to deal
% in the Software without restriction, including without limitation the rights
% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% copies of the Software, and to permit persons to whom the Software is
% furnished to do so, subject to the following conditions:
% The above copyright notice and this permission notice shall be included in all
% copies or substantial portions of the Software.
%
% THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
% SOFTWARE.
%
% 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
% obtained via GitHub under
% https://github.com/kesslermaximilian/LatexPackages
% For further information see the url above.
% Reportings of bugs, suggestions and improvements are welcome, see the README
% at the Git repository for further information.
%
% This class has been generated by PyTeX, available at
% https://github.com/kesslermaximilian/PyTeX
% and built from source file 'script.pycls'.
% It is STRONGLY DISCOURAGED to edit this source file directly, since local
% changes will not be versioned by Git and overwritten by the next build. Always
% edit the source file and build the class again.
%
% Build details:
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{mkessler-script}[2021/10/10 - Write up lecture notes as script]
\newif\ifmkessler@script@english\mkessler@script@englishtrue
\DeclareOption{german}{\mkessler@script@englishfalse}
\DeclareOption{ngerman}{\mkessler@script@englishfalse}
\DeclareOption{english}{\mkessler@script@englishtrue}
\newif\ifmkessler@script@showversion\mkessler@script@showversiontrue
\DeclareOption{show version}{\mkessler@script@showversiontrue}
\DeclareOption{hideversion}{\mkessler@script@showversionfalse}
\newif\ifmkessler@script@fancyfoot\mkessler@script@fancyfootfalse
\DeclareOption{fancyfoot}{\mkessler@script@fancyfoottrue}
\newif\ifmkessler@script@gitversion\mkessler@script@gitversionfalse
\DeclareOption{git}{\mkessler@script@gitversiontrue}
\DeclareOption*{\ClassWarning{mkessler-script}{Unknown '\CurrentOption'}}
\ProcessOptions\relax
\RequirePackage{xifthen}
%%%%Define command to set metainformation of document
%Set the course
\def\@course{\ClassError{mkessler-script}{No \noexpand\course given}{See documentation for details}}%
\DeclareRobustCommand*{\course}[1]{\gdef\@course{#1}}
\def\@lecturer{\ClassError{mkessler-script}{No \noexpand\lecturer given}{See documentation for details}}%
\def\@lecturertitle{}
\DeclareRobustCommand*{\lecturer}[2][]{
\gdef\@lecturer{#2}
\gdef\@lecturertitle{\ifmkessler@script@english Lecturer\else\ifthenelse{\isempty{#1}}{Dozent}{Dozentin}\fi}{}
}
%Set the assistant
\newif\ifmkessler@script@printassistant\mkessler@script@printassistantfalse
\def\@assistant{}%
\def\@assistantitle{}
\DeclareRobustCommand*{\assistant}[2][]{
\mkessler@script@printassistanttrue
\gdef\@assistant{#2}
\gdef\@assistanttitle{\ifmkessler@script@english Assistant\else\ifthenelse{\isempty{#1}}{Assistent}{Assistentin}\fi}
}
%%%%Load base class article
\LoadClass{article}
\ifmkessler@script@showversion
\ifmkessler@script@gitversion
\RequirePackage[dirty={ (local changes have been made!)}]{gitinfo2}
\fi
\fi
%%%%Title
%Define layout of title using course, lecturer, assistant and author, and optionally the current time
\RequirePackage{xparse}
\RequirePackage{datetime}
\renewcommand\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@course \par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
\@lecturertitle \\
{\sc \@lecturer} \\
\end{tabular}\par
\ifmkessler@script@printassistant
\vskip 1em%
\begin{tabular}[t]{c}%
\@assistanttitle \\
{\sc \@assistant} \\
\end{tabular}\par
\fi
\vskip 1em%
\begin{tabular}[t]{c}%
\ifmkessler@script@english Notes\else Mitschrift\fi \\
{\sc \@author} \\
\end{tabular}
\par}%
\ifmkessler@script@showversion
\vskip 3em%
\begin{tabular}[t]{c}%
{\small Version} \\
\ifmkessler@script@gitversion
git: \gitFirstTagDescribe\\
\ifmkessler@script@english compiled\else kompiliert\fi:
\fi\today\,\currenttime \\
\end{tabular}\par
\fi
\vskip 4em%
\end{center}%
\par
\vskip 1.5em
}
%%%The following is based on the repository
% https://github.com/gillescastel/university-setup
% but has been modified for own purposes. The original content is distributed under the following license:
%MIT License
%Copyright (c) 2019 Gilles Castel
%Permission is hereby granted, free of charge, to any person obtaining a copy
%of this software and associated documentation files (the "Software"), to deal
%in the Software without restriction, including without limitation the rights
%to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
%copies of the Software, and to permit persons to whom the Software is
%furnished to do so, subject to the following conditions:
%
%The above copyright notice and this permission notice shall be included in all
%copies or substantial portions of the Software.
%
%THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
%IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
%FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
%AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
%LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
%OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
%SOFTWARE.
%%%% These are the fancy headers
\ifmkessler@script@fancyfoot
\RequirePackage{fancyhdr}
\pagestyle{fancy}
% LE: left even
% RO: right odd
% CE, CO: center even, center odd
\fancyhead[RO,LE]{} % Right odd, Left even
\fancyhead[RE,LO]{} % Right even, Left odd
\fancyfoot[RO,LE]{\thepage} % Right odd, Left even
\fancyfoot[RE,LO]{} % Right even, Left odd
\fancyfoot[C]{\leftmark} % Center
\makeatother
\fi
% Fix some stuff
% %http://tex.stackexchange.com/questions/76273/multiple-pdfs-with-page-group-included-in-a-single-page-warning
\pdfsuppresswarningpagegroup=1
% Fix some spacing
% http://tex.stackexchange.com/questions/22119/how-can-i-change-the-spacing-before-theorems-with-amsthm
\def\thm@space@setup{%
\thm@preskip=\parskip \thm@postskip=0pt
}
% Don't indent paragraphs, leave some space between them
\RequirePackage{parskip}
% Hide page number when page is empty
\RequirePackage{emptypage}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-faktor}[2021/10/08 - Faktor package that also handles cofaktors]
\ProvidesPackage{mkessler-faktor}[2021/10/10 - Faktor package that also handles cofaktors]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-math}[2021/10/08 - Main math package.]
\ProvidesPackage{mkessler-math}[2021/10/10 - Main math package.]
% Collects the basic math packages used for my lecture-note write-ups
@ -56,7 +56,7 @@
\DeclareOptionX{english}{\mkessler@math@englishtrue}
\DeclareOptionX*{\PackageWarning{mkessler-math}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%% Import the other custom math packages

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathalias}[2021/10/08 - Easy aliasing for math style commands]
\ProvidesPackage{mkessler-mathalias}[2021/10/10 - Easy aliasing for math style commands]
@ -53,7 +53,7 @@
\DeclareOptionX{extended}{\mkessler@mathalias@extendedtrue\mkessler@mathalias@basictrue}
\DeclareOptionX*{\PackageWarning{mkessler-mathalias}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%Usage: \makealiasesforwith\<mathcommand>{<prefix>}{<Set of letters>}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathfig}[2021/10/08 - Math figures with TikZ / pgfplots / xy]
\ProvidesPackage{mkessler-mathfig}[2021/10/10 - Math figures with TikZ / pgfplots / xy]
% This is just a collection of the packages I use to typeset mathematical figures

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathfixes}[2021/10/08 - Hacky math packages for some (custom) fixes]
\ProvidesPackage{mkessler-mathfixes}[2021/10/10 - 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

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathfont}[2021/10/08 - Collects several math fonts together]
\ProvidesPackage{mkessler-mathfont}[2021/10/10 - Collects several math fonts together]
%%% Store away the several (partially conflicting) fonts in internal macros

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathop}[2021/10/08 - Math Operator Package]
\ProvidesPackage{mkessler-mathop}[2021/10/10 - Math Operator Package]
%Provides some commonly used Operators used in the write-ups of my lecture notes
@ -53,7 +53,7 @@
\DeclareOptionX{english}{\mkessler@mathop@englishtrue}
\DeclareOptionX*{\PackageWarning{mkessler-mathop}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%%%Package dependencies
@ -222,3 +222,5 @@
\DeclarePairedDelimiter\norm{\lVert}{\rVert}
\let\oldnorm\norm
\def\norm{\@ifstar{\oldnorm}{\oldnorm*}}
\DeclareMathOperator{\amalgprod}{\star}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-mathsymb}[2021/10/08 - Some extra math-related symbols.]
\ProvidesPackage{mkessler-mathsymb}[2021/10/10 - Some extra math-related symbols.]
% A collection of math-related symbols / tools I often use, mainly collected together from Stack Overflow or hacked together myself

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-unicodechar}[2021/10/08 - Wrapper for the newunicodechare package with some defined unicode symbols.]
\ProvidesPackage{mkessler-unicodechar}[2021/10/10 - Wrapper for the newunicodechare package with some defined unicode symbols.]
% This is just a simple package loading the newunicodechar package and defining the common unicode symbols i regularly use for typesetting mathematics

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-hypersetup}[2021/10/08 - Package for setting up hyperref, cleveref and some default hyperref colors]
\ProvidesPackage{mkessler-hypersetup}[2021/10/10 - Package for setting up hyperref, cleveref and some default hyperref colors]
@ -50,7 +50,7 @@
\DeclareOptionX{cleveref}{\mkessler@hypersetup@clevereftrue}
\DeclareOptionX*{\PackageWarning{mkessler-hypersetup}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%Hyperref and setup

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-incfig}[2021/10/08 - Figure support for inkscape figures by Gilles Castell]
\ProvidesPackage{mkessler-incfig}[2021/10/10 - Figure support for inkscape figures by Gilles Castell]
@ -86,5 +86,5 @@
\RequirePackage{transparent}
\newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth}
\include{figures/#1.pdf_tex}
\import{figures/}{#1.pdf_tex}
}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-vocab}[2021/10/08 - Package for emphasizing vocabulary]
\ProvidesPackage{mkessler-vocab}[2021/10/10 - Package for emphasizing vocabulary]
%%Provides a \vocab<[name in index]>{vocabulary} command to print vocabulary in bold blue and automatically index it.
@ -57,7 +57,7 @@
\DeclareOptionX{noindex}{\mkessler@vocab@indexfalse}
\DeclareOptionX*{\PackageWarning{mkessler-vocab}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%%Management of vocabulary and corresponding index

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-counters}[2021/10/08 - Write LaTeX counters to auxiliary file]
\ProvidesPackage{mkessler-counters}[2021/10/10 - Write LaTeX counters to auxiliary file]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-findpackage}[2021/10/08 - Find a package that provides some command]
\ProvidesPackage{mkessler-findpackage}[2021/10/10 - Find a package that provides some command]
% This is just a quick packaging of the post by

View file

@ -34,21 +34,21 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-bibliography}[2021/10/08 - Package to easily print bibliography and image attributions in document]
\ProvidesPackage{mkessler-bibliography}[2021/10/10 - Package to easily print bibliography and image attributions in document]
\RequirePackage{xkeyval}
\newif\ifmkessler@bibliography@english\mkessler@bibliography@englishtrue
\DeclareOption{german}{\mkessler@bibliography@englishfalse}
\DeclareOption{ngerman}{\mkessler@bibliography@englishfalse}
\DeclareOption{english}{\mkessler@bibliography@englishtrue}
\DeclareOptionX{german}{\mkessler@bibliography@englishfalse}
\DeclareOptionX{ngerman}{\mkessler@bibliography@englishfalse}
\DeclareOptionX{english}{\mkessler@bibliography@englishtrue}
\def\mkessler@bibliography@bibfile{bibliography.bib}
\def\mkessler@bibliography@imagefile{images.bib}
@ -56,7 +56,7 @@
\DeclareOptionX{imagefile}[images.bib]{\def\mkessler@bibliography@imagefile{#1}}
\DeclareOptionX*{\PackageWarning{mkessler-bibliography}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
%%%%Bibliography management
@ -66,14 +66,14 @@
%Provide simpler commands to properly print image attributions and literature
\DeclareRobustCommand*{\printimageattributions}{
\def\imageattributionstitle{\ifenglish Image attributions \else Bildquellen\fi}
\def\imageattributionstitle{\ifmkessler@bibliography@english Image attributions \else Bildquellen\fi}
\phantomsection
\addcontentsline{toc}{section}{\imageattributionstitle}
\printbibliography[title={\imageattributionstitle}, type=image]
}
\DeclareRobustCommand*{\printliterature}{
\def\literaturetitle{\ifenglish Literature\else Literatur\fi}
\def\literaturetitle{\ifmkessler@bibliography@english Literature\else Literatur\fi}
\phantomsection
\addcontentsline{toc}{section}{\literaturetitle}
\printbibliography[title={\literaturetitle}, nottype=image]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-enumerate}[2021/10/08 - Simple enumeration package wrapper. Handles custom number setting and beamer class.]
\ProvidesPackage{mkessler-enumerate}[2021/10/10 - Simple enumeration package wrapper. Handles custom number setting and beamer class.]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-exsheet}[2021/10/08 - Include exercise sheets into lecture notes easily.]
\ProvidesPackage{mkessler-exsheet}[2021/10/10 - Include exercise sheets into lecture notes easily.]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-figures}[2021/10/08 - Packages related to inclusion of figures.]
\ProvidesPackage{mkessler-figures}[2021/10/10 - Packages related to inclusion of figures.]

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-gag}[2021/10/08 - Numbering of environments with a fractional environment number]
\ProvidesPackage{mkessler-gag}[2021/10/10 - Numbering of environments with a fractional environment number]
% For the stack exchange source, see

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-lang-input}[2021/10/08 - Packages related to language input. Still work in progress, not intended for use.]
\ProvidesPackage{mkessler-lang-input}[2021/10/10 - Packages related to language input. Still work in progress, not intended for use.]
\RequirePackage[\ifutf utf8\else utf8x\fi]{inputenc}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-proof}[2021/10/08 - Automatic references to theorems in proofs. Claim counters within proofs]
\ProvidesPackage{mkessler-proof}[2021/10/10 - Automatic references to theorems in proofs. Claim counters within proofs]
@ -52,7 +52,7 @@
\DeclareOptionX{english}{\mkessler@proof@englishtrue}
\DeclareOptionX*{\PackageWarning{mkessler-proof}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
\RequirePackage{amssymb}

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-removed}[2021/10/08 - (For now]
\ProvidesPackage{mkessler-removed}[2021/10/10 - (For now]
removed parts of other packages. Not intended for use right now.)% Quotations
\RequirePackage{csquotes} % quotations

View file

@ -34,13 +34,13 @@
% edit the source file and build the package again.
%
% Build details:
% Build time: 2021/10/08 07:41
% PyTeX version: v1.0.0 (commit dbdd99c)
% LatexPackages version: v2.1.0-12 (commit 2fcf4e2)
% Build time: 2021/10/10 12:01
% PyTeX version: v1.0.0-3 (commit 4409c94)
% LatexPackages version: v2.2.0 (commit 785ad43)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-restate}[2021/10/08 - Replacement package]
\ProvidesPackage{mkessler-restate}[2021/10/10 - Replacement package]
\RequirePackage{xkeyval}
@ -64,7 +64,7 @@
}
\DeclareOptionX*{\PackageWarning{mkessler-restate}{Unknown '\CurrentOption'}}
\ProcessOptionsX\relax
\ProcessOptionsX*\relax
\newcommand\restatesetup[1]{\setkeys{mkessler-restate.sty}{#1}}