| 1 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> |
| 2 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>dblatex colwidth</title><link rel="stylesheet" type="text/css" href="manual.css" /><meta name="generator" content="DocBook XSL Stylesheets V1.79.1" /><link rel="home" href="index.html" title="DocBook to LaTeX Publishing" /><link rel="up" href="sec-pi-lists.html" title="Lists" /><link rel="prev" href="pi-dblatex_autowidth.html" title="dblatex autowidth" /><link rel="next" href="pi-dblatex_list-presentation.html" title="dblatex list-presentation" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">dblatex colwidth</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="pi-dblatex_autowidth.html">Prev</a> </td><th width="60%" align="center">Lists</th><td width="20%" align="right"> <a accesskey="n" href="pi-dblatex_list-presentation.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="pi-dblatex_colwidth"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">dblatex colwidth</span></h2><p><code class="sgmltag-xmlpi"><?dblatex |
| 3 |
<em class="parameter"><code>colwidth</code></em>?></code> — Specifies a column width for |
| 4 |
<code class="sgmltag-element">segmentedlist</code>s presented as tables</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting"><?dblatex colwidth="3cm" ?></pre></div><div class="refsection"><a id="idp5932"></a><h2>Description</h2><p>Specifies a column width for the columns of a |
| 5 |
<code class="sgmltag-element">segmentedlist</code> when presented as a table. (See |
| 6 |
<a class="xref" href="segmentedlist.as.table.html" title="segmentedlist.as.table"><span class="refentrytitle">segmentedlist.as.table</span></a>.) This is the width of the |
| 7 |
cell content and does not include inter-cell spacing.</p><p>The <em class="parameter"><code>colwidth</code></em> attribute may take any |
| 8 |
of the <code class="sgmltag-element">colspec</code>'s |
| 9 |
<em class="parameter"><code>colwidth</code></em> attribute's values. These |
| 10 |
are:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>A valid TeX length (e.g. 4cm).</p></li><li class="listitem"><p>A proportional width specification of the form |
| 11 |
<em class="replaceable"><code>N</code></em><code class="literal">*</code>, where |
| 12 |
<em class="replaceable"><code>N</code></em>is a positive integer.</p></li><li class="listitem"><p>A combination of the above |
| 13 |
(e.g. <code class="literal">3*+1cm</code>). Spaces are not |
| 14 |
allowed.</p></li><li class="listitem"><p>Any of the keywords allowed the <a class="xref" href="default.table.width.html" title="default.table.width"><span class="refentrytitle">default.table.width</span></a> parameter: |
| 15 |
<code class="literal">autowidth.default</code>, |
| 16 |
<code class="literal">autowidth.all</code>, and |
| 17 |
<code class="literal">autowidth.none</code>. The first two, |
| 18 |
<code class="literal">autowidth.default</code> and |
| 19 |
<code class="literal">autowidth.none</code>, have the same meaning -- |
| 20 |
LaTeX determines the width of the column based on the width of |
| 21 |
the widest cell value. <code class="literal">autowidth.none</code> |
| 22 |
means the same as <span class="quote">“<span class="quote"><code class="literal">*</code></span>”</span>, |
| 23 |
proportional spacing.</p></li></ul></div><p>The <code class="sgmltag-xmlpi"><?dblatex |
| 24 |
<em class="parameter"><code>colwidth</code></em>?></code> processing instruction supersedes |
| 25 |
any column width specified by the <a class="xref" href="default.table.width.html" title="default.table.width"><span class="refentrytitle">default.table.width</span></a> parameter or <a class="xref" href="pi-dblatex_table-width.html" title="dblatex table-width"><span class="refentrytitle">dblatex table-width</span></a> processing instruction.</p><p><a id="column-autowidth-defaults"></a>The default depends on |
| 26 |
whether the overall table width is specified. When there is no |
| 27 |
fixed table width columns default to the LaTeX default, the width |
| 28 |
of the widest cell. This is the default when no parameters or |
| 29 |
processing instructions are used. When a fixed table width is |
| 30 |
specified the default is <span class="quote">“<span class="quote"><code class="literal">*</code></span>”</span>, |
| 31 |
proportional spacing.</p></div><div class="refsection"><a id="idp5971"></a><h2>Context</h2><p>Recognized in the <code class="sgmltag-element">segtitle</code> element.</p></div><div class="refsection"><a id="idp5975"></a><h2>See Also</h2><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><a class="xref" href="sec-table.html#sec-table-width" title="Table Width">the section called “Table Width”</a></li><li class="listitem"><a class="xref" href="pi-dblatex_table-width.html" title="dblatex table-width"><span class="refentrytitle">dblatex table-width</span></a></li><li class="listitem"><a class="xref" href="segmentedlist.as.table.html" title="segmentedlist.as.table"><span class="refentrytitle">segmentedlist.as.table</span></a></li><li class="listitem"><a class="xref" href="pi-dblatex_list-presentation.html" title="dblatex list-presentation"><span class="refentrytitle">dblatex list-presentation</span></a></li><li class="listitem"><a class="xref" href="newtbl.autowidth.html" title="newtbl.autowidth"><span class="refentrytitle">newtbl.autowidth</span></a></li><li class="listitem"><a class="xref" href="default.table.width.html" title="default.table.width"><span class="refentrytitle">default.table.width</span></a></li></ul></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="pi-dblatex_autowidth.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="sec-pi-lists.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pi-dblatex_list-presentation.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">dblatex autowidth </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> dblatex list-presentation</td></tr></table></div></body></html> |