Add extension for LaTeX package braket#2029
Add extension for LaTeX package braket#2029swickrotation wants to merge 1 commit intomathjax:masterfrom swickrotation:braket-extension
Conversation
|
Have you checked https://github.com/mathjax/MathJax/blob/master/CONTRIBUTING.md ? You're not following the folder structure of MathJax and you're working on the wrong branch. Overall, this looks like you wre trying to make a third party extension, cf. https://docs.mathjax.org/en/latest/options/ThirdParty.html#thirdparty. In that case, it's usually best to start out in a separate repository and publish to npm for distribution (also via CDNs like jsdelivr). |
|
I note that the braket and set macros differ from the LaTeX package, in that they both take two arguments, while the original LaTeX macros only take one argument and use | or || as separators. Also in the Braket macro the |
|
@zorkow you're right, thanks for the assist. I'm going to make the changes you suggested- they're more correctly in-line with the actual braket TeX package, where as what I've got here is really just personal preference. Doesn't make sense to call it support if the macros aren't the same here as in TeX. @pkra Thanks for the feedback, I'll be more careful and try to make the right changes, and publish to npm. Cheers! |
|
I've put together a quick implementation of the braket package (with the expected behaviour) in version 3. |
|
I think this PR can be closed now, as a |
"braket" is a light LaTeX package that provides macros for typesetting the notational conventions of quantum mechanics