How to make a physics ket

Discuss the formula editor
Post Reply
Gamma Point
Posts: 1
Joined: Tue Mar 03, 2009 6:37 am

How to make a physics ket

Post by Gamma Point »

Hi, I have been googling for a while trying to figure out how to make a

|S>

symbol. Is there any way to do this in OpenOffice? Thanks for the help in advance :)
OOo 2.4.X on Ubuntu 8.x
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to make a physics ket

Post by acknak »

It would be nice to write it like this: lline "S" rangle, but that doesn't work because OOo Math requires the brackets to match.

This is the best I could come up with: left lline "S" right rangle
AOO4/LO5 • Linux • Fedora 23
User avatar
Robert Tucker
Volunteer
Posts: 1250
Joined: Mon Oct 08, 2007 1:34 am
Location: Manchester UK

Re: How to make a physics ket

Post by Robert Tucker »

LibreOffice 7.x.x on Arch and Fedora.
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to make a physics ket

Post by acknak »

Oh, right! I forgot about using straight text.

Here's a comparison:
bra-ket.png
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: How to make a physics ket

Post by acknak »

Given the awkwardness, it might be worthwhile if someone who knows and uses this notation could submit a request for enhancement, with a proposed syntax. I don't see anything about it on the issue tracker.

Something like bra S would display as <S|, ket S as |S> and bra S ket R as <S|R>.

Or, even just a relaxation of the pairing rules to allow lline to match rangle: lline S rangle. The bra-ket notation already works: langle S mline R rangle is ok.

I don't know if that's sufficient, or even possible; it's just a guess from skimming the Wikipedia page.
AOO4/LO5 • Linux • Fedora 23
Post Reply