Dekel wrote:

> LyX currently has no support for environments with arguments. So you need
a
> workaround:

> Style Address
>   LatexType       Command
>   LatexName       Address
>   Preamble
> \newcommand{\Address}[1]{\begin{letter}{#1}\AtEndDocument{\end{letter}}}
>   EndPreamble
> End

That did it. Very good. Thanks!

Can I generalize this method for Commands with several parameters ?
How would I map such commands to Lyx layouts ?

For instance an exercise sheet for students - in the .tex file there is
\Title{Bla bla Lecture exercise 5}{8-12-2001}{8-19-2001}

Is there a reasonable possibility to get one Lay layout out of that or
do I need three with cascaded \newcommands ?

Yours,

:M:
--
Michael 'Mickey' Lauer . . . . . . . . . [EMAIL PROTECTED]
How could anyone know me - when I don't even know myself ?

Reply via email to