ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Murphy <murphy.md@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Otared Kavian <otared@gmail.com>,
	Boguslaw Jackowski <b_jackowski@gust.org.pl>
Subject: Re: hbar (and probably some other symbols) doesn't work in latest beta
Date: Tue, 8 Jan 2013 19:37:48 +0000	[thread overview]
Message-ID: <8F47F79D524D49C7B9D0DA3B90A9D3FC@gmail.com> (raw)
In-Reply-To: <20130105044920.GB18396@khaled-laptop>

Hi all, 

thanks for your responses.

@Hans: yes, hbar is extremely common in quantum physics, in fact I'd go as far to say as ubiquitous. It might be considered strange that the glyph doesn't exist, but it's actually defined in TeX as a ligature:

\def\hbar{{\mathchar'26\mkern-9muh}

I tried defining this but it doesn't work: I still get nothing.

As it happens, \hslash seems to work fine, and in my opinion is a suitable substitute so I will just

\def\hbar\hslash

(although actually that didn't work, I had to do \def\hbar{\hslash} for some reason or I got an error in some tikz code I wrote).

Michael

-- 
Michael Murphy
murphy.md@gmail.com


On Saturday, 5 January 2013 at 04:49, Khaled Hosny wrote:

> On Sat, Jan 05, 2013 at 02:10:50AM +0100, Hans Hagen wrote:
> > 
> > It looks like hbar (LATIN SMALL LETTER H WITH STROKE 0x127) is not
> > in the math fonts.
> 
> 
> 
> \hbar should be a glyph variant of \hslash (U+0210F), according to STIX
> people, if the font provides such a variant.
> 
> Regards,
> Khaled
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________


___________________________________________________________________________________
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
___________________________________________________________________________________


  reply	other threads:[~2013-01-08 19:37 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03 14:26 Jeong Dal
2013-01-04  6:51 ` Otared Kavian
2013-01-05  1:10   ` Hans Hagen
2013-01-05  4:49     ` Khaled Hosny
2013-01-08 19:37       ` Michael Murphy [this message]
2013-01-10 12:33         ` Michael Murphy
  -- strict thread matches above, loose matches on Subject: below --
2013-01-02 10:44 Michael Murphy
2013-01-02 21:13 ` Otared Kavian
2013-01-02 22:41   ` Michael Murphy
2013-01-03  7:19     ` Otared Kavian

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=8F47F79D524D49C7B9D0DA3B90A9D3FC@gmail.com \
    --to=murphy.md@gmail.com \
    --cc=b_jackowski@gust.org.pl \
    --cc=ntg-context@ntg.nl \
    --cc=otared@gmail.com \
    /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).