Issue 31517 - not only "operator brackets" but also "bras" and "kets"
not only "operator brackets" but also "bras" and "kets"
 Status: CONFIRMED None Math Application ui (show other issues) OOo 1.1.1 All All P5 (lowest) Trivial (vote) --- AOO issues mailing list oooqa

 Reported: 2004-07-15 11:53 UTC by sternschnupper 2013-02-07 22:35 UTC (History) 1 user (show) issues ENHANCEMENT --- ---

Attachments

 Note You need to log in before you can comment on or make changes to this issue.
 sternschnupper 2004-07-15 11:53:44 UTC by using "langle 4 mline 3 rangle" (selection: "operator brackets" in "brackets") one can do something like <4|3>. in quantum physics you need so called "bras", like <4|, and "kets", like |3> seperately. i know that quantum physics is not the prime intention for OOo, but for me it seems pretty easy to implement: "langle 4 mline" for <4| and "mline 3 rangle" for |3>. and maybe someone else can use it for idontknowwhat ;) thanks a lot, enjoy a nice day!!! ciao, georg. michael.ruess 2004-07-15 14:59:26 UTC Reassigned to BH. lohmaier 2004-07-16 18:45:45 UTC from issue 27195 Regarding the bra ket -thing I assume you want something like left langle a mline right none newline left none mline b right rangle newline left langle a mline b mline c right rangle newline left none mline a right rangle left langle b mline right none sternschnupper 2004-07-18 00:28:28 UTC hmm, i don't know what the "left" and "right" stand for in those lines. aside of that it looks like what i'd need. maybe the latter two lines are not really necessary, as you could easily do with: bra-a b ket-c. and |a> ok, i ain't completely fond of it, but i got the idea. I'll try to explain better. > "left langle a mline b mline c right rangle newline > left none mline a right rangle left langle b mline right none" > is nice for being able to scale the whole expression at once, isn't it? No, it is not necessary to scale the whole expression at once (or maybe I got that statement wrong). compare the following: "langle a over b rangle left langle a over b right rangle langle a rangle langle size *3 a rangle left langle size *3 a right rangle size *3 langle a rangle" as you can see, you can scale the whole expression without using left/right. The left/right is needed when you want the brackets to adapt to the enclosed expression. > if so, including them makes sense to me. Using the "none" bracket would not be necessary if the mline operator could be used outside brackets. By preceding the bracket's name with a backslash, the bracket looses its special meaning and becomes a regular character (you don't need to "close" the bracket) for example "\rangle \langle \rbrace" So if you don't want scalable brackets, you could use left none \langle a over b mline c right none ^^^^^^^^^ ^^^^^^^^^^ only needed for mline to be happy but in this case the mline would still be scaled, so you may want to use divides instead: \langle a over b divides c Either this made it clear or confused you even more... :-) tdunning 2005-01-28 05:36:21 UTC I think that it would be simpler to just use something like left langle x right rline for a bra or left lline x right rangle for a ket. It is almost readable.  thomas.lange 2006-09-25 11:36:03 UTC .