[NTG-context] vertical kerning for TwoThird needed

Steffen Wolfrum context at st.estfiles.de
Fri Sep 1 13:25:21 CEST 2006


Ahh!  "\raise" and "\lower" ... these I've missed. Look like plain  
TeX commands, right?

Thank you Peter,

(immediately I go and get a copy of that TeXbook)

Steffen



Am 31.08.2006 um 22:44 schrieb Peter Rolf:

> Steffen Wolfrum wrote:
>> Hi,
>>
>> comparable to the pre-defined \threequarter I want to write a  
>> \TwoThird.
>>
>> The following looks quite good (with my respective font settings) ...
>>
>> \def\TwoThird{{\tx\high{\txx 2}}\kern-0.1em/\kern-0.1em{\txx 3}}
>>
>> ... but still the "2" is a bit to high.
>>
>> How can I adjust "vertikal kerning"?
>>
> \starttext
>
> \def\TwoThird{\raise.295em\hbox{\txx
> 2}\kern-0.23em/\kern-0.22em\lower.24em\hbox{\txx 3}}
>
> \ruledhbox{\threequarter\TwoThird}
>
> \stoptext
>
> I needed a break and this was really fun. Hope it fits your needs.
>
> Peter
>
>>
>> Thanks,
>> Steffen
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context at ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>



More information about the ntg-context mailing list