[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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="#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?

Thanks,        ... Peter E.


-- 
http://members.shaw.ca/peasthope/
http://carnot.yi.org/  = http://carnot.pathology.ubc.ca/


Reply to: