| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"> |
| 3 |
<refentry id="pi-dblatex_colwidth"> |
| 4 |
<refmeta> |
| 5 |
<refentrytitle>dblatex colwidth</refentrytitle> |
| 6 |
</refmeta> |
| 7 |
<refnamediv> |
| 8 |
<refname><sgmltag class="xmlpi">dblatex |
| 9 |
<parameter>colwidth</parameter></sgmltag></refname> |
| 10 |
<refpurpose>Specifies a column width for |
| 11 |
<sgmltag>segmentedlist</sgmltag>s presented as tables</refpurpose> |
| 12 |
</refnamediv> |
| 13 |
<refsynopsisdiv> |
| 14 |
<programlisting><![CDATA[<?dblatex colwidth="3cm" ?>]]></programlisting> |
| 15 |
</refsynopsisdiv> |
| 16 |
<refsection> |
| 17 |
<title>Description</title> |
| 18 |
<para>Specifies a column width for the columns of a |
| 19 |
<sgmltag>segmentedlist</sgmltag> when presented as a table. (See |
| 20 |
<xref linkend="segmentedlist.as.table"/>.) This is the width of the |
| 21 |
cell content and does not include inter-cell spacing.</para> |
| 22 |
|
| 23 |
<para>The <parameter>colwidth</parameter> attribute may take any |
| 24 |
of the <sgmltag>colspec</sgmltag>'s |
| 25 |
<parameter>colwidth</parameter> attribute's values. These |
| 26 |
are:</para> |
| 27 |
|
| 28 |
<itemizedlist> |
| 29 |
<listitem> |
| 30 |
<para>A valid TeX length (e.g. 4cm).</para> |
| 31 |
</listitem> |
| 32 |
<listitem> |
| 33 |
<para>A proportional width specification of the form |
| 34 |
<replaceable>N</replaceable><literal>*</literal>, where |
| 35 |
<replaceable>N</replaceable>is a positive integer.</para> |
| 36 |
</listitem> |
| 37 |
<listitem> |
| 38 |
<para>A combination of the above |
| 39 |
(e.g. <literal>3*+1cm</literal>). Spaces are not |
| 40 |
allowed.</para> |
| 41 |
</listitem> |
| 42 |
<listitem> |
| 43 |
<para>Any of the keywords allowed the <xref |
| 44 |
linkend="default.table.width"/> parameter: |
| 45 |
<literal>autowidth.default</literal>, |
| 46 |
<literal>autowidth.all</literal>, and |
| 47 |
<literal>autowidth.none</literal>. The first two, |
| 48 |
<literal>autowidth.default</literal> and |
| 49 |
<literal>autowidth.none</literal>, have the same meaning -- |
| 50 |
LaTeX determines the width of the column based on the width of |
| 51 |
the widest cell value. <literal>autowidth.none</literal> |
| 52 |
means the same as <quote><literal>*</literal></quote>, |
| 53 |
proportional spacing.</para> |
| 54 |
</listitem> |
| 55 |
</itemizedlist> |
| 56 |
|
| 57 |
<para>The <sgmltag class="xmlpi">dblatex |
| 58 |
<parameter>colwidth</parameter></sgmltag> processing instruction supersedes |
| 59 |
any column width specified by the <xref |
| 60 |
linkend="default.table.width"/> parameter or <xref |
| 61 |
linkend="pi-dblatex_table-width"/> processing instruction.</para> |
| 62 |
|
| 63 |
<para id="column-autowidth-defaults">The default depends on |
| 64 |
whether the overall table width is specified. When there is no |
| 65 |
fixed table width columns default to the LaTeX default, the width |
| 66 |
of the widest cell. This is the default when no parameters or |
| 67 |
processing instructions are used. When a fixed table width is |
| 68 |
specified the default is <quote><literal>*</literal></quote>, |
| 69 |
proportional spacing.</para> |
| 70 |
</refsection> |
| 71 |
|
| 72 |
<refsection> |
| 73 |
<title>Context</title> |
| 74 |
<para>Recognized in the <sgmltag>segtitle</sgmltag> element.</para> |
| 75 |
</refsection> |
| 76 |
|
| 77 |
<refsection> |
| 78 |
<title>See Also</title> |
| 79 |
<itemizedlist> |
| 80 |
<listitem><xref linkend="sec-table-width" /></listitem> |
| 81 |
<listitem><xref linkend="pi-dblatex_table-width"/></listitem> |
| 82 |
<listitem><xref linkend="segmentedlist.as.table"/></listitem> |
| 83 |
<listitem><xref linkend="pi-dblatex_list-presentation"/></listitem> |
| 84 |
<listitem><xref linkend="newtbl.autowidth"/></listitem> |
| 85 |
<listitem><xref linkend="default.table.width"/></listitem> |
| 86 |
</itemizedlist> |
| 87 |
</refsection> |
| 88 |
</refentry> |