[latex3-commits] [git/LaTeX3-latex3-latex2e] gh639: grrrr... ltxguide (d5edc64b)

Frank Mittelbach frank.mittelbach at latex-project.org
Sat Aug 7 10:15:28 CEST 2021


Am 07.08.21 um 05:54 schrieb PhelypeOleinik:
> -\NewDocumentCommand \foo { >{\TrimSpaces} e{_^} } { (#1)[#2] }
> +\NewDocumentCommand\foo{>>{\TrimSpaces}e{_^}}
> +  {(#1)[#2]}

I suppose the >> is there to get a single > ?

The whole  <> shortcuts have been a mistake in the first place I guess, 
but we have them now so have do deal withm.

But I suggest to use \string> instead because that will work even if the 
text is moved later to a different format where doubling would be wrong 
(ie when typesetting it for TUB) otherwise I already see >> appearing

frank


More information about the latex3-commits mailing list.