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?
3 months 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?


Re: How to write in numbers one and a half?
3 months 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:

  • 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].
  • 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:
    0xAB, quotedblleft, 0x201C, 0xD2 # 171 201C LEFT DOUBLE QUOTATION MARK
    to e.g.
    0xAB, onehalf, 0x00BD, NIL # 171 0189 VULGAR FRACTION ONE HALF
    Then use the new Codepage when loading TTFs and hopefully get the ½ character imported to ASCII slot 171.
  • Or you can simply type [1][/][2] in the text frame and adjust things using (new defined and named) text styles.

Grüße / Greetings / Groetjes / Salutations,
Ulf Dunkel · invers Software
Re: How to write in numbers one and a half?
2 months 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:

Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message:

Online Users

Guests: 7
Record Number of Users: 2 on April 24, 2019
Record Number of Guests: 126 on November 04, 2019

top top

© 1998–2019 invers Software. All rights reserved. | Privacy