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
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
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
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
participants (2)
-
Peter Rolf
-
Steffen Wolfrum