On 9 Dec 1999, Jean-Marc Lasgouttes wrote:

>Philip> Is there something like 'LatexType Def' for use in *.layout
>Philip> files which works like 'LatexType Command' but puts
>Philip> '\def\name{Text}' instead of '\commandname{Text}'?
>
>Something like the following untested code should work: it defines the
>macro \myname with the value of the paragraph. Is that what you wanted?
>
>Style DefMyName
>  LatexType    Command
>  LatexName    defmyname
>  
>  Preamble
>    \newcommand{\defmyname}{\def\myname{##1}}
>  EndPreamble
>End

Uhh... of course. I'm still new to latex ;)
Thanks.

-- 
Philip Lehman <[EMAIL PROTECTED]>

Reply via email to