emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] alternating row colours in HTML export: org-table-row-tags with new


From: Stefan Vollmar
Subject: [O] alternating row colours in HTML export: org-table-row-tags with new exporter?
Date: Tue, 26 Mar 2013 21:35:06 +0100

Hallo,

when exporting tables to HTML we used this function:

(setq org-table-row-tags
          (cons '(if head
                                 "<tr>"
                           (if (= (mod nline 2) 1)
                                   "<tr class=\"tr-odd\">"
                                 "<tr class=\"tr-even\">"))
                        "</tr>"))

to assign different CSS-classes to alternating rows of a table. With a suitable 
CSS file we were then able to assign different shades of gray to these classes 
and thus create tables with improved readability (nice looking, too). However, 
I did not find a corresponding option for the new exporter with a very recent 
version (release_8.0-pre-193-gaa7b1). Is there a way to achieve this goal?

Many thanks in advance.
Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleueler Str. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
E-Mail: address@hidden   http://www.nf.mpg.de








Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]