[vox-tech] put a caption on code listing for OpenOffice?

Brian Lavender brian at brie.com
Sat Oct 9 20:05:08 PDT 2010


I followed the following instructions for doing a code listing with OpenOffice,
but now I would like to put a Caption at the top.  

http://wiki.services.openoffice.org/wiki/Documentation/How_Tos/Setting_up_a_Style_for_Numbering_Lines_in_Code_Listings

Similar to the following. Any ideas?

Listing 1

 1 for i = 1 to 10
 2   begin
 3     writeln('The world is a vampire');
 4   end;

brian
-- 
Brian Lavender
http://www.brie.com/brian/

"Program testing can be used to show the presence of bugs, but never to
show their absence!"

Professor Edsger Dijkstra
1972 Turing award recipient


More information about the vox-tech mailing list