Re: My first lyx layout file

2001-05-22 Thread Michael Lauer
On Tue, 22 May 2001, Dekel Tsur wrote: > > > > Is there a reasonable possibility to get one Lay layout out of that or > > do I need three with cascaded \newcommands ? > > You need to use 3 new commands: [...] Thanks for your help! We should include this kind of stuff into the documentation chap

Re: My first lyx layout file

2001-05-22 Thread Dekel Tsur
On Tue, May 22, 2001 at 12:07:45AM +0200, Michael Lauer wrote: > Dekel wrote: > > > LyX currently has no support for environments with arguments. So you need > a > > workaround: > > > Style Address > > LatexType Command > > LatexName Address > > Preamble > > \newcommand{\Addres

Re: My first lyx layout file

2001-05-21 Thread Michael Lauer
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

Re: My first lyx layout file

2001-05-18 Thread Dekel Tsur
On Thu, May 17, 2001 at 05:05:33PM +0200, Michael Lauer wrote: > I want to write a layout file for the standard letter format > we use in our institution. I'm struggleing very early here... > I find the chapter on LyX layouts very brief - there really > should be something tutorial like. However,

Re: My first lyx layout file

2001-05-17 Thread Michael Lauer
> should be something tutorial like. However, within the .cls > file I have a \begin{letter}{Prof. Dr. Hagedorn} which forms Err... sorry, of course within a .tex file, not within the .cls :M:

My first lyx layout file

2001-05-17 Thread Michael Lauer
Hi, I want to write a layout file for the standard letter format we use in our institution. I'm struggleing very early here... I find the chapter on LyX layouts very brief - there really should be something tutorial like. However, within the .cls file I have a \begin{letter}{Prof. Dr. Hagedorn} w