After defining a set of keys with
Code: Select all
\keys_define:nn { mykeys } { ... }
For example, I have the following command:
Code: Select all
\NewDocumentCommand {\bh} { o }
{
\tl_if_single:nF {#1}
{ \keys_set:nn {mykeys} {#1} }
}
options from the user and apply the definitions I set up with
\keys_define:nn.
Could it be explained how to properly structure such a command so that
it processes keys both from the user input and from the predefined key
set?
A minimal working example of how to define keys and use them in a command
would be important.