From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/13100 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: box, strut Date: Fri, 05 Sep 2003 10:01:14 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1062750017 30322 80.91.224.253 (5 Sep 2003 08:20:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Sep 2003 08:20:17 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Sep 05 10:20:14 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19vBpG-0002Fa-00 for ; Fri, 05 Sep 2003 10:20:14 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 520DB10BBE; Fri, 5 Sep 2003 10:07:39 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by ref.ntg.nl (Postfix) with ESMTP id A0C7010BB3 for ; Fri, 5 Sep 2003 10:01:10 +0200 (MEST) Original-Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 19vBWo-0004E4-00 for ntg-context@ntg.nl; Fri, 05 Sep 2003 10:01:10 +0200 Original-Received: from [62.72.92.84] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 19vBWm-0005jd-00 for ntg-context@ntg.nl; Fri, 05 Sep 2003 10:01:08 +0200 Original-Received: from [192.168.1.2] (helo=burger.local) by levana with esmtp (Exim 3.35 #1 (Debian)) id 19vBWl-0000Qa-00 for ; Fri, 05 Sep 2003 10:01:07 +0200 Original-Received: from schnee.local (localhost [127.0.0.1]) by burger.local (8.12.9/8.12.9) with ESMTP id h8581FhX022693 for ; Fri, 5 Sep 2003 10:01:15 +0200 (CEST) Original-Received: (from pg@localhost) by schnee.local (8.12.9/8.12.2/Submit) id h8581EX8022692; Fri, 5 Sep 2003 10:01:14 +0200 (CEST) X-Authentication-Warning: schnee.local: pg set sender to patrick@gundla.ch using -f Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (darwin) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:13100 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:13100 Hello, could someone please explain the following result? \starttext \setbox0=\hbox{fg}\showbox0 \setbox0=\hbox{\strut fg}\showbox0 \stoptext gives > \box0= \hbox(8.33331+2.33331)x9.46518 ./cmr12/f ./cmr12/g ! OK. l.3 \setbox0=\hbox{fg}\showbox0 > \box0= \hbox(10.41603+4.05064)x9.46518 .\hbox(10.41603+4.05064)x0.0 ..\rule(10.41603+4.05064)x0.0 ..\glue 0.0 plus 1.0fil minus 1.0fil ./cmr12/f ./cmr12/g ! OK. l.4 \setbox0=\hbox{\strut fg}\showbox0 OK, the first box is easy. The second one gives me a slight headache: why is the rule 10.4 + 4.1 pt? (14.46667 total) the definition of strut(box) is \setbox\strutbox=\hbox{\vrule height8.5pt depth3.5pt width\z@} so where do the other 2.46667 point come from? Patrick -- Silent is the goldfish in its bowl