Jump to content

Superscript in a Calculation


This topic is 7563 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to superscript in a calculation. It shows as superscripted in the calculation, but not when you go to preview or browse mode. Any ideas on how I can accomplish the superscript of the one character?

Oh, just so you know, I can't make a different box and make the text smaller and up because I have to have it float with the rest of the text AND I can't turn on sliding and printing because it is centered on the line.

Link to comment
Share on other sites

Character-level text formatting cannot be done with calculations, unless you embed html and view the result in a browser ot some other html-rendering program.

Link to comment
Share on other sites

I believe the only plug-in which purported to offer this capability was 'diStyler' from Abstrakt.

However I understand also that it was MacOS9 only, and it is my impression that Abstrakt have quietly departed from the FMP plug-in business in recent times, so I suspect that a commercial purchase of their plug-in is no longer an option. I'm also not able to confirm whether superscript formatting is/was one of the tricks in its repertoire.

If you're made of sturdy stuff, there is a somewhat exacting scripting technique by which mixed character-level text formatting can be applied to text in a field. For a couple of examples, see the demos at:

http://www.nightwing.com.au/FileMaker/demos3.html#d2

http://www.nightwing.com.au/FileMaker/demos3.html#d3

Failing that, I suspect that your only option may be to wait and hope that FMI will have grown weary of the constant beseeching of a plethora of users, and will have included such a feature in the next release of FMP. wink.gif

Link to comment
Share on other sites

You might be able to get the result you want using merge fields. You would need 3 fields. The first to hold all the characters preceding the superscript, then one for the superscript character itself, and then one for all the characters that follow. Suppose these fields are called a, b, and c. Then set up a text field with the merge fields in it like this:

<<a>><<b>><<c>>

And format the <<b>> part as superscripted.

Link to comment
Share on other sites

This topic is 7563 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.