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).
The LaTeX Project Public License 1.3
|Copyright||2011 Heiko Oberdiek
|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.
- catchfile: Catch an external file into a macro
- flags: Setting and clearing of flags in bit fields
- pdfescape: Implements pdfTeX's escape features using TeX or e-TeX
- twoopt: Definitions with two optional arguments