The TeX Catalogue Online

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 title

is equivalent to

\section{My title}

A second command \eolgrabopt provides the string as an optional argument (which is useful for \item, for example).

The author is Heiko Oberdiek. The package is Copyright © 2011 Heiko Oberdiek.

License: lppl1.3 Version: 1.0 Catalogued: 2015-08-03