Jump to content

Recommended Posts

Posted

Hi.

Im using data merge to create an cataloge. but....

Q: How can i format price? (on the products) 

I dont want just 3.99 but want the 99 to be superscript to aviod using " . ".

I understand that its no GREP in publisher, but are there other ways ??

Thanks for your reply.

 

Posted
On 1/17/2022 at 12:57 PM, Curb72 said:

I understand that its no GREP in publisher, but are there other ways ??

Yes and no on that GREP thing. For one thing, Publisher calls it by the more standard name "regular expression." But that's just academic. Just so you know that what you are looking for in the Affinity UI is called "regular expressions."

Now for the yes and no - Publisher can find and replace by regular expressions, which is what I would suggest you do to format the price. What it cannot do is have regular expressions as part of style definitions.

Here is a quick try at formatting the decimals to be superscript:

128492117_ScreenShot2022-01-19at10_48_25AM.png.ac6b5ede3c40e262f9f626ff183cefe5.png

Note that you need to click the cog above the Find field to activate regular expression mode. And you click the cog above the Replace with field to set the format as desired, such as applying Superscript literally as I have done here, or better yet, a character style that you have set up for superscripts.

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.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.