rhyswoos Posted October 12, 2022 Share Posted October 12, 2022 Can anybody advise me how to set up superscript money on text styles. ie the pence/cents are superscript to the first parts eg <Normal>£99</Normal><superscript>.99</superscript> Quote Link to comment Share on other sites More sharing options...
joe_l Posted October 12, 2022 Share Posted October 12, 2022 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? Quote ---------- Windows 10 / 11, Complete Suite Retail and Beta Link to comment Share on other sites More sharing options...
GarryP Posted October 12, 2022 Share Posted October 12, 2022 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. Quote Link to comment Share on other sites More sharing options...
rhyswoos Posted October 12, 2022 Author Share Posted October 12, 2022 I have approx 2000 in a catalogue, and looking to automatically apply the superscript to all the prices, without having to apply a style to each .99 they will typically be in their own cell in a table, if that makes it easier to find a solution ? Quote Link to comment Share on other sites More sharing options...
joe_l Posted October 12, 2022 Share Posted October 12, 2022 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. Quote ---------- Windows 10 / 11, Complete Suite Retail and Beta Link to comment Share on other sites More sharing options...
rhyswoos Posted October 12, 2022 Author Share Posted October 12, 2022 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 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted October 12, 2022 Share Posted October 12, 2022 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? Quote -- 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 More sharing options...
tudor Posted October 12, 2022 Share Posted October 12, 2022 @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). firstdefence and Old Bruce 1 1 Quote Link to comment Share on other sites More sharing options...
WilliamAlexander Posted January 18, 2023 Share Posted January 18, 2023 Press Ctrl, Shift, and the plus sign (+) simultaneously to enter superscript. Press Ctrl and the equal symbol (=) simultaneously to enter subscript. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.