Hi

I created myself a TODO module, which adds text in green to the text
(below). it works nicely,, but I would like to have brackests arount the
TODO: and the text, i.e., at the moment I get:

(TODO:) I still heve to do this

I want:

(TODO: I still have to do this)

How can I achieve this?

Thanks

Rainer


#\DeclareLyXModule{TODO}
#DescriptionBegin
#Inserts green TODO note in tesxt
#DescriptionEnd
# Author: Rainer M Krug <[email protected]>

Format 11

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


-- 
NEW GERMAN FAX NUMBER!!!

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)321 2125 2244
email:          [email protected]

Skype:          RMkrug
Google:         [email protected]

Reply via email to