[latex3-commits] [l3svn] 03/04: Update Nes re. e-type argument
noreply at latex-project.org
noreply at latex-project.org
Fri Nov 18 21:27:04 CET 2016
This is an automated email from the git hooks/post-receive script.
joseph pushed a commit to branch master
in repository l3svn.
commit ca07aef52ba7c39b0b061f89cb59a0dab993814e
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Fri Nov 18 20:18:08 2016 +0000
Update Nes re. e-type argument
---
news/l3news10.tex | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/news/l3news10.tex b/news/l3news10.tex
index 690836d..1ed79f4 100644
--- a/news/l3news10.tex
+++ b/news/l3news10.tex
@@ -143,17 +143,18 @@ conceptual uses which may flow from the primitives:
\section{Extending \pkg{xparse}}
-After discussions at TUG2015, the team have added a new argument type,
-\texttt{k} (\enquote{key}) to \pkg{xparse}. This allows arguments similar to
+After discussions at TUG2015 and some experimentation, the team have added a
+new argument type, \texttt{e} (\enquote{embellishment}), to \pkg{xparse}.
+This allows arguments similar to
\TeX{} primitive sub- and superscripts to be accepted. Thus
\begin{verbatim}
-\DeclareDocumentCommand\foo{k^k_}
- {\showtokens{"#1":"#2"}}
+\DeclareDocumentCommand\foo{e{^_}}
+ {\showtokens{"#1"}}
\foo^{Hello} world
\end{verbatim}
will show
\begin{verbatim}
-"Hello":"-NoValue-".
+{Hello}{-NoValue-}.
\end{verbatim}
At present, this argument type is experimental: there are a number of models
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the latex3-commits
mailing list