Robert Payne <[EMAIL PROTECTED]> wrote in news:430FC0F0.8080601
@optusnet.com.au:

> How can I give this (it will be pasted as text) a slightly different 
> background
> such as light gray to distinguish  it from the rest  of the  text  in 
> the  document ?
> 

Make a style and apply it. This is actually the answer to all formatting 
questions. The implementation is left as an exercise to the reader :-)

Seriously, What you probably want to do is to select a code fragment, go to 
the format menu, choose paragraph, and then the tab that says "background". 
Pick a background colour, and change anything else you want to and press 
OK. Select the text that you've prettied up then press F11 to bring up the 
stylist window, and the icon at the extreme right lets you "make a new 
style based on the selection". Give it a name like "code snippet".
Then, the next time you pate in a code snippet, select it and click "code 
snippet" from the list of paragraph styles in the stylist window.


-- 
Andrew Brown
The email in the header does not work.
Contact details and possibly useful macros from
http://www.darwinwars.com/lunatic/bugs/oo_macros.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to