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: Thu, 31 Aug 2006 22:44:56 +0200	[thread overview]
Message-ID: <44F74A48.9070502@gmx.net> (raw)
In-Reply-To: <B03ECE56-1BF2-4BAC-9395-7342234797E2@st.estfiles.de>

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

  reply	other threads:[~2006-08-31 20:44 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 [this message]
2006-09-01 11:25   ` Steffen Wolfrum
2006-09-01 14:05     ` Peter Rolf

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=44F74A48.9070502@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).