Jump to content

Recommended Posts

13 minutes ago, rhyswoos said:

Can anybody advise me how to set up superscript money on text styles.

Write something, mark it, make it superscript and use "Create Character Style" from the Text Styles panel. Or am I missing something here?

----------
Windows 10 / 11, Complete Suite Retail and Beta

Link to comment
Share on other sites

Under which circumstances will this formatting be used?

For example, will each monetary value be in it’s own paragraph (and/or layer) or will each value be included as part of some other text, or something else?
Also, will the text be Artistic Text or will it be in a Text Frame?
Also, will the monetary values in the document be introduced as part of a Data Merge operation?

Any visual examples you can give may help us to understand what you are trying to do.

Link to comment
Share on other sites

6 minutes ago, rhyswoos said:

to find a solution

You are obviously using Affinity Publisher, so make your Character Style and use Find & Replace, with which you can replace text including a Character Style.

----------
Windows 10 / 11, Complete Suite Retail and Beta

Link to comment
Share on other sites

13 minutes ago, rhyswoos said:

thanks for the feedback, this is something i looked at originally, however, a find and replace would capture all text with decimal places. so wouldn't work in practice.
I'll keep playing around with other style tools

So you're saying that you have text including the .99 where it should not be superscripted, and text where it should be? In that case, is there anything else that distinguishes them? For example, something unique before or after the prices that should have the superscript treatment?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1

Link to comment
Share on other sites

@rhyswoos 

  • Apply the same paragraph style to all the prices in tables. Let's call that style "prices". (You can automate this if you use a custom Table Format for all tables, and assign the "prices" style to the price cells.)
  • Create a character style for the price decimals, let's call it "decimals".
  • Set Find and replace to search for .99, only in text with the "prices" style applied. In the replace box don't type anything, but set the character style to "decimals".
  • If you have decimals of various amounts, then you can switch the FaR to the Regular Expression mode and use a search query like this: \.\d{2} which will find any ".NN" decimals (e.g. .59, .29 etc).

image.png.ff49ac26d41726fe44ed4e711e561b92.png

Link to comment
Share on other sites

  • 3 months later...

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.