[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="#000000">f</text>
>   <text x="30" y="50" font-size="12" stroke="#000000">1</text>
> 
> This would be more tidy but fails.
>   <text x="25" y="45" font-size="20" stroke="#000000">f<sub>1</sub></text>
> 
> Does anyone have an improvement on the first instance?

Does this work?:

<text x="25" y="45" font-size="20" stroke="#000000">f<tspan baseline-shift =
"sub">1</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]

Reply via email to