[latex3-commits] [latex3/latex2e] develop: Add missing "expandable" (765d32f4)

github at latex-project.org github at latex-project.org
Wed May 17 13:01:03 CEST 2023


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/765d32f4669b46d42028bebd545ab198c0f9ef91

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

commit 765d32f4669b46d42028bebd545ab198c0f9ef91
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Wed May 17 12:01:03 2023 +0100

    Add missing "expandable"


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

765d32f4669b46d42028bebd545ab198c0f9ef91
 base/doc/usrguide.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/doc/usrguide.tex b/base/doc/usrguide.tex
index f4f7dc37..2b620452 100644
--- a/base/doc/usrguide.tex
+++ b/base/doc/usrguide.tex
@@ -779,7 +779,7 @@ Section~\ref{sec:ltcmd:expandable} use an engine feature which prevents
 such `expansion'. Therefore, to create such wrappers for use at the start
 of tabular cells, you must use \cs{NewExpandableDocumentCommand}, for example
 \begin{verbatim}
-\NewDocumentCommand\MyMultiCol{m}{\multicolumn{3}{c}{#1}}
+\NewExpandableDocumentCommand\MyMultiCol{m}{\multicolumn{3}{c}{#1}}
 \begin{tabular}{lcr}
 a & b & c \\
 \MyMultiCol{stuff} \\





More information about the latex3-commits mailing list.