diff --git a/CHANGELOG.md b/CHANGELOG.md index df0f496..5183d6c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 diff --git a/doc/keytheorems-doc.pdf b/doc/keytheorems-doc.pdf index 128bc89..618f537 100644 Binary files a/doc/keytheorems-doc.pdf and b/doc/keytheorems-doc.pdf differ diff --git a/doc/keytheorems-doc.tex b/doc/keytheorems-doc.tex index 1ac4917..546435f 100644 --- a/doc/keytheorems-doc.tex +++ b/doc/keytheorems-doc.tex @@ -22,7 +22,7 @@ \usepackage{keytheorems} \usepackage{cleveref} -\def\version{0.1.6dev} +\def\version{0.1.6} \title{% \pkg{keytheorems} package \\[1ex] @@ -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} @@ -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} @@ -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} @@ -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] diff --git a/keytheorems-ideas.md b/keytheorems-ideas.md index 594ad03..40509a4 100644 --- a/keytheorems-ideas.md +++ b/keytheorems-ideas.md @@ -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 \ No newline at end of file +- [ ] `qed={}` in style does not do the right thing +- [ ] lots of code duplication, for example in beamer support file \ No newline at end of file diff --git a/tests/keytheorems-amsthmtest.pdf b/tests/keytheorems-amsthmtest.pdf index 4b3679d..ced710d 100644 Binary files a/tests/keytheorems-amsthmtest.pdf and b/tests/keytheorems-amsthmtest.pdf differ diff --git a/tests/keytheorems-amsthmtest.tex b/tests/keytheorems-amsthmtest.tex index 329064c..a637613 100644 --- a/tests/keytheorems-amsthmtest.tex +++ b/tests/keytheorems-amsthmtest.tex @@ -62,7 +62,6 @@ \newkeytheoremstyle{citing}{ spaceabove=3pt, spacebelow=3pt, - notefont=\bfseries, postheadspace=.5em, notebraces={}{}, headstyle=\thmnote{#3}, diff --git a/tests/keytheorems-comptest.pdf b/tests/keytheorems-comptest.pdf index 20ebde6..1944484 100644 Binary files a/tests/keytheorems-comptest.pdf and b/tests/keytheorems-comptest.pdf differ diff --git a/tex/class-support/keythms-amsart-support.tex b/tex/class-support/keythms-amsart-support.tex index c77301a..c54a347 100644 --- a/tex/class-support/keythms-amsart-support.tex +++ b/tex/class-support/keythms-amsart-support.tex @@ -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: diff --git a/tex/class-support/keythms-amsbook-support.tex b/tex/class-support/keythms-amsbook-support.tex index bcb7f55..2ec0d09 100644 --- a/tex/class-support/keythms-amsbook-support.tex +++ b/tex/class-support/keythms-amsbook-support.tex @@ -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: diff --git a/tex/class-support/keythms-amsproc-support.tex b/tex/class-support/keythms-amsproc-support.tex index c6a9880..2883efc 100644 --- a/tex/class-support/keythms-amsproc-support.tex +++ b/tex/class-support/keythms-amsproc-support.tex @@ -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: diff --git a/tex/class-support/keythms-beamer-support.tex b/tex/class-support/keythms-beamer-support.tex index e3a85ba..30d8170 100644 --- a/tex/class-support/keythms-beamer-support.tex +++ b/tex/class-support/keythms-beamer-support.tex @@ -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 diff --git a/tex/class-support/keythms-memoir-support.tex b/tex/class-support/keythms-memoir-support.tex index cf0a52e..52ee578 100644 --- a/tex/class-support/keythms-memoir-support.tex +++ b/tex/class-support/keythms-memoir-support.tex @@ -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 diff --git a/tex/keytheorems.sty b/tex/keytheorems.sty index 73fa767..00781a8 100644 --- a/tex/keytheorems.sty +++ b/tex/keytheorems.sty @@ -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 } { } {