Chris Taylor wrote: > > I have some tables in my file and have looked through the help, but am > not able to control the column widths. I want to make the left column > about 20% of the window width so that the second column has more room. > Is there a way to do this? I have tried adjusting the 'width' but this > does not appear to make any changes, and I would have thought this was > for the whole table anyway. >
> Sorry....I meant to attach and image of the xml with the columns. I want > to make the left column narrower to give more space to the text on the > right. > Solution #1: Insert a colspec element before the tbody or thead of the table's tgroup. Specify a value such as "2in" as the value of the colwidth attribute of the colspec element. Solution #2: Insert colspec elements before the tbody or thead of the table's tgroup, one for each column. Select the colspec of the column you want to make wider and specify something like "4*" as the value of its colwidth attribute. See http://www.docbook.org/tdg/en/html/colspec.html > I also have some 'programlisting' entries that are a little too width > for the pdf. The pdf is not wrapping the text around. Is there a setting > in the attributes to allwo text wrapping according to width? > Not to my knowledge. I generally wrap text by hand when this happens. See http://www.docbook.org/tdg/en/html/programlisting.html

