Hi Janet,

has your style called "Example" has been published?
I am looking forward to use it in my document. So far I haven't been able to find it in the chapter template (http://oooauthors.org/en/authors/userguide2/resources/chapter_template_V2.sxw).
When is an update due to come?
Please let me know.

Regards Hinrich


We don't have a convention, so I'll make one up on the spot. I'm cc'ing Jean in case she has thoughts on this when she gets back.

In order to put a caption on a code block, it needs to be in its own text frame. Make the text frame span the full width of the text area. Use OOoComputerCode paragraph style within in the code block. You might find it useful to define a frame style for code blocks, so you don't have to format each one. We can incorporate that style the next time we update the template.

Put the caption "above" the frame (it will appear within the frame but above the text). Use "Example" for the category name. (Rick, if that doesn't fit what you're doing let me know, and we can come up with a better label. I'd prefer to use "Code Example", but the Category field doesn't seem to allow spaces.) Then you should be able to make cross-references to it. "Example" will show up under "Type" in the Fields dialog box.

Reply via email to