← Prev in month ← Prev in thread

page-wide program examples

From
Jeff Powanda <>
Date
2007-09-14T18:12:29+00:00
ID
Thread
page-wide program examples
I’d like to have some program examples extend the full
width of the page in PDF output. I thought I could put the
<programlisting> elements within an <example> or
<informalexample> element, and set the pgwide attribute to 1 (which you
can do with tables and figures). However, <example> and
<informalexample> don’t support the pgwide attribute.

 

As a temporary workaround, I’m inclined to put the
<programlisting> inside a <table> or <figure> and set the
pgwide attribute.

 

Has anyone else found another simpler way to create page-wide
program examples?

 

Regards,

Jeff Powanda
← Prev in month ← Prev in thread