ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Peter Rolf <indiego@gmx.net>
Subject: Re: vertical kerning for TwoThird needed
Date: Fri, 01 Sep 2006 16:05:44 +0200	[thread overview]
Message-ID: <44F83E38.7050808@gmx.net> (raw)
In-Reply-To: <8E77E0D1-131E-4671-87CF-BF8CD745DB09@st.estfiles.de>

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

      reply	other threads:[~2006-09-01 14:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-31 15:22 Steffen Wolfrum
2006-08-31 20:44 ` Peter Rolf
2006-09-01 11:25   ` Steffen Wolfrum
2006-09-01 14:05     ` Peter Rolf [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44F83E38.7050808@gmx.net \
    --to=indiego@gmx.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).