diff options
author | Karl Berry <karl@freefriends.org> | 2024-10-10 19:42:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-10-10 19:42:31 +0000 |
commit | add95d6be47ecbac0f09495c7ffe7cf86cfb5db9 (patch) | |
tree | 3f1a3177fcdac5969d80f26dba6b3f0f88d8a06c /Master/texmf-dist/doc/latex/keytheorems | |
parent | c480fd1dd5b17382f14a520147c509b6a0b48948 (diff) |
keytheorems (10oct24)
git-svn-id: svn://tug.org/texlive/trunk@72516 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/keytheorems')
-rw-r--r-- | Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md | 5 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/keytheorems/README.md | 40 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf | bin | 147471 -> 150183 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex | 23 |
4 files changed, 64 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md b/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md index 5183d6cd2b8..5852ed8c352 100644 --- a/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog for keytheorems package +## [v0.1.7] +- add support for aomart class +- add support for Michael Sharpe's font packages that change plain style + ## [v0.1.6] - add `\renewkeytheorem`, `\providekeytheorem`, and `\declarekeytheorem` - tcolorbox theorems no longer error with beamer @@ -36,6 +40,7 @@ ## 0.1.0 - 2024-09-04 - First release +[unreleased]: https://github.com/mbertucci47/keytheorems/compare/v0.1.6...develop [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 diff --git a/Master/texmf-dist/doc/latex/keytheorems/README.md b/Master/texmf-dist/doc/latex/keytheorems/README.md index a8f56bd507f..086ead096bb 100644 --- a/Master/texmf-dist/doc/latex/keytheorems/README.md +++ b/Master/texmf-dist/doc/latex/keytheorems/README.md @@ -434,6 +434,46 @@ body text \end{document} ``` +### [beamer theorem syntax not fully supported #57](https://github.com/muzimuzhi/thmtools/issues/57) +Fixed in keytheorems. +```tex +\documentclass{beamer} +\setbeamertemplate{theorems}[numbered] +\usepackage{keytheorems} + +\newkeytheorem{MyTheorem} + +\begin{document} + +\begin{frame} +\begin{MyTheorem}[name=bla] +first text +\end{MyTheorem} +\begin{MyTheorem}<2->[name=bla] +second text +\end{MyTheorem} +\begin{MyTheorem}[name=bla]<3-> +third text +\end{MyTheorem} +\end{frame} + +% Compare: + +\begin{frame} +\begin{theorem}[bla] +first text +\end{theorem} +\begin{theorem}<2->[bla] +second text +\end{theorem} +\begin{theorem}[bla]<3-> +third text +\end{theorem} +\end{frame} + +\end{document} +``` + ### [restate key incompatible with beamer #58](https://github.com/muzimuzhi/thmtools/issues/58) ```tex \documentclass{beamer} diff --git a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf Binary files differindex 618f53722cb..630c52493fa 100644 --- a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf +++ b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf diff --git a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex index 546435fd596..466338a75e5 100644 --- a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex +++ b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex @@ -22,11 +22,13 @@ \usepackage{keytheorems} \usepackage{cleveref} -\def\version{0.1.6} +\makeatletter +\newcommand\keythmsversion{\@keythms@version} +\makeatother \title{% \pkg{keytheorems} package \\[1ex] - \large version \version \\[1ex] + \large version \keythmsversion \\[1ex] \href{https://github.com/mbertucci47/keytheorems} {\texttt{github.com/mbertucci47/keytheorems}} } @@ -705,6 +707,7 @@ Some theorem text \end{keythmscode} \section{Theorem styles} +\label{thmstyles} \begin{docCommand}{newkeytheoremstyle} {\marg{name}\marg{options}} @@ -718,7 +721,7 @@ The defined style can be used with either the \refKey{style} key or the traditio \end{docCommand} \begin{notebox} -For the AMS classes \cls{amsart}, \cls{amsbook}, and \cls{amsproc}, as well as the \cls{amsart}-based \cls{acmart}, the initial key values are slightly different than what's below in order to match those class's defaults. +For the AMS classes \cls{amsart}, \cls{amsbook}, and \cls{amsproc}, as well as the \cls{amsart}-based \cls{acmart} and \cls{aomart}, the initial key values are slightly different than what's below in order to match those class's defaults. See \autoref{class-support} for details. \end{notebox} \subsection{Keys also defined in \pkg{thmtools}} @@ -870,6 +873,7 @@ example! \end{docCommands} \section{Listing theorems} +\label{listingthms} \begin{docCommand}{listofkeytheorems} {\oarg{options}} @@ -887,7 +891,7 @@ For other classes, manual adjustments to \refKey{numwidth} and \refKey{indent} m \listofkeytheorems \end{keythmscode} -\subsection{Keys inherited from \pkg{thmtools}} +\subsection{Keys also defined in \pkg{thmtools}} \begin{docKey}{ignore} {=\marg{comma-list of env names}} @@ -1136,6 +1140,17 @@ Due to complications with overlays, writing contents of theorems to the |thlist| User feedback is necessary to make this code fully compatible. Please report issues on the \href{https://github.com/mbertucci47/keytheorems/issues}{Github page}! +\subsection{Support for other classes} +\label{class-support} + +As mentioned in \autoref{thmstyles}, the initial style key values set by \pkg{keytheorems} are adjusted for the AMS classes \cls{amsart}, \cls{amsbook}, and \cls{amsproc}, as well as the \cls{amsart}-based \cls{acmart} and \cls{aomart}. You can find the exact changed values in the support files \texttt{keythms-\meta{class}-support.tex}. + +These class support files also contain code to adapt to class' formatting of lists-of as mentioned in \autoref{listingthms}; changes are made for the AMS classes, \cls{memoir}, \cls{IEEEtran}, and \cls{jlreq}. + +\subsection{Support for font packages} + +Some font packages, all by Michael Sharpe, offer a |theoremfont| option that redefines the |plain| style body font to have italic text with upright figures, punctuation, and delimiters. \pkg{keytheorems} detects this option and sets its initial style values accordingly. The supported packages are \pkg{baskervillef}, \pkg{cochineal}, \pkg{libertinust1math}, \pkg{newpxtext}, \pkg{newtxtext}, \pkg{scholax}, and \pkg{XCharter}. + \subsection{Public coding interfaces} \begin{itemize} |