I have a string that I need two different parts of to appear supersripted.
They need to have different superscript values, as well.

This is a price that needs to read 2 for 500, with the "2 for" being
roughly half the size of the "5" and aligned vertically to the mid point
of the "5".  The "00" needs to be half the size of the "5", but
top-aligned with the "5".  I get the "2 for" where I want it by changing
the global settings, but I can't seem to get the "00" to take on different
settings.  I've been doing this through a rule and I've tried just about
every combination of tags and tag attributes I can find in my manuals and
nothing seems to impact it.  How can I accomplish this?

A simple example of my rule is below with hard-coded values (these would
be from the data file normally).

var sRet = "";
var sMultiple = "2";
var sDollar = "5";
var sCent = "00";

//using the global superscript values
sRet += '<z newsize="30"><superscript>' + sMultiple + 
' for</superscript>';

sRet += '<z newsize="55">' + sDollar;

//not changing the values
sRet += '<p br="false" superoffset="120" superratio="100">' + 
'<z newsize="40"><superscript>' + sCent + '</superscript>';

return sRet;

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!


Variable text on a curve and soft drop-shadows for variable text


LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade

New licenses available for $599 each at:
http://fusionpro.printable.com/store/

All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to