Re(2): making a subscript in text in SVG
Chris, cb Does this work?: text x=25 y=45 font-size=20 stroke=#00ftspan baseline-shift = sub1/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 ftspan font-size=12 dy=41/tspan/text Thanks, ... Peter E. -- http://members.shaw.ca/peasthope/ http://carnot.yi.org/ = http://carnot.pathology.ubc.ca/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
making a subscript in text in SVG
Folk, This puts subscript 1 on text f in SVG but is a little cumbersome. text x=25 y=45 font-size=20 stroke=#00f/text text x=30 y=50 font-size=12 stroke=#001/text This would be more tidy but fails. text x=25 y=45 font-size=20 stroke=#00fsub1/sub/text Does anyone have an improvement on the first instance? Thanks,... Peter E. -- http://members.shaw.ca/peasthope/ http://carnot.yi.org/ = http://carnot.pathology.ubc.ca/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: making a subscript in text in SVG
[EMAIL PROTECTED] wrote: Folk, This puts subscript 1 on text f in SVG but is a little cumbersome. text x=25 y=45 font-size=20 stroke=#00f/text text x=30 y=50 font-size=12 stroke=#001/text This would be more tidy but fails. text x=25 y=45 font-size=20 stroke=#00fsub1/sub/text Does anyone have an improvement on the first instance? Does this work?: text x=25 y=45 font-size=20 stroke=#00ftspan baseline-shift = sub1/tspan/text http://www.w3.org/TR/SVG11/text.html#BaselineShiftProperty - Chris Burkhardt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]