A Rosina Bignall wrote:
> 
> I'm trying to create a layout for a latex style that I use regularly.  One of
> the commands has two parameters.  For example, in LaTeX, I would write:
> 
> \addresses{my home address}{my work address}
> 
> How can I define this command to Lyx? My stab at it is

in latex preamble

\newcommand{\adresses}[2]{whateveryouwant...#1 whateveryouwant..#2
...whateveryouwant} 

than you can make this preamble as default.

in LyX write as tex (red) \addresses{my home address}{my work address}


Herbert

-- 
[EMAIL PROTECTED]
http://www.perce.de

Reply via email to