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).
|Licenses||The LaTeX Project Public License 1.3|
|Copyright||2011 Heiko Oberdiek|
|Contained in||TeX Live as oberdiek|
MiKTeX as oberdiek
Maybe you are interested in the following packages as well.
- protecteddef: Define protected commands
- catchfile: Catch an external file into a macro
- twoopt: Definitions with two optional arguments
- aliascnt: Alias counters