From: Sanjoy Mahajan <sanjoy@MIT.EDU>
To: ntg-context@ntg.nl
Subject: how to make a \lambdabar (like \hbar)
Date: Mon, 10 Mar 2014 06:15:42 -0400 [thread overview]
Message-ID: <874n36we9d.fsf@approx.mit.edu> (raw)
\hbar is used a lot in physics. Once in a while, one also uses
\lambdabar to mean \lambda/2\pi. It's Unicode description is 'LATIN
SMALL LETTER LAMBDA WITH STROKE' (U+019B).
I've been using this hack
\def\lambdabar{\lambda\kern-1ex\raise0.65ex\hbox{-}}
But it's not beautiful. Is there a better way to get a lambdabar
into (or from) the math fonts? I tried
\def\lambdabar {\Umathchar "0"0"00019B }
by analogy with the definition of \hbar in luatex-math.tex, but it
produces a blank space. There must be no entry for it in the regular
(or Palatino) math fonts.
For reference, the following thread had a discussion about \hbar
<http://www.ntg.nl/pipermail/ntg-context/2013/070810.html>
and \hbar works well (using MkIV 2014.02.14).
-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
___________________________________________________________________________________
next reply other threads:[~2014-03-10 10:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-10 10:15 Sanjoy Mahajan [this message]
2014-03-10 14:30 ` Aditya Mahajan
2014-03-10 15:29 ` Sanjoy Mahajan
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=874n36we9d.fsf@approx.mit.edu \
--to=sanjoy@mit.edu \
--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).