On 09/19/2012 10:18 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 19/09/12 16:16, Richard Heck wrote:
On 09/19/2012 06:29 AM, Rainer M Krug wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

On 19/09/12 11:45, Jürgen Spitzmüller wrote:
Rainer M Krug wrote:
Hi

I have a document which contains todo items I would like to format \todo items 
not in

div.flex_todo_inline_ { font-family: monospace; } div.flex_todo_margin_ { 
font-family:
monospace; }

as defined in the resulting xhtml, but formated as e.g. bold and in red.

How can I define these formats so that they are automatically used, or do I 
have to do
this manually?
In the todosalternate module, you can define the XHTML output of the insets via 
the
HTMLStyle tag. I.e., add something such as the following to the respective style
definitions:

HTMLStyle div.flex_todo_inline_ { border: 2px solid black; padding: 1ex; 
margin: 1ex;
background-color: #F0F0F0; font-weight: bold; font-family: serif; font-variant: 
normal;
font-style: normal; } EndHTMLStyle

(not tested)
And works like a charm

May I suggest to add this to the todosalternate module layout?
Where is that?
Sorry:

http://wiki.lyx.org/Layouts/Modules#toc2

and the actual layout file

http://wiki.lyx.org/uploads/Modules/todonotesalternate.module

In that case, you can update it, though I guess we have to figure out the upload problem....

Richard

Reply via email to