Subject: Re: (dsssl) How to make subscript and superscript with Jade's RTF backend? From: Jany Quintard <jany.quintard@xxxxxxx> Date: Thu, 14 Mar 2002 17:11:22 +0100 |
* Laurent Laporte [Thu, 14/03/2002 at 16:07 +0100] > 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? AFAIK, Norman Walsh uses something like your method. The spec has a chapter on this: 12.6.26. Flow Object Classes for Mathematical Formulae The flow object classes for mathematical formulae are math-sequence, unmath, subscript, superscript, script, mark, fence, fraction, radical, math-operator, and grid. Did you try this? Jany DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) How to make subscript and s, Laurent Laporte | Thread | Re: (dsssl) How to make subscript a, Jany Quintard |
(dsssl) How to make subscript and s, Laurent Laporte | Date | Re: (dsssl) How to make subscript a, Jany Quintard |
Month |