Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Braket Notation doesn't work on Math Preview #991

Closed
AnimeshSinha1309 opened this issue Nov 17, 2018 · 4 comments
Closed

Braket Notation doesn't work on Math Preview #991

AnimeshSinha1309 opened this issue Nov 17, 2018 · 4 comments

Comments

@AnimeshSinha1309
Copy link

AnimeshSinha1309 commented Nov 17, 2018

Issue Description
Math Statement Preview does not work with symbols added from external packages, eg. Braket.
screenshot from 2018-11-17 09-08-32

To Reproduce
Just write out a LaTaX document that has \usepackage{braket} and in the document $\braket{val | operator}$ and hover over the Equation to see the Predicted Math output.

Expected behavior
The Braket notation should be converted to the way its displayed in LaTeX, as <val | operator>, in the preview.

Sample TeX file

\documentclass{article}

\usepackage{amsmath}
\usepackage{braket}

\begin{document}

\section{This is the Notation}
$ \braket{ val | operation } $

\end{document}

@tamuratak
Copy link
Contributor

Duplicate of #914.

@AnimeshSinha1309
Copy link
Author

Supporting packages in general may seem to be difficult, but the Bra-Ket notation seems to be common enough in the field of Physics and Math that it seems worth implementing it in the Preview. Also, I am a new developer, so can I take an attempt at fixing this?

@James-Yu
Copy link
Owner

@AnimeshSinha1309 The preview heavily relies on mathJax, so that repo seems to be a better place for feature request. Contributions to the public domain are always welcomed by everyone.

@AnimeshSinha1309
Copy link
Author

MathJax - Add extension for LaTeX package braket #2029 may make it to the next release, hope we can try after it does make it to an official stable release?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants