Jim Slade Posted January 4, 2023 Posted January 4, 2023 I have fractions, as in one-half, as 1_2. How can I kern such that the "_" is centered below the "1." I cannot seem to get the "_" to extend past the "1." I get something like 1 . Quote
Ron P. Posted January 4, 2023 Posted January 4, 2023 Like this? I just typed the Numerator giving it an Underline, then hit enter, typed the Denominator. It also had the Underline, so I highlighted it, and removed the Underline from it. Curious, why not just use the Fraction setting found in the Character panel, Typography? Granted it does not place one above the other, but uses the common / (slash). Quote Affinity Photo 2.5..; Affinity Designer 2.5..; Affinity Publisher 2.5..; Affinity2 Beta versions. Affinity Photo,Designer 1.10.6.1605 Win10 Home Version:21H2, Build: 19044.1766: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz, 3301 Mhz, 6 Core(s), 12 Logical Processor(s);32GB Ram, Nvidia GTX 3070, 3-Internal HDD (1 Crucial MX5000 1TB, 1-Crucial MX5000 500GB, 1-WD 1 TB), 4 External HDD
MikeW Posted January 4, 2023 Posted January 4, 2023 I don't know how well the original Nutso font works in Affinity applications as I have modified a version a little (as well as rolled a heavily modified version of the code into one of my fonts). It's a sans serif font that does nut fractions. Nutso is available on Github. Quote
MikeW Posted January 4, 2023 Posted January 4, 2023 Oh. For common fractions (1/4, 1/2, 3/4), you need to remove the autocorrect entries from the preferences... Quote
Seneca Posted January 4, 2023 Posted January 4, 2023 I haven't checked Nutso font myself but according to this post from 2018 Affinity Designer handles it correctly. Unless something changed in v2. https://forum.high-logic.com/viewtopic.php?t=7783 Quote 2017 27” iMac 4.2 GHz Quad-Core Intel Core i7 • Radeon Pr 580 8GB • 64GB • Ventura 13.6.4. iPad Pro (10.5-inch) • 256GB • Version 16.4
MikeW Posted January 4, 2023 Posted January 4, 2023 4 minutes ago, Seneca said: I haven't checked Nutso font myself but according to this post from 2018 Affinity Designer handles it correctly. Unless something changed in v2. https://forum.high-logic.com/viewtopic.php?t=7783 Should still work. I was in that thread--and it was frustrating... Seneca 1 Quote
Jim Slade Posted January 4, 2023 Author Posted January 4, 2023 8 hours ago, Ron P. said: Like this? I just typed the Numerator giving it an Underline, then hit enter, typed the Denominator. It also had the Underline, so I highlighted it, and removed the Underline from it. Curious, why not just use the Fraction setting found in the Character panel, Typography? Granted it does not place one above the other, but uses the common / (slash). Except what happens with 1_16? These came from an InDesign file with a huge number of fractions. Quote
R C-R Posted January 4, 2023 Posted January 4, 2023 16 hours ago, Ron P. said: Curious, why not just use the Fraction setting found in the Character panel, Typography? Granted it does not place one above the other, but uses the common / (slash). Why not just use a slash between two numbers to get 'inline' fractions like 3/16 or 5/64 or the like? That doesn't require any special fonts so everything adjacent can be set using the same font. Quote All 3 1.10.8, & all 3 V2.5.7 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7 All 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7
loukash Posted January 5, 2023 Posted January 5, 2023 Where there is a will, there is a way. Sometimes you have to think literally a bit out of the box. Think the unthinkable. I actually got out of bed to post this as it occured to me while half asleep. Let's see if you can figure it out until I wake up. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted January 5, 2023 Posted January 5, 2023 Alright, my solution above is pretty simple, just subscript, superscript, kerning and No Break. Optionally vertical/horizontal scale if the dash is too thin or too thick, or if the basic sub/superscript results in odd sizes or positions. Can be saved as character styles. The actual trick is the string sequence. Since we're doing a layout and no real time math, the exact character sequence doesn't matter: This works around the bounding box limit of the preceding character as no characters will fully overlap. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
Jim Slade Posted January 5, 2023 Author Posted January 5, 2023 13 hours ago, R C-R said: Why not just use a slash between two numbers to get 'inline' fractions like 3/16 or 5/64 or the like? That doesn't require any special fonts so everything adjacent can be set using the same font. The illustrations come from a package that uses horizontal lines for fractions. Plus, the document has hundreds of fractions imported from InDesign. Quote
loukash Posted January 5, 2023 Posted January 5, 2023 3 minutes ago, Jim Slade said: the document has hundreds of fractions imported from InDesign That will be the tedious part then. Any Publisher solution will likely have to be fine-tuned manually and individually for each fraction. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted January 5, 2023 Posted January 5, 2023 4 minutes ago, lacerto said: I used the same trick. Yeah, it's no rocket science. 1 minute ago, lacerto said: I would personally use it in print-only context Definitely. Since the source is an IDML though, that's what I would have expected in this case. For a technical digital document, why use a layout app in the first place? Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
loukash Posted January 5, 2023 Posted January 5, 2023 5 minutes ago, lacerto said: distributed also digitally and copying is allowed, change of character sequence (especially in any scientific context, e.g. formulas, or just figures), could cause serious issues. Speaking of which though, you can't rely on an exact character sequence anyway when copying from a PDF. Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2
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.