CTAN Comprehensive TeX Archive Network

CTAN has a new package: inlinedef

Date: July 10, 2008 8:14:24 AM CEST
This package has been installed at tug.ctan.org and should soon be at your favorite mirror. Thanks again, Jim Hefferon Saint Michael's College .............................................................................. The following information was provided by our fellow contributor: Name of contribution: inlinedef Author's name: Stephen Hicks Location on CTAN: /macros/latex/contrib/inlinedef Summary description: Inlined expansions within definitions License type: lppl Announcement text:
This package provides a macro \Inline that precedes a \def or \gdef. Within the definition text of an inlined definition, keywords such as \Expand may be used to selectively inline certain expansions at definition-time. This eases the process of redefining macros in terms of the original definition, as well as definitions in which the token that must be expanded is deep within, where \expandafter would be difficult and \edef is not suitable. Another application is as an easier version of \aftergroup, by defining a macro in terms of expanded local variables, then ending the group with \expandafter\endgroup\macro
This package is located at http://tug.ctan.org/tex-archive/macros/latex/contrib/inlinedef . More information is at http://tug.ctan.org/pkg/inlinedef (if the package is new it may take a day for that information to appear). We are supported by the TeX Users Group http://www.tug.org . Please join a users group; see http://www.tug.org/usergroups.html .

inlinedef – Inline expansions within definitions

The package provides a macro \Inline that precedes a \def or \gdef. Within the definition text of an inlined definition, keywords such as \Expand may be used to selectively inline certain expansions at definition-time. This eases the process of redefining macros in terms of the original definition, as well as definitions in which the token that must be expanded is deep within, where \expandafter would be difficult and \edef is not suitable. Another application is as an easier version of \aftergroup, by defining a macro in terms of expanded local variables, then ending the group with \expandafter\endgroup\macro.

Packageinlinedef
Version1.0
Copyright2008 Stephen D. Hicks
MaintainerStephen Hicks

Announcements

more

Guest Book Sitemap Contact Contact Author