CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ macros/ latex/ contrib/ inlinedef

You can get this entire directory bundled as inlinedef.zip.

Packages located here

Package Caption
inlinedef Inline expansions within definitions.

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
README 2008-07-10 1 Kbyte download Shown below
inlinedef.dtx 2008-07-10 39 Kbyte download
inlinedef.ins 2008-07-10 2 Kbyte download
inlinedef.pdf 2008-07-10 150 Kbyte download
inlinetest.tex 2008-07-10 11 Kbyte download

Contents of the README file

INLINEDEF -- Inlined expansions within definitions

AUTHOR
  Stephen D. Hicks is author of inlinedef
  email: sdh33@cornell.edu

COPYRIGHT
  This program is provided under the terms of the
  LaTeX Project Public License distributed from CTAN
  archives in the directory macros/latex/base/lppl.txt.
  Copyright 2008 Stephen D. Hicks

INSTALLATION
  Run `latex inlinedef.ins' and copy the inlinedef.sty file into a
  path searched by LaTeX.

DESCRIPTION
  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

FILES
  README          This file
  inlinedef.dtx   Source code, test suite, and documentation
  inlinedef.ins   Installation script generating source and tests
  inlinedef.pdf	  PDF version of the documentation

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.