Is it possible to use superscripts in Titles or Desigantions in PDF Lib blocks.
The answer is yes using the Replace Function, however, in order to to do so you need to know what you are looking for.
For example. If you know that MD is going to be superscript you can use the following to search for it.
; md^ <textrise=4 fontsize=3> md<textrise=0 fontsize=8> ;
This replace functions means that Go ePower will search for md and replace it with md but only after changing the fontsize to 3 and textrise to 4 then after that is done return the font to the original font size and textrise of 0.
Also note that in this example PDF Lib is searching for a space md.
If for example, you are searching for ca if you do the following then if someone typed the word cat then ca would be in superscript and the t would be normal.:
; ca^ <textrise=4 fontsize=3> ca<textrise=0 fontsize=8> ;
--------------------------------
To Replace ® try the following
Function: replace
Value: ®^<textrise=4 fontsize=3>®<textrise=0 fontsize=7>
Note that you may need to play around with the textrise=4 and fontsize=3 to get it to look how you like and that the fontsize=7 is the original font size that you are using.
--------------------------------------------
One important point if you search for barckets () then you need to put a backslash \ becasue a bracket is used in Go ePower by Regex to search and replace.
So in the image example above you would need to do the following:
;\)ca^)<textrise=4 fontsize=3>ca<textrise=0 fontsize=8>;
This will search for a ")ca".
Other things to put a backslash or [] *
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article