Comprehensive TeX Archive Network

eolgrab – Catch arguments delimited by end of line

The pack­age de­fines the com­mand \eol­grab that reads an string ter­mi­nated by end of line, and then calls a macro with that string as ar­gu­ment. Thus

\eolgrab\section My title
is equiv­a­lent to
\section{My title}

A sec­ond com­mand \eol­grabopt pro­vides the string as an op­tional ar­gu­ment (which is use­ful for \item, for ex­am­ple).

Sources /macros/latex/contrib/oberdiek/eolgrab.dtx
Ver­sion 1.1 2016-05-16
Li­cense The Project Public Li­cense 1.3
Copy­right 2011 Heiko Oberdiek
Main­tainer Heiko Oberdiek
TDS archive oberdiek.tds.zip
Con­tained in TeX Live as oberdiek
MiKTeX as oberdiek
Topics sup­port for de­vel­op­ment of macros

Com­mu­nity Com­ments

Guest Book Sitemap Contact Contact Author