Jump to content

Text vertical alignment


Olivier

Recommended Posts

Hi friends,

I need some assistance in using FusionPro tags to manage such prices in MarcomCentral.

Capture%20d%27%C3%A9cran%202017-02-23%2011.35.17.png?dl=0

 

 

I have built a rule to manage the price, using <superscript>but I need help for the *. It has to be placed just at the right of the price cents, but it cannot be just as superscript as it is smaller than the cents.

I suppose it is possible to define a text size and a vertical placement/alignment to do this ? I didn’t find it in the FusionPro manuals…

 

I can't place a separate text box to place the * exactly where I need as the price will have different sizes as the font is not a fixed width.

 

Help is more than welcome ! :)

Link to comment
Share on other sites

You can adjust the ratio and offset of the superscript by setting the appropriate attributes of the paragraph tag:

return '6€<superscript>90</superscript>' + 
 [color="Red"]'<p br=false superoffset=80 superratio=50><superscript>*</superscript>';[/color]

Check out page 44 of the TagsRefGuide.pdf in the documentation for more information.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...