-----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

Rainer

> 
> rh
> 


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

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      [email protected]

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBZ1CEACgkQoYgNqgF2egr7wwCfenb9NMdsynIVuYKiR9izFgEm
dsoAnjyeUj7J7fALaa6FAuATC9ZduXKG
=FwBy
-----END PGP SIGNATURE-----

Reply via email to