emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Changing way hlines in tables are exported?
@ 2009-06-30 14:15 Rainer Hansen
       [not found] ` <A26A99E7-E1EA-49CB-AFEA-C6008624974B@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer Hansen @ 2009-06-30 14:15 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I wonder if there is an easy way to change the style of the "exported" hlines 
in tables. This should not only be possible per table but per single hline, 
e.g. the first hline should be thick and in blue, the next two one are 
ordinary ones and the third should be thick and red. This should be possible 
for HTML, LaTeX and other export formats.

Regards,
Rainer

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Changing way hlines in tables are exported?
       [not found] ` <A26A99E7-E1EA-49CB-AFEA-C6008624974B@gmail.com>
@ 2009-07-02 10:52   ` Sebastian Rose
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2009-07-02 10:52 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

Carsten Dominik <carsten.dominik@gmail.com> writes:
> On Jun 30, 2009, at 4:15 PM, Rainer Hansen wrote:
>
>> Hi,
>>
>> I wonder if there is an easy way to change the style of the "exported" hlines
>> in tables. This should not only be possible per table but per single hline,
>> e.g. the first hline should be thick and in blue, the next two one are
>> ordinary ones and the third should be thick and red. This should be possible
>> for HTML, LaTeX and other export formats.
>
> Not currently,  I guess this would need a look by CSS exports.  Org
> uses the hlines to define different <tbody> groups.
> We could probably assign classes to them, but I don't have a recipe
> on how to do this differently on a per-table base.  Would get complex,
> it would require new #+ inbuffer settings.


Well, this is possible already:


  #+ATTR_HTML: class="tableTypeA"
  | Table Header |
  |--------------|
  | Simple rows  |
  | ...          |
  |--------------|
  | Table Foot   |


CSS:

  table.tableTypeA thead { /* styles for the thead ... */ } 
  table.tableTypeA thead tr { /* styles for <tr> in thead ... */ } 
  table.tableTypeA thead td { /* styles for <td> in thead ... */ } 

  table.tableTypeA tbody { /* styles for the thead ... */ } 

  table.tableTypeA tfoot { /* styles for the thead ... */ } 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-02 10:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-30 14:15 Changing way hlines in tables are exported? Rainer Hansen
     [not found] ` <A26A99E7-E1EA-49CB-AFEA-C6008624974B@gmail.com>
2009-07-02 10:52   ` Sebastian Rose

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).