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.
- hobsub: Construct package bundles
- protecteddef: Define protected commands
- picture: Dimens for picture macros
- twoopt: Definitions with two optional arguments