Debian Codegraph @

docs/xhtml/manual/pi-dblatex_bgcolor.html

raw
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 bgcolor</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="apbs04.html" title="Tables" /><link rel="prev" href="apbs04.html" title="Tables" /><link rel="next" href="pi-dblatex_table-width.html" title="dblatex table-width" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">dblatex bgcolor</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="apbs04.html">Prev</a> </td><th width="60%" align="center">Tables</th><td width="20%" align="right"> <a accesskey="n" href="pi-dblatex_table-width.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="pi-dblatex_bgcolor"></a><div class="titlepage"></div><div class="refnamediv"><h2><span class="refentrytitle">dblatex bgcolor</span></h2><p><code class="sgmltag-xmlpi">&lt;?dblatex
3 <em class="parameter"><code>bgcolor</code></em>?&gt;</code> — Sets the Background Color of A Table Element</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">&lt;?dblatex bgcolor="#00FF00"?&gt;
4 &lt;?dblatex bgcolor="{blue}"?&gt;
5 &lt;?dblatex bgcolor="[gray]{0.8}"?&gt;</pre></div><div class="refsection"><a id="idp5754"></a><h2>Description</h2><p>Set the background color of a table element. The color of a
6 child element is inherited from its parent, with the exception of
7 the color of row cells. These have a color which is inherited from
8 the column in which they appear so long as no color is specified
9 for the row. How the color is set, whether by attribute or by
10 processing instruction, does not matter.</p><p><a id="table-color-format"></a>The color can be expressed in hexadecimal
11 notation like for HTML (e.g. <code class="literal">#C0C0C0</code>) or in a syntax
12 understood by the <code class="filename">colortbl</code> latex package.</p><p>The default is the value of the table's
13 <code class="sgmltag-element">bgcolor</code> attribute, or white when not otherwise
14 specified.</p></div><div class="refsection"><a id="idp5762"></a><h2>Context</h2><p>Recognized in the following elements<a href="#ftn.idp5765" class="footnote" id="idp5765"><sup class="footnote">[1]</sup></a>:</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><code class="sgmltag-element">col</code></li><li class="listitem"><code class="sgmltag-element">colgroup</code></li><li class="listitem"><code class="sgmltag-element">entry</code></li><li class="listitem"><code class="sgmltag-element">entrytbl</code></li><li class="listitem"><code class="sgmltag-element">row</code></li></ul></div></div><div class="refsection"><a id="idp5778"></a><h2>See Also</h2><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem">See <a class="xref" href="sec-table.html#sec-table-color" title="Coloured tables">the section called “Coloured tables”</a></li></ul></div></div><div class="footnotes"><br /><hr style="width:100; text-align:left;margin-left: 0" /><div id="ftn.idp5765" class="footnote"><p><a href="#idp5765" class="para"><sup class="para">[1] </sup></a>HTML table elements have attributes which allow color to
15 be specified.</p></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="apbs04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="apbs04.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pi-dblatex_table-width.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Tables </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> dblatex table-width</td></tr></table></div></body></html>