(dsssl) How to make subscript and superscript with Jade's RTF backend?

Subject: (dsssl) How to make subscript and superscript with Jade's RTF backend?
From: Laurent Laporte <laurentlaporte@xxxxxxxxx>
Date: Thu, 14 Mar 2002 16:07:37 +0100 (CET)
Hello,

How to make subscript and superscript with Jade's RTF backend? I don't
want to make math formula, juste simple text.
For the moment I use position-point-shift to shift my text. Here is my
code:
((equal? kind "superscript")
  (make sequence
    position-point-shift: 3pt
    font-size: (* (inherited-font-size) .75)
  ))
((equal? kind "subscript")
  (make sequence
    position-point-shift: -3pt
    font-size: (* (inherited-font-size) .75)
  ))
But this solution is not good, I want true subscript and superscript.
How can I do?

------- Laurent.


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

 DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist

Current Thread