ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* vertical kerning for TwoThird needed
@ 2006-08-31 15:22 Steffen Wolfrum
  2006-08-31 20:44 ` Peter Rolf
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2006-08-31 15:22 UTC (permalink / raw)


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"?


Thanks,
Steffen

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertical kerning for TwoThird needed
  2006-08-31 15:22 vertical kerning for TwoThird needed Steffen Wolfrum
@ 2006-08-31 20:44 ` Peter Rolf
  2006-09-01 11:25   ` Steffen Wolfrum
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Rolf @ 2006-08-31 20:44 UTC (permalink / raw)


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@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertical kerning for TwoThird needed
  2006-08-31 20:44 ` Peter Rolf
@ 2006-09-01 11:25   ` Steffen Wolfrum
  2006-09-01 14:05     ` Peter Rolf
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Wolfrum @ 2006-09-01 11:25 UTC (permalink / raw)


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@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
>>
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: vertical kerning for TwoThird needed
  2006-09-01 11:25   ` Steffen Wolfrum
@ 2006-09-01 14:05     ` Peter Rolf
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Rolf @ 2006-09-01 14:05 UTC (permalink / raw)


Steffen Wolfrum wrote:
> Ahh!  "\raise" and "\lower" ... these I've missed. Look like plain  
> TeX commands, right?
>
I think it's even a TeX primitive (not defined in the plain TeX macro
package).

> Thank you Peter,
>
> (immediately I go and get a copy of that TeXbook)
>

A very good reference is "TeX by Topic" (for free, as it's not printed
any more; but you can donate the author any amount via paypal)

http://www.eijkhout.net/tbt/

Or for browsing

http://www.tug.org/utilities/plain/cseq.html

But it's never a fault to start with the TeX 'bible' ;)
Happy TeXing,

Peter

> 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@ntg.nl
>>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>>
>>>
>> _______________________________________________
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
>>
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-01 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-31 15:22 vertical kerning for TwoThird needed Steffen Wolfrum
2006-08-31 20:44 ` Peter Rolf
2006-09-01 11:25   ` Steffen Wolfrum
2006-09-01 14:05     ` Peter Rolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).