Open muzimuzhi opened 6 months ago
As these commands are relatively young to the LaTeX kernel, I'm afraid that they are not covered by most introductory LaTeX resources. Maybe it worth citing LaTeX's
usrguide
in places where\NewDocumentCommand
and\NewDocumentEnvironment
are mentioned at first time (in docs for\NewTotalTColorBox
and\NewTColorBox
, respectively), and inxparse
library doc.
Yes, I think such a citation is useful. Thank you - I will add this to the documentation.
Since v5.1.0, code in
xparse
library "was migrated to other parts of thetcolorbox
package" (see #180), so users will see mentions to\NewDocumentCommand
,\NewDocumentEnvironments
, and their friends throughout thetcolorbox
manual.Before, these mentions appear only in doc section for
xparse
library, which cited thexparse
package manual at its beginning.As these commands are relatively young to the LaTeX kernel, I'm afraid that they are not covered by most introductory LaTeX resources. Maybe it worth citing LaTeX's
usrguide
in places where\NewDocumentCommand
and\NewDocumentEnvironment
are mentioned at first time (in docs for\NewTotalTColorBox
and\NewTColorBox
, respectively), and inxparse
library doc.PS: Came up with this idea when I was viewing changes to
tcolorbox.doc.bib
in commit 067f384 (6.2.0, 2024-01-10).