On 2009-09-25, Chip Webber wrote:

> I do not think that constructing the table using this syntax implies 
> that a there should be a line between each row.

> There are several different ways to make a table in RST, but at the end 
> of the day they are all just tables.  My understanding is that there is 
> no difference between your table and one constructed like this once they 
> have been been parsed and put into the doctree.

>========  ==== =====
> r1, c1    c2    ...
>========  ==== =====
> r2
> r3
> r4
>========= ==== =====

True.

> So it comes down to just a matter of personal preference when you are 
> writing documentation.

However, while you can style the table with CSS in the html output, some
aspects of the table style are "hardcoded" in the latex writer and cannot
be configured "arbitrarily". There are currently the pre-defined table
classes (unfortunately called cssclasses in Sphinx):

>From  http://docutils.sf.net/docs/user/config.html#latex2e-writer

table_style
    Specify the drawing of separation lines.

    * "standard" lines around and between cells.
    * "booktabs" a line above and below the table and one after the head.
    * "borderless".


Günter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to