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.
|Licenses||The LaTeX Project Public License|
|Copyright||2008 Stephen D. Hicks|
|Contained in||TeX Live as inlinedef|
MiKTeX as inlinedef
Download the contents of this package in one zip archive (147.1k).
Maybe you are interested in the following packages as well.
- letltxmacro: Let assignment for LaTeX macros
- xfp: Interface to the LaTeX3 floating point unit
- dvisvgm-def: Colour and Graphics support for dvisvgm
- graphics-def: Colour and graphics option files