ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: more nath patches
Date: Tue, 26 Oct 2004 16:16:50 +0200	[thread overview]
Message-ID: <417E5C52.5090707@wxs.nl> (raw)
In-Reply-To: <417E4C38.1060107@creutzig.de>

Christopher Creutzig wrote:

>    \setbox\nathbox\currstyle@hbox{%\vrule\!!height 2\mex\!!width 0pt

since you are going the fast and efficient way (\using \!!dimena etc), 
0pt can become \zeropoint (less space interference as well)

>     \!!dimenf=\fontdimen8\textfont2

\!!dimenf\fontdimen8\textfont\syfam

is more independent; maybe i should define symbolic names for the font 
dimens as well (no time to make a list now)

>     (\!!dimeni+0.5\fracrulethickness@)\relax

is \fracrulethickness@ a nath specific thing?

>    \hfill\,

maybe you need a % after this line

>  I do assume the whole thing could be done with about half as many lines 
> of code, but I was glad to finally understand how TeX typesets fractions 
> and just ignored beautifying the code.  Also note that the snippet uses 

it's not that bad, tricky code seldom looks nice

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2004-10-26 14:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-26 13:08 Christopher Creutzig
2004-10-26 14:16 ` Hans Hagen [this message]
2004-10-26 15:36   ` Christopher Creutzig
2004-10-26 15:55     ` Hans Hagen
2004-10-26 16:18       ` Maurice Diamantini
2004-10-27  3:50         ` David Arnold
2004-10-27  6:22           ` Maurice Diamantini
2004-10-27  7:13             ` Hans Hagen
2004-10-27 11:11               ` Nikolai Weibull
2004-10-27 12:15                 ` Hans Hagen
2004-10-27 14:43                   ` Re[2]: " Giuseppe Bilotta
2004-10-26 14:21 ` Giuseppe Bilotta

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=417E5C52.5090707@wxs.nl \
    --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).