[texhax] read argument until EOL

Arno Trautmann Arno.Trautmann at gmx.de
Thu Jan 6 11:51:57 CET 2011


Hi all,

a question I posted on the LaTeX3-list and Uwe Lueck asked me to re-post
here:

How to code a macro that reads an argument until the end of the line?
e.g. to get rid of braces in \section:

  \eolsection My Title
  normal text.

Here, "My Title" should be accesible in the \eolsection as #1.
For my case, the solution does not have to be robust or cover any
strange case with catcodes, verbatim or anything else, just plain text
will appear.

cheers
Arno

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://tug.org/pipermail/texhax/attachments/20110106/4bdf531f/attachment.bin>


More information about the texhax mailing list