From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16782 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: more nath patches Date: Tue, 26 Oct 2004 16:16:50 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <417E5C52.5090707@wxs.nl> References: <417E4C38.1060107@creutzig.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1098800230 23639 80.91.229.6 (26 Oct 2004 14:17:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 26 Oct 2004 14:17:10 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 26 16:16:57 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CMS89-0008UN-00 for ; Tue, 26 Oct 2004 16:16:57 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C989512792; Tue, 26 Oct 2004 16:16:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20118-04-5; Tue, 26 Oct 2004 16:16:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B8E671278D; Tue, 26 Oct 2004 16:16:54 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 545DB1278E for ; Tue, 26 Oct 2004 16:16:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20118-04-4 for ; Tue, 26 Oct 2004 16:16:52 +0200 (CEST) Original-Received: from mailrelay01.solcon.nl (unknown [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id A50F612777 for ; Tue, 26 Oct 2004 16:16:52 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay01.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id i9QEGmVB027281 for ; Tue, 26 Oct 2004 16:16:48 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id DF4E82C0B9; Tue, 26 Oct 2004 16:16:51 +0200 (CEST) Original-Received: from [10.100.1.191] (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 5366D182F7 for ; Tue, 26 Oct 2004 14:16:50 +0000 (UTC) User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <417E4C38.1060107@creutzig.de> X-Virus-Scanned: ClamAV 0.80/540/Tue Oct 19 14:59:23 2004 clamav-milter version 0.80j on mailrelay01 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16782 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16782 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 -----------------------------------------------------------------