Jump to content

Recommended Posts

Posted

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  .

Posted

Like this?

fraction.jpg.bfe801b1ad46e5fad76704e0df5b97f3.jpg

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).

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

Posted

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.

Capture_001001.png.f7a35d481eb3ca3b9ff45c2eba81d15f.png

Posted
8 hours ago, Ron P. said:

Like this?

fraction.jpg.bfe801b1ad46e5fad76704e0df5b97f3.jpg

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.

Posted
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.

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
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Posted

Where there is a will, there is a way.
Sometimes you have to think literally a bit out of the box. 
Think the unthinkable. :D 

apu_fraction_kerning.png.b24721862d4c4fb53121492b4c20af14.png

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. ;) 

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

Posted

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:

apu_fraction_kerning_solution.png.4217d0a0759761a4304f7d68635c9fc2.png

This works around the bounding box limit of the preceding character as no characters will fully overlap.

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

Posted

 

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.

Posted
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.

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

Posted
4 minutes ago, lacerto said:

I used the same trick.

Yeah, it's no rocket science. :D 

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?

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

Posted
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.

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

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.