[NTG-context] TeX: Macro definition
Procházka Lukáš Ing. - Pontex s. r. o.
LPr at pontex.cz
Thu Apr 7 11:27:03 CEST 2011
how to define a macro to take the new-line character as end-of-parameter?
The following macro:
takes everything until \par (or empty line as it equals \par primitive) as #1, so the following is valid:
\T abc def\par
(#1 becomes: "abc def", "abc" and "def".)
How to define the same macro to accept end-of-line as end-of-parameter?
I tried (although I'm aware this may not lead to the goal):
to allow writing:
\T abc def
So how to define the macro?
Thanks in advance.
Ing. Lukáš Procházka [mailto:LPr at pontex.cz]
Pontex s. r. o. [mailto:pontex at pontex.cz] [http://www.pontex.cz]
147 14 Praha 4
Tel: +420 244 062 238
Fax: +420 244 461 038
More information about the ntg-context