Re(2): making a subscript in text in SVG
Chris,
cb> Does this work?:
<text x="25" y="45" font-size="20" stroke="#000000">f<tspan baseline-shift =
"sub">1</tspan></text>
Essentially, yes, except that the attribute
appears to be dy rather than baseline-shift.
With the stroke specified on a bigger scope,
the code simplifies.
<text x="25" y="45" >f<tspan font-size="12" dy="4">1</tspan></text>
Thanks, ... Peter E.
--
http://members.shaw.ca/peasthope/
http://carnot.yi.org/ = http://carnot.pathology.ubc.ca/
Reply to: