On Tue, Oct 27, 2009 at 10:02 AM, Guenter Milde <[email protected]>wrote:

> On 2009-10-27, Rainer M Krug wrote:
>
> ...
> >         LabelFont
> >           Color               red
> >           Size                Large
> >           Series              Bold
> >         EndFont
> ...
>
> > But I would like to have the text which I enter also to be red (and
> > possibly also changed to bold). How can I achieve this?
>
> With the Font keyword. In addition to LabelFont.
>

Thanks for that, but I wanted to have the TEXT in bold. I figured it out:

#Inserts Greyedout comment, reading REF
#DescriptionEnd
# Author: Rainer M Krug <[email protected]>

Format 11

InsetLayout REF
        LyXType               custom
        LabelString           REF
        LatexType             command
        LatexName             textcolor{red}{\textbf(REF):~}\textcolor{red}
        Decoration            classic
        LabelFont
          Color               red
          Size                Large
          Series              Bold
        EndFont
        OptionalArgs          1
        MultiPar              false
        Preamble
            \RequirePackage{xcolor}
        EndPreamble
End

Thanks a lot,

Rainer

>
> See Help>Customization.
>
> Günter
>
>


-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:           +27 - (0)83 9479 042
Fax:            +27 - (0)86 516 2782
Fax:            +49 - (0)721 151 334 888
email:          [email protected]

Skype:          RMkrug
Google:         [email protected]

Reply via email to