summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2025-01-08 21:11:53 +0000
committerKarl Berry <karl@freefriends.org>2025-01-08 21:11:53 +0000
commitef79f749f062567b5cd6387a726bce73bc944fd1 (patch)
tree61d6df01dd8a6f03e6a26aab6ac3e91633933224 /Master/texmf-dist/doc
parent6de5209b465deb2b5966ba9ff69bce3ee03a6f6b (diff)
keytheorems (8jan25)
git-svn-id: svn://tug.org/texlive/trunk@73373 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r--Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md6
-rw-r--r--Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdfbin161806 -> 169165 bytes
-rw-r--r--Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex46
3 files changed, 32 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md b/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md
index 48b4f9e29d0..4050d96127e 100644
--- a/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md
+++ b/Master/texmf-dist/doc/latex/keytheorems/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog for keytheorems package
+## [v0.2.3]
+- add many translations; some missing translation of "continuing from p."
+- add `manual-num` key
+- `leftmargin` and `rightmargin` now work correctly with tagging loaded
+
## [v0.2.2]
- fix implementation of `inherit-style` so it can contain thm keys
- add support for zref-clever in `refname` and `Refname`
@@ -53,6 +58,7 @@
## 0.1.0 - 2024-09-04
- First release
+[v0.2.3]: https://github.com/mbertucci47/keytheorems/compare/v0.2.2...v0.2.3
[v0.2.2]: https://github.com/mbertucci47/keytheorems/compare/v0.2.1...v0.2.2
[v0.2.1]: https://github.com/mbertucci47/keytheorems/compare/v0.1.8...v0.2.1
[v0.1.8]: https://github.com/mbertucci47/keytheorems/compare/v0.1.7...v0.1.8
diff --git a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf
index 8e220a48c88..5eb96e99bda 100644
--- a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf
+++ b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex
index d80d4cd0baa..9008b4300c0 100644
--- a/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex
+++ b/Master/texmf-dist/doc/latex/keytheorems/keytheorems-doc.tex
@@ -5,6 +5,7 @@
\usepackage{geometry}
\geometry{margin=1.5in}
\usepackage{tcolorbox}
+\PassOptionsToPackage{cachedir=keythms-doc-minted}{minted}
\tcbuselibrary{documentation,minted,breakable,hooks}
\ifTUTeX
@@ -15,21 +16,11 @@
\usepackage{amssymb}
\fi
\usetikzlibrary{cd}
+\usepackage{fontawesome5}
\usepackage{booktabs}
\usepackage{keytheorems}
-\usepackage{cleveref}
-
-%%% TEMPORARY (https://tex.stackexchange.com/q/730126/208544)
-\RemoveFromHook{label}[firstaid/cleveref]
-\makeatletter
-\AddToHook{label}[firstaid/cleveref]
- {\ifx
- \@currentcounter\@empty
- \else
- \firstaid@cref@updatelabeldata{\@currentcounter}%<--- was missing
- \fi}
-\makeatother
-%%% END TEMPORARY
+\usepackage{zref-clever}
+\zcsetup{nameinlink=false}
\makeatletter
\newcommand\keythmsversion{\@keythms@version}
@@ -265,7 +256,7 @@ These texts can be manually customized with the \refKey{title} and \refKey{conti
{initially\\ \cs{GetTranslation}\ttbraces{keythms\string_continues}\cs{pageref}\ttbraces{\#1}}
The code used to typeset the note produced by the \refKey{continues} key.
If English or an unknown language is used, defaults to \texttt{continuing from p.}\cs{,}\cs{pageref}\ttbraces{\#1}.
-Currently (likely inaccurate!) translations exist for French, German, Italian, Portuguese, and Spanish.
+Currently (likely inaccurate!) translations exist for several European languages.
\end{docKey}
\begin{docKey}{qed-symbol}
@@ -379,6 +370,22 @@ Some text
\end{docKey}
+\begin{docKey}{manual-num}
+ {=\marg{text}}
+ {initially unset}
+Use this to override the printed number of a theorem.
+It is useful for making ``starred'' versions of other theorems, perhaps to represent a reformulated or more difficult version.
+
+\begin{keythmscode}[]
+\begin{theorem}[manual-num=\ref*{foo}*]
+A reformulated version of \zcref[S]{foo}.
+\end{theorem}
+\begin{theorem}[manual-num=\faRocket] % requires fontawesome5
+Don't confuse your readers by changing the numbering without good reason.
+\end{theorem}
+\end{keythmscode}
+
+\end{docKey}
\begin{docKey}{continues}
{\sarg=\meta{label name}}
{initially unset}
@@ -657,7 +664,7 @@ Some text
Some more text
\end{prop}
\begin{theorem}
-Consider \cref{abc,def}. \Autoref{abc} \dots
+Consider \zcref{abc,def}. \Autoref{abc} \dots
\end{theorem}
\end{keythmscode}
@@ -861,19 +868,19 @@ In \refKey{headformat}, you may also use the traditional \pkg{amsthm} commands \
\end{docKey}
\begin{docKey}{postheadspace}
- {=\meta{length}}
+ {=\meta{skip expr}}
{initially |5pt plus 1pt minus 1pt|}
Do not use this with the \refKey{break} key.
\end{docKey}
\begin{docKey}{spaceabove}
- {=\meta{length}}
+ {=\meta{skip expr}}
{initially \cs{topsep}}
\end{docKey}
\begin{docKey}{spacebelow}
- {=\meta{length}}
+ {=\meta{skip expr}}
{initially \cs{topsep}}
\end{docKey}
@@ -1030,7 +1037,7 @@ For the AMS classes, this is initially |1.5pc|.
{=\meta{text}}
{initially \cs{GetTranslation}\ttbraces{keythms\string_listof\string_title}}
Defaults to ``List of Theorems'' if English or an unknown language is used.
-Currently French, German, Italian, Portuguese, and Spanish have (likely inaccurate!) translations.
+Currently several European languages have (likely inaccurate!) translations.
A translation can be added with a GitHub pull request or manually with
\begin{center}
\cs{DeclareTranslation}\marg{lang}\ttbraces{keythms\string_listof\string_title}\marg{text}.
@@ -1241,7 +1248,6 @@ The \LaTeX{} team has been working hard to support the creation of tagged PDFs (
The current |dev| formats make \pkg{amsthm} compatible with the kernel tagging code.
Most of \pkg{keytheorems} is supported too, and anything that doesn't work should be reported.
Explicitly not supported are the \refKey{tcolorbox} and \refKey{tcolorbox-no-titlebar} keys.
-There is only partial support for \refKey{leftmargin} and \refKey{rightmargin}, namely only the latter works.
To produce a tagged PDF, add \cs{DocumentMetadata} in the first line of your document (additional instructions are found on the Tagging Project \href{https://latex3.github.io/tagging-project/documentation/prototype-usage-instructions.html}{website}).
An example invocation might look like