Guest Posted July 17, 2020 Share Posted July 17, 2020 How to automatically delete text spaces in affinity publisher? Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 17, 2020 Share Posted July 17, 2020 Sorry, but I don't understand. Which spaces do you want to delete? The ones between Proporcion and marca? How were they created? Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.3.1 Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2020 Share Posted July 17, 2020 yes, but automatically. Quote Link to comment Share on other sites More sharing options...
A_B_C Posted July 17, 2020 Share Posted July 17, 2020 Well, you could use a Find and Replace operation. Just search for /space/space/ and replace with /space/. Repeat until all double spaces are gone. Wouldn’t that work? 😀 Quote Link to comment Share on other sites More sharing options...
walt.farrell Posted July 17, 2020 Share Posted July 17, 2020 3 hours ago, Andrés Rivera Gómez said: yes, but automatically. You can't get them removed automatically. But, how did the spaces get created? If you typed them, Autocorrect should be able to remove them as you type, I think. If you pasted them in, you'll probably have to use Find and Replace. 1 hour ago, A_B_C said: Just search for /space/space/ and replace with /space/. Repeat until all double spaces are gone. Wouldn’t that work? It's a repetitive process that way, and when you get to the end of the document you need to go back to the start and do it again. Possibly several times. But if you click the cog/gear in the Find section to set the Formatting options, you can check the option to use regular expressions. Then, you can set the Find expression to: \s{2,} and it will find any kind of repetitive whitespace (spaces, em-spaces, en-spaces, tabs, etc). Then just put a single space in the Replace field. Click the Find button, then Replace or Replace All. A_B_C 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. iPad: iPad Pro M1, 12.9": iPadOS 17.3, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.3.1 Link to comment Share on other sites More sharing options...
A_B_C Posted July 19, 2020 Share Posted July 19, 2020 That’s even better, of course. 😀 (To be honest, I often do it just the lazy way, searching directly for double spaces, not relying on regular expressions. But it involves repetitions, of course. You’ll have to search until there are no more occurrences.) 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.