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.
- catchfile: Catch an external file into a macro
- gettitlestring: Clean up title references
- ltxcmds: Some LaTeX kernel commands for general use
- makerobust: Making a macro robust