1.6. Creating New Table Styles
1.6.1. Using Event Processing
SDF's event processing feature makes it easy to create a new table style from an existing one. For example, the following line makes schedule a variation of the shade style:
!on table 'schedule';; $style='shade'; $param{"wide"} = 1
1.6.2. Using Mapping Tables
SDF uses the tablestyles filter to define the mapping between an SDF table style and a target table style. For example:
!block tablestyles Name To columns Columns rows Rows grid Grid plain Plain box Box shade Shade !endblock
1.6.3. Creating New Target Phrase Styles
SDF makes it easy to define new target table styles by inheriting configuration details from an existing style.
See the look/simple/mif.sdn file in the SDF distribution for examples.