On 29.06.05, Rainer Dorsch wrote:
> Hello,
> 
> I defined a few latex macros like
> 
>   \newcommand{\SRx}[1]{\hyperref[headsrx#1
> {\MakeUppercase{sr}x\_\MakeTextUppercase{#1}}}
 
> If this would be a complete paragraph, LyX support would be excellent by 
> defining a new .layout file.
> 
> But these macros are used within a paragraph. So far I have found nothing 
> else 
> than using ERT e.g. \SQx{abc} which is kind of ugly.

If the macros were used (or would work) in math, you could use the
math-macro function to define them and a command-sequence to bind them on a
key.


Günter

-- 
G.Milde web.de

Reply via email to