From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86615 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: how to make a \lambdabar (like \hbar) Date: Mon, 10 Mar 2014 11:29:34 -0400 Message-ID: <87zjkyt6ld.fsf@approx.mit.edu> References: <874n36we9d.fsf@approx.mit.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1394465392 3714 80.91.229.3 (10 Mar 2014 15:29:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2014 15:29:52 +0000 (UTC) To: Aditya Mahajan , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 10 16:30:01 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WN29Q-0005kC-UQ for gctc-ntg-context-518@m.gmane.org; Mon, 10 Mar 2014 16:30:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2202A101F0; Mon, 10 Mar 2014 16:30:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pnWm3OBrgGVF; Mon, 10 Mar 2014 16:29:57 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D1B54101E3; Mon, 10 Mar 2014 16:29:57 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C9155101E3 for ; Mon, 10 Mar 2014 16:29:56 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id crA1hHpz7l9F for ; Mon, 10 Mar 2014 16:29:55 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id E5192101E1 for ; Mon, 10 Mar 2014 16:29:45 +0100 (CET) Original-Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s2AFTgdH012863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 10 Mar 2014 16:29:44 +0100 X-AuditID: 1209190f-f790b6d000000c3a-5b-531dda65e8eb Original-Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id FD.A2.03130.56ADD135; Mon, 10 Mar 2014 11:29:41 -0400 (EDT) Original-Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id s2AFTehm007739; Mon, 10 Mar 2014 11:29:41 -0400 Original-Received: from approx.mit.edu (pool-71-126-235-4.bstnma.east.verizon.net [71.126.235.4]) (authenticated bits=0) (User authenticated as sanjoy@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s2AFTcxn026926 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Mon, 10 Mar 2014 11:29:40 -0400 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1WN291-0002X9-6W; Mon, 10 Mar 2014 11:29:35 -0400 In-Reply-To: User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsUixG6nopt6SzbY4MxeM4vzd6axWaydv4jJ gcnj2KrFjB5vT/SxBjBFcdmkpOZklqUW6dslcGUcmbaLpeAJd8WPq7cYGxgXcnYxcnBICJhI fPrv2sXICWSKSVy4t56ti5GLQ0hgNpPEhz2f2CGcjYwSFw6uZYVwrjBJTD21iwnCmcEocWjR ERaQUWwCqhJ//weCjBIRSJF4fnEKG4gtLOAgce94JzuIzSlgI/Fm1W0WEFtIIFri3763TCC2 qECQxPWmp8wgNgvQmA3tE1hBbF4BbYnz32+xQdiCEidnPgHrZRaQkDj44gXzBEaBWUhSs5Ck FjAyrWKUTcmt0s1NzMwpTk3WLU5OzMtLLdI10cvNLNFLTSndxAgKSE5J/h2M3w4qHWIU4GBU 4uE98FYmWIg1say4MvcQoyQHk5Io7/3rssFCfEn5KZUZicUZ8UWlOanFhxglOJiVRHjZLgLl eFMSK6tSi/JhUtIcLErivH1nJYKFBNITS1KzU1MLUotgsjIcHEoSvPE3gRoFi1LTUyvSMnNK ENJMHJwgw3mAhjeB1PAWFyTmFmemQ+RPMSpKifNGgyQEQBIZpXlwvbCE8YpRHOgVYV5vkCoe YLKB634FNJgJaHDzcSmQwSWJCCmpBkYTt39zFa3/FlUIbNtifUrU6O/BtobGrfNXz2h95vNW JX7zbx/uIs0TF77ZijbYSAmKGl16uLmT6eeEObKhDipVy3wfiggs7nf596pVQSxyB7fVXtPJ M7dL1GxWmV37U8XR6NUGsSAzD+HXt7kFTCOf7Up2XvH9848b92I62VQa5HSulbS9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=18.9.25.15; country=US; region=MA; city=Cambridge; postalcode=02139; latitude=42.3646; longitude=-71.1028; metrocode=506; areacode=617; http://maps.google.com/maps?q=42.3646,-71.1028&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VLzPtH6U - 1612b5cdf641 - 20140310 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 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 Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:86615 Archived-At: Aditya Mahajan writes: >> \def\lambdabar{\lambda\kern-1ex\raise0.65ex\hbox{-}} > > Is this the canonical name for the glyph used by AMS? Good question. The AMS files don't seem to have it (the symbol is hardly used by mathematicians). But revtex4 defines it (for latex), in /usr/local/texlive/2013/texmf-dist/tex/latex/revtex4/revsymb.sty An example of using it: \documentclass{revtex4-1} \begin{document} $\lambdabar$ \end{document} > The right way is to update char-def.lua as > > { > adobename="lambdastroke", > category="ll", > description="LATIN SMALL LETTER LAMBDA WITH STROKE", > direction="l", > linebreak="al", > mathclass="variable", > mathname="lambdabar", > unicodeslot=0x019B, > }, I have put that in and ran 'context --make' pending the font update. > The easiest solution will be to file a bug report with the TeX Gyre > project. This is an easy glyph to add. I'll do that. If you know of it, could you point me to their bug tracker (or best way to file a bug report)? I roamed the GUST site without finding it. > Otherwise, you can use a different font as fall back for lambdabar, but > that will not match the regular lambda from Palatino. If you create the > glyph on your own, as in your definition above, then you have to play > around with the length of the bar to make make it "pretty". That seems to be what revtex does (it has quite a complicated definition). -Sanjoy ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________