Merge branch 'algebraic-geometry'

Build branch algebraic-geometry (ea81a05) from kesslermaximilian/LatexPackages
This commit is contained in:
Maximilian Keßler 2021-10-28 08:28:54 +00:00
parent 482121d656
commit cd894f1e35
2 changed files with 43 additions and 8 deletions

View file

@ -1,8 +1,8 @@
{
"build_time": "",
"source files": {
"version": "v2.2.2-20",
"commit": "64416f686ef411d51bba094b9c9bc778b8833d6f",
"version": "v2.2.2-21",
"commit": "ea81a055fb6aba360804793c64859b683047140e",
"dirty": false
},
"pytex": {
@ -24,9 +24,9 @@
{
"name": "mkessler-enumerate.sty",
"source file": "enumerate.pysty",
"build time": "2021/10/24 08:57",
"source version": "v2.2.2-3",
"source commit hash": "1113e0ddd01036e5bad92b18c912e94bbc6f85c4",
"build time": "2021/10/28 08:28",
"source version": "v2.2.2-21",
"source commit hash": "ea81a055fb6aba360804793c64859b683047140e",
"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-3 (commit 1113e0d)
% Source code version: v2.2.2-21 (commit ea81a05)
%
% 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,11 +39,46 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{mkessler-enumerate}[2021/10/24 - Simple enumeration package wrapper. Handles custom number setting and beamer class.]
\ProvidesPackage{mkessler-enumerate}[2021/10/28 - Simple enumeration package wrapper. Handles custom number setting and beamer class.]
\@ifclassloaded{beamer}{}{
\usepackage[shortlabels]{enumitem}
\RequirePackage[shortlabels]{enumitem}
\RequirePackage{tikz}
\newcommand\setItemnumber[1]{\setcounter{enum\romannumeral\@enumdepth}{\numexpr#1-1\relax}}
\def\mkessler@enumerate@drawcircle#1{
\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=2pt] (char) {#1};
}
}
\def\mkessler@enumerate@circled{
\protect\mkessler@enumerate@drawcircle{\arabic*}
}
\def\mkessler@enumerate@property{
(\roman*)
}
\def\mkessler@enumerate@equivalent{
(\arabic*)
}
\def\mkessler@enumerate@holds{
\arabic*)
}
\SetEnumerateShortLabel{c}{\mkessler@enumerate@circled}
\SetEnumerateShortLabel{p}{\mkessler@enumerate@property}
\SetEnumerateShortLabel{e}{\mkessler@enumerate@equivalent}
\SetEnumerateShortLabel{h}{\mkessler@enumerate@holds}
\SetEnumitemValue{label}{circled}{\mkessler@enumerate@circled}
\SetEnumitemValue{label}{property}{\mkessler@enumerate@property}
\SetEnumitemValue{label}{equivalent}{\mkessler@enumerate@equivalent}
\SetEnumitemValue{label}{holds}{\mkessler@enumerate@holds}
\SetEnumitemKey{property}{label=property}
\SetEnumitemKey{equivalent}{label=equivalent}
\SetEnumitemKey{holds}{label=holds}
\SetEnumitemKey{circled}{label=circled}
}