ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Accents too high
Date: Mon, 05 Nov 2001 13:38:31 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20011105133734.0311b2f8@server-1> (raw)
In-Reply-To: <01110223332600.01567@levana>

Hi Patrick (and other umlaut users),

This can go into cont-new.tex:

\def\smashaccent#1%
   {\dontleavehmode
    \bgroup
    \setbox\scratchbox\hbox{#1}%
    \ifdim\ht\scratchbox>\strutheight \ht\strutbox\strutheight \fi
    \ifdim\dp\scratchbox>\strutdepth  \dp\strutbox\strutdepth  \fi
    \box\scratchbox
    \egroup}

\def\moveaccent#1#2%
   {\smashaccent
      {\dimen0=\fontdimen5\font
       \dimen2=\dimen0
       \advance\dimen2 -#1%
       \fontdimen5\font\dimen2
       #2\relax
       \fontdimen5\font\dimen0}}

I hope that this solves (all) problems,

hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  parent reply	other threads:[~2001-11-05 12:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-02 22:33 Patrick Gundlach
2001-11-05 12:16 ` Hans Hagen
2001-11-05 12:38 ` Hans Hagen [this message]
     [not found] <Your message of "Mon, 05 Nov 2001 13:38:31 +0100." <5.1.0.14.1.20011105133734.0311b2f8@server-1>
2001-11-05 14:07 ` Patrick Gundlach
2001-11-05 13:45   ` Frans Goddijn
2001-11-05 14:17   ` Hans Hagen
     [not found] <Your message of "Mon, 05 Nov 2001 15:17:46 +0100." <5.1.0.14.1.20011105151614.03e65e78@server-1>
2001-11-05 15:26 ` Patrick Gundlach
2001-11-05 16:27   ` Hans Hagen
2001-11-05 17:52     ` Patrick Gundlach
2001-11-06  9:39       ` Hans Hagen

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=5.1.0.14.1.20011105133734.0311b2f8@server-1 \
    --to=pragma@wxs.nl \
    --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).