eolgrab – Catch arguments delimited by end of line
The package defines the command \eolgrab that reads an string terminated by end of line, and then calls a macro with that string as argument. Thus
\eolgrab\section My titleis equivalent to
A second command \eolgrabopt provides the string as an optional argument (which is useful for \item, for example).
|License||The LaTeX Project Public License 1.3|
|Contained in||TeX Live as oberdiek|
|MiKTeX as oberdiek|
support for development of (La)TeX macros|
Maybe you are interested in the following packages as well.
- etexcmds: Avoid name clashes with e-TeX commands
- hobsub: Construct package bundles
- protecteddef: Define protected commands
- twoopt: Definitions with two optional arguments