# Would the braket extension in MathJax v3 be appropriate and useful for this site?

Since our math editor is currently on the news, here's one aspect worth considering.

One thing that's been pointed out on the Meta.MathOverflow threads (here and here) is that v3 of MathJax has been released recently (IIUC last April) and that it is faster than the current v2.7. (MathJax v3 is also discussed on Meta SE in this thread, which hasn't received significant developer attention.) It doesn't seem to break anything we rely on, but looking at the list of changes, one thing that sticks out is the addition of the braket extension, which could potentially be very useful here.

The last time we discussed something similar was the physics extension, and there it does look like there are good reasons not to include it, but braket is smaller and nobler and it could do quite a bit to help with on-boarding.

In any case:

• Assuming a switch to v3 is coming, would the braket extension make sense?
• Would it break any existing posts which define their own bra/ket notation?
• Would we want to have it enabled?
• There are a few hundred posts that define their own bra or ket: data.stackexchange.com/physics/query/1369090. I'm not sure if they would break or not from adding this extension, but fixing them should be doable in any case. – Chris Feb 4 at 5:48
• @IlmariKaronen I think you’re right, but “shouldn’t break” is wishful thinking unless there is testing involved. – rob Feb 10 at 23:03
• What's the difference between using that and "|\psi\rangle" ($|\psi\rangle$)? Does it just make it a tad quicker to write that? If that's all, then is it worth it if it there's even a chance of breaking all those posts noted above? – John Dumancic Feb 12 at 0:50
• @JohnDumancic Even if every single one of them breaks (and it's likely they won't), I don't consider that to be a high cost to pay (fixing <300 posts will only take a few days if people pitch in). If there are no concerns about the stability of the braket extension, then the only concern I see is compatibility with other SE sites. (But, as noted before by others, perhaps that should not be a goal.) – Jonathan Jeffrey Feb 15 at 3:51
• @JohnDumancic indeed, with single bras and kets there's not much difference. But some complicated brakets, especially those containing fractions (or differentiation operators) take some careful playing with \left and \right for all components (two angles and two mids) or resorting to \big etc.. Just using \Braket should be much easier. – Ruslan Feb 15 at 14:35