invers Software
 
Welcome! Log In Create A New Profile Recent Messages

Advanced

How to write in numbers one and a half?

Posted by tos4ever 
How to write in numbers one and a half?
6 years ago
Hello,

I need to write 1 1/2 in a correct way. Normally I would use alt + 171 to get ½ but this seems not to work.
alt + 171 is set to left double quotation mark set by the Key bindings editor.
Is there a way around this?

[img]https://my.pcloud.com/publink/show?code=XZXK8c7Zzgfp4K93uImIvSzi8NNWPmyd6kMV[/img]
Re: How to write in numbers one and a half?
6 years ago
avatar
Most CFN fonts don't support the ½ character on slot 171, but many TTF fonts do. So you have various ways to solve this issue:

[list]
[*] You can remove the key binding to [alt][171] from the Special Keys Bindings dialog. That would not create the ½ character automatically, but it removes the basic macro for [alt][171].
[/list]
[list]
[*] You may want to copy and adjust the copy of the relevant CODEPAGE file (e.g. C:\Calamus\SL2015en\System\CODEPAGE\SL_WEST.CCT) in an ASCII editor by changing this line:
[b]0xAB, quotedblleft, 0x201C, 0xD2 # 171 201C LEFT DOUBLE QUOTATION MARK[/b]
to e.g.
[b]0xAB, onehalf, 0x00BD, NIL # 171 0189 VULGAR FRACTION ONE HALF[/b]
Then use the new Codepage when loading TTFs and hopefully get the ½ character imported to ASCII slot 171.
[/list]
[list]
[*] Or you can simply type [1][/][2] in the text frame and adjust things using (new defined and named) text styles.
[/list]

Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel
Re: How to write in numbers one and a half?
6 years ago
The second option (codepage) works for me. Only it's hard to find a good free ttf font which looks almost the same as the Time font I use. The best option so far is droid serif.

Anyway, thanks

Martin
Author:

Your Email:


Subject:


banner class does not have character U defined in its font.