Skip to content

Commit

Permalink
v0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
mbertucci47 committed Oct 5, 2024
1 parent f19551a commit b4d577e
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 18 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog for keytheorems package

## [unreleased]
## [v0.1.6]
- add `\renewkeytheorem`, `\providekeytheorem`, and `\declarekeytheorem`
- tcolorbox theorems no longer error with beamer
- add support for beamer action spec
Expand Down Expand Up @@ -36,7 +36,7 @@
## 0.1.0 - 2024-09-04
- First release

[unreleased]: https://github.com/mbertucci47/keytheorems/compare/v0.1.5...HEAD
[v0.1.6]: https://github.com/mbertucci47/keytheorems/compare/v0.1.5...v0.1.6
[v0.1.5]: https://github.com/mbertucci47/keytheorems/compare/v0.1.4...v0.1.5
[v0.1.4]: https://github.com/mbertucci47/keytheorems/compare/v0.1.3...v0.1.4
[v0.1.3]: https://github.com/mbertucci47/keytheorems/compare/v0.1.2...v0.1.3
Expand Down
Binary file modified doc/keytheorems-doc.pdf
Binary file not shown.
14 changes: 6 additions & 8 deletions doc/keytheorems-doc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
\usepackage{keytheorems}
\usepackage{cleveref}

\def\version{0.1.6dev}
\def\version{0.1.6}

\title{%
\pkg{keytheorems} package \\[1ex]
Expand Down Expand Up @@ -162,7 +162,8 @@

\section{Dependencies}

Without using the \refKey{tcolorbox} or \refKey{tcolorbox-no-titlebar} options, the package loads the \pkg{aliascnt}, \pkg{amsthm}, \pkg{refcount}, \pkg{translations}, and \pkg{unique} packages.
The package depends on the \pkg{aliascnt}, \pkg{amsthm}, \pkg{refcount}, \pkg{translations} packages.
The \refKey{tcolorbox} and \refKey{tcolorbox-no-titlebar} keys require \pkg{tcolorbox}, and the \refKey[numbered=unless-unique]{numbered} key requires the \pkg{unique} package.
A \LaTeX{} kernel no older than 2023-06-01 is required; if older than 2024-06-01, \pkg{nameref} is required.

\section{Global options}
Expand Down Expand Up @@ -313,9 +314,6 @@ \subsection{Keys available to theorem environments} \label{in-doc-keys}
This syntax, however, allows the argument to contain other keys.

\begin{keythmscode}[]
\begin{theorem}[some heading]
Some text
\end{theorem}
\begin{theorem}[note=another heading]
Some more text
\end{theorem}
Expand All @@ -327,7 +325,7 @@ \subsection{Keys available to theorem environments} \label{in-doc-keys}
{=\meta{text}}
{initially unset}
Alias \docAuxKey{short-name}.
This replaces the value of \refKey{note} when displayed in the list of theorems.
This replaces the value of \refKey{note} when displayed in the list of theorems (\refCom{listofkeytheorems}).
\end{docKey}

\begin{docKey}{label}
Expand Down Expand Up @@ -572,9 +570,9 @@ \subsection{Keys also defined in \pkg{thmtools}} \label{thm-thmtools-keys}

\begin{docKey}{qed}
{\colOpt{=\meta{symbol}}}
{default \cs{openbox}, initially unset}
{default \cs{qedsymbol}, initially unset}
Adds \colOpt{\meta{symbol}} to the end of the theorem body.
If no value is given, the symbol \openbox\ is used.
If no value is given, the symbol \qedsymbol{} is used.

\begin{tcbwritetemp}
\newkeytheorem{example}[qed]
Expand Down
3 changes: 2 additions & 1 deletion keytheorems-ideas.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,4 +108,5 @@
- [ ] hook order with `\addtotheoremhook` and qed is wrong
- [ ] `\getkeytheorem[body]{foo}` needs to use theorem-specific restated hook
This means getthm_body needs to take three arguments...
- [ ] `qed={}` in style does not do the right thing
- [ ] `qed={}` in style does not do the right thing
- [ ] lots of code duplication, for example in beamer support file
Binary file modified tests/keytheorems-amsthmtest.pdf
Binary file not shown.
1 change: 0 additions & 1 deletion tests/keytheorems-amsthmtest.tex
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
\newkeytheoremstyle{citing}{
spaceabove=3pt,
spacebelow=3pt,
notefont=\bfseries,
postheadspace=.5em,
notebraces={}{},
headstyle=\thmnote{#3},
Expand Down
Binary file modified tests/keytheorems-comptest.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion tex/class-support/keythms-amsart-support.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Maintained by Matthew Bertucci, 2024-present
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\ProvidesExplFile{keythms-amsart-support}{2024-09-30}{0.1.6dev}
\ProvidesExplFile{keythms-amsart-support}{2024-10-05}{0.1.6}
{keytheorems~support~for~the~amsart~class}

\__keythms_support_AMSshared_code:
Expand Down
2 changes: 1 addition & 1 deletion tex/class-support/keythms-amsbook-support.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Maintained by Matthew Bertucci, 2024-present
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\ProvidesExplFile{keythms-amsbook-support}{2024-09-30}{0.1.6dev}
\ProvidesExplFile{keythms-amsbook-support}{2024-10-05}{0.1.6}
{keytheorems~support~for~the~amsbook~class}

\__keythms_support_AMSshared_code:
Expand Down
2 changes: 1 addition & 1 deletion tex/class-support/keythms-amsproc-support.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Maintained by Matthew Bertucci, 2024-present
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\ProvidesExplFile{keythms-amsproc-support}{2024-09-30}{0.1.6dev}
\ProvidesExplFile{keythms-amsproc-support}{2024-10-05}{0.1.6}
{keytheorems~support~for~the~amsproc~class}

\__keythms_support_AMSshared_code:
Expand Down
2 changes: 1 addition & 1 deletion tex/class-support/keythms-beamer-support.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Maintained by Matthew Bertucci, 2024-present
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\ProvidesExplFile{keythms-beamer-support}{2024-09-30}{0.1.6dev}
\ProvidesExplFile{keythms-beamer-support}{2024-10-05}{0.1.6}
{keytheorems~support~for~the~beamer~class}

% do nothing if noamsthm loaded
Expand Down
2 changes: 1 addition & 1 deletion tex/class-support/keythms-memoir-support.tex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
% Maintained by Matthew Bertucci, 2024-present
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\ProvidesExplFile{keythms-memoir-support}{2024-09-30}{0.1.6dev}
\ProvidesExplFile{keythms-memoir-support}{2024-10-05}{0.1.6}
{keytheorems~support~for~the~memoir~class}

\bool_new:N \l__keythms_support_titlecode_bool
Expand Down
2 changes: 1 addition & 1 deletion tex/keytheorems.sty
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
% Please report all issues and feature requests at https://github.com/mbertucci47/keytheorems
% This work is licensed under the LPPL version 1.3c or later: https://www.latex-project.org/lppl.txt
\NeedsTeXFormat{LaTeX2e}[2023-06-01]
\ProvidesExplPackage{keytheorems}{2024-09-30}{0.1.6dev}{l3keys interface to amsthm}
\ProvidesExplPackage{keytheorems}{2024-10-05}{0.1.6}{l3keys interface to amsthm}

\IfFormatAtLeastTF { 2024-06-01 } { }
{
Expand Down

0 comments on commit b4d577e

Please sign in to comment.