X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["2955" "Thu" "29" "February" "1996" "10:09:32" "-0500" "Michael Downes" "MJD@MATH.AMS.ORG" nil "76" "Re: Additional font dimensions for text fonts" "^Date:" nil nil "2" nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by trudi.zdv.Uni-Mainz.DE (8.6.12/8.6.12) with ESMTP id QAA11525 for ; Thu, 29 Feb 1996 16:11:20 +0100 Received: from listserv.gmd.de by listserv.gmd.de (LSMTP for OpenVMS v1.0a) with SMTP id 049262E7 ; Thu, 29 Feb 1996 16:11:16 +0100 Received: from VM.URZ.UNI-HEIDELBERG.DE by VM.URZ.UNI-HEIDELBERG.DE (LISTSERV release 1.8b) with NJE id 0014 for LATEX-L@VM.URZ.UNI-HEIDELBERG.DE; Thu, 29 Feb 1996 16:08:31 +0000 Received: from DHDURZ1 (NJE origin SMTP@DHDURZ1) by VM.URZ.UNI-HEIDELBERG.DE (LMail V1.2a/1.8a) with BSMTP id 0063; Thu, 29 Feb 1996 16:07:47 +0000 Received: from axp14.ams.org by vm.urz.Uni-Heidelberg.de (IBM VM SMTP V2R2) with TCP; Thu, 29 Feb 96 16:07:24 CET Received: from AXP14.AMS.ORG by AXP14.AMS.ORG (PMDF V4.3-10 #7286) id <01I1S3CCONCG0009YS@AXP14.AMS.ORG>; Thu, 29 Feb 1996 10:09:32 -0500 (EST) MIME-version: 1.0 Content-type: TEXT/PLAIN; CHARSET=US-ASCII Content-transfer-encoding: 7BIT Mail-System-Version: Message-ID: <825606572.255645.MJD@MATH.AMS.ORG> Reply-To: Mailing list for the LaTeX3 project In-Reply-To: <01I16URN1GK2001X8U@VzdmzA.ZDV.Uni-Mainz.DE> Date: Thu, 29 Feb 1996 10:09:32 -0500 From: Michael Downes Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Additional font dimensions for text fonts Status: R X-Status: X-Keywords: X-UID: 1727 J"org Knappen wrote: > This a request for feedback, which additional font dimensions the ec text > fonts should have. For nice typesetting, which font dimensions are usefull? > How could they be applied (e. g. in LaTeX3)? > > The dc fonts currently contain 6 additional font dimensions, namely > def font_character_set expr x = fontdimen 8: x enddef; > def font_baselineskip expr x = fontdimen 9: x enddef; > def font_acc_height expr x = fontdimen 10: x enddef; > def font_cap_height expr x = fontdimen 11: x enddef; > def font_asc_height expr x = fontdimen 12: x enddef; > def font_rule_thickness expr x = fontdimen 13: x enddef; Here are a set of fontdimen associations that I have used on occasion. I use the capheight and similar dimens to get precise size and placement of running heads in relation to the text block and the type block. (I prefer to stuff running heads into a box of depth 0 and height capheight, and don't really need the other fontdimens, but perhaps other people will have different opinions about ideal values for running head height (and topskip).) I haven't needed digitwidth yet, I only included it when setting up this group of fontdimens because I saw it in ISO/IEC 9541-1:1991(E) (font standard) and thought it might turn out to be useful some day for special table applications. I didn't include ideal line-spacing in this group when I set it up, because unlike the other dimens here, that cannot be calculated by measuring in TeX (unless you want to use an arbitrary formula based on, let's say, x-height). Regards, Michael Downes (mjd@ams.org) %% capheight % We assume for common sense' sake that symbol fonts and extension % symbol fonts do not require \capheight, \descenderdepth, etc. % because they should not contain alphabets (even though cmsy % currently does.) Therefore we use fontdimens 8--11 for alphabetic % fonts to supply \capheight etc., rather than putting them in % \fontdimens 23 and up. % \def\capheight{\fontdimen8 } %% ascenderheight % Ascender height is usually the same as \capheight but not always. % For some purposes we may want to use \capheight regardless of % \ascenderheight (e.g. in all-uppercase text), while for other % purposes we may want to use the max of \capheight and % \ascenderheight. NOTE: only letters; does not include things % like parentheses. % \def\ascenderheight{\fontdimen9 } %% descenderdepth % Maximum depth of descenders. Does not include things like % parentheses. % \def\descenderdepth{\fontdimen10 } %% fontmaxheight % Max height and max depth include things like parentheses. % \def\fontmaxheight{\fontdimen11 } %% fontmaxdepth % Maximum depth of all characters. % \def\fontmaxdepth{\fontdimen12 } %% digitwidth % Maximum width of all digit characters 0--9. Commonly all the % widths are the same = .5em, in order to give nice alignment in % tables. % \def\digitwidth{\fontdimen13 }