emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Changing way hlines in tables are exported?
Date: Thu, 02 Jul 2009 12:52:01 +0200	[thread overview]
Message-ID: <87ab3n9x2m.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <A26A99E7-E1EA-49CB-AFEA-C6008624974B@gmail.com> (Carsten Dominik's message of "Tue, 30 Jun 2009 19:46:09 +0200")

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 ... */ } 

      parent reply	other threads:[~2009-07-02 10:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab3n9x2m.fsf@kassiopeya.MSHEIMNETZ \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).