|
Subject: (dsssl) Color in section titles and tables in print stylesheet From: Joe Cooper <joe@xxxxxxxxxxxxx> Date: Sat, 05 May 2001 15:33:27 -0500 |
;; define the colors I'll be using
(define colorspace (color-space
"ISO/IEC 10179:1996//Color-Space Family::Device RGB"))
(define color-red (color colorspace 1 0 0))
(define color-green (color colorspace 0 1 0))
(define color-blue (color colorspace 0 0 1))
(define color-black (color colorspace 0 0 0));; Try 1 (define title-style (style color: color-red font-family-name: %title-font-family% font-weight: 'bold quadding: 'start))
;; Try 2
(define ($lowtitlewithsosofo$ tlevel sosofo)
(let ((hs (HSIZE (- 3 tlevel))))
(make paragraph
color: color-red
font-family-name: %title-font-family%
font-weight: 'bold
font-size: hs
line-spacing: (* hs %line-spacing-factor%)
space-before: (* hs %head-before-factor%)
space-after: (* hs %head-after-factor%)
start-indent: %body-start-indent%
quadding: 'start
keep-with-next?: #t
heading-level: (if %generate-heading-level% (+ tlevel 2) 0)
sosofo)));; Try 3
(mode title-mode
(element title
(make sequence
color: color-red
(process-children))))Thanks!
--
Joe Cooper <joe@xxxxxxxxxxxxx>
Affordable Web Caching Proxy Appliances
http://www.swelltech.com| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| (dsssl) [OpenJade] Solaris 2.6 bina, James M. Luongo | Thread | Re: (dsssl) Color in section titles, Christopher R. Maden |
| (dsssl) [OpenJade] Solaris 2.6 bina, James M. Luongo | Date | (dsssl) referent, Russell O'Connor |
| Month |