[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dirac bracket notation

From: Olaf Rogalsky
Subject: Dirac bracket notation
Date: Fri, 08 Dec 2000 19:25:30 +0100

Physisist have a spetial notation for vectors and scalar products,
which is named after the famous physisist Paul Dirac (see subject):

< ae1 | ae2 | ae3 >, 

where ae1-ae3 are arbitrary expressions and the angles to the left and
right *should* have the same height and baseline as the vertical bars
and cover all three expressions. The following code snipped is one of my
many tries to work things out:

@CND @Eq {
  @VContract {
    @VCover langle
    @VCover bar
      1 over { H - E }
    @VCover bar
    @VCover rangle

Unfortunately the right angle gets bigger than the left one and the
vertical bars are not centered vertically. The problem seems to be
in the way @VCover scales the glyphs. In the adobe symbol font the
vertical size and the center of the bar glyph differs from the size
and center of the angleleft/angleright glyphs. Lout gets confused about
this and scales the righter glyphs more than the lefter ones, presumedly
to cover them.

The same example with the teq package works well: The vertical bar and
the angle glyphs in the computer modern fonts have the same height. 

Olaf Rogalsky

                                  (. .)
I Dipl. Phys. Olaf Rogalsky                 Institut f. Theo. Physik I I
I Tel.: 09131 8528440                       Univ. Erlangen-Nuernberg   I
I Fax.: 09131 8528444                       Staudtstrasse 7 B3         I
I address@hidden  D-91058 Erlangen           I

reply via email to

[Prev in Thread] Current Thread [Next in Thread]