A Question About Kerning: TWIPS

Everything related to our flagship word processor.
Post Reply
wwgreaves
Posts: 45
Joined: 2013-01-27 17:47:43

A Question About Kerning: TWIPS

Post by wwgreaves » 2013-12-12 08:40:52

Am I correct in understanding that TWIP means “twentieth of an inch point”?

If so, if I want to loosen the spacing of letters in a word in small caps set in 10 pt by 6%, do I use 12 TWIPS?

10 pt X 6% X 20 TWIPS/pt = 12 TWIPS

Is that correct?

Would it be possible to change the kerning units to percentages instead of TWIPS, as in Pages ‘09?

User avatar
phspaelti
Posts: 943
Joined: 2007-02-07 00:58:12
Location: Japan

Re: A Question About Kerning: TWIPS

Post by phspaelti » 2013-12-13 04:31:53

I know nothing about twips. But assuming your calculation to be correct I am adding a macro which you can use to set the kerning in the desired manner.
It will prompt you for a percentage (e.g. enter '6') and then apply that to the selection.
Set Kerning by Percent.nwm
(17.09 KiB) Downloaded 128 times
philip

wwgreaves
Posts: 45
Joined: 2013-01-27 17:47:43

Re: A Question About Kerning: TWIPS

Post by wwgreaves » 2013-12-13 11:17:10

Many thanks! Will the macro work for any point size?

User avatar
phspaelti
Posts: 943
Joined: 2007-02-07 00:58:12
Location: Japan

Re: A Question About Kerning: TWIPS

Post by phspaelti » 2013-12-13 15:52:49

The macro checks the point size of the selection, but only very simply. If you select a bit with mixed point sizes (or non-contiguous bits with different point sizes) the results will not be accurate. If that's something that you want, the macro could be adjusted.
philip

User avatar
phspaelti
Posts: 943
Joined: 2007-02-07 00:58:12
Location: Japan

Re: A Question About Kerning: TWIPS

Post by phspaelti » 2013-12-13 20:22:42

Here is a more sophisticated macro that works for selections with mixed point sizes. It calculates the twips for each point size used, and selects the bits in that size and adjusts the kerning accordingly. It works for non-contiguous selections as well.
Set Kerning by Percent.nwm
(19.11 KiB) Downloaded 123 times
philip

wwgreaves
Posts: 45
Joined: 2013-01-27 17:47:43

Re: A Question About Kerning: TWIPS

Post by wwgreaves » 2013-12-20 08:14:22

Wow! Many thanks —

Best wishes for the year ahead —

User avatar
greenmorpher
Posts: 767
Joined: 2007-04-12 04:01:46
Location: Melbourne, Australia
Contact:

Re: A Question About Kerning: TWIPS

Post by greenmorpher » 2013-12-20 12:06:23

Philip that is most helpful -- as ever.

As for the OP's question about TWIPS, yes, that is what they are but since you have set up your macro to work as a percentage, which works perfectly fine with computer type, TWIPs are not required.

Merry Xmas and a happy NY.

Cheers, geoff

Groucho
Posts: 496
Joined: 2007-03-03 09:55:06
Location: Europe

Re: A Question About Kerning: TWIPS

Post by Groucho » 2013-12-21 03:18:22

Hi, Geoff

Is it legal to say Christmas? I thought it was replaced by the more politically correct Dies Solis Invicti. We’re all Romans now.

Merry Christmas and a Happy New Year.

Henry.

User avatar
Elbrecht
Posts: 336
Joined: 2007-03-31 14:59:22
Location: Frankfurt, Germany

Re: A Question About Kerning: TWIPS

Post by Elbrecht » 2013-12-22 11:24:04

MacBook Pro i5
SSD 840/850 Pro
MacOS Sierra 10.12.6
Nisus Writer Pro 3.0

Post Reply