[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: Documentation (5f80a870)

Joseph Wright joseph.wright at morningstar2.co.uk
Wed Feb 16 00:19:35 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/5f80a870428e163d7bc5bb2cf8a61e377a2acb15

>---------------------------------------------------------------

commit 5f80a870428e163d7bc5bb2cf8a61e377a2acb15
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Feb 15 23:19:35 2022 +0000

    Documentation


>---------------------------------------------------------------

5f80a870428e163d7bc5bb2cf8a61e377a2acb15
 base/ltkeys.dtx | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/base/ltkeys.dtx b/base/ltkeys.dtx
index b71f536d..53337564 100644
--- a/base/ltkeys.dtx
+++ b/base/ltkeys.dtx
@@ -103,6 +103,17 @@
 %   \cs{ProcessKeyOptions}/\cs{ProcessKeyPackageOptions} act as package options.
 % \end{function}
 %
+% \begin{function}{\DeclareUnknownKeysHandler}
+%   \begin{syntax}
+%     \cs{DeclareUnknownKeysHandler} \oarg{family} \marg{code}
+%   \end{syntax}
+%   The function \cs{DeclareUnknownKeysHandler} may be used to define
+%   the behavior when an undefined key is encountered. The \meta{code}
+%   will receive the unknown key name as |#1| and the value as |#2|.
+%   These can then be processed as appropriate, e.g.~by forwarding
+%   to another package.
+% \end{function}
+%
 % \begin{function}{\ProcessKeyOptions}
 %   \begin{syntax}
 %     \cs{ProcessKeyOptions} \oarg{family}





More information about the latex3-commits mailing list.