-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
It seems not possible to enter a simple integral using the virtual keyboard #2111
Comments
You can enter "dx" using the "abc" (alphabetic keyboard) by pressing the "d" keycap followed by the "x" keycap. |
I refer to the image I included. In your compute engine documentation (the attached image), you show the integral ending in dx, but the boxed expression shows it ending in x. I’m a bit confused. Also, can the compute engine compute values for integrals? |
The "d" is part of the notation in LaTeX to indicate the variable the integral is relative to. It does not need to be included in the MathJSON. The Compute Engine currently does not evaluate integral. There is an issue tracking this here: cortex-js/compute-engine#79 At some point someone had volunteered to provide an implementation for this, but it seems it was never delivered. |
Do you feel adding that capability might be a feature that you add before year end, or do you have other more important features you are considering working on for MathLive or CortexJS? |
It's hard to tell. This is an open source project. If someone volunteered to contribute the code, or was interested in funding development for it, this would affect its priority. |
There is no comma before the |
I am sorry, I don't understand. Are you saying it's not normal convention to have a comma before the dx. If that is what you are saying then when I look at your documentation all the integrals use a comma. Also my research on the web that I looked at also said there should be a comma. https://cortexjs.io/compute-engine/reference/calculus/ Can you enter an example into the mathfield, take a screen print to show the mathJSON, so I will understand what to do. Thanks |
@arnog - Were some changes made to the way integrals are input. When I enter the integral sign, I now see this: and when I enter sin(x) and then when I add in an x I'm not sure if this is correct, so perhaps you can advise:
When I try to add an x after that, it assumes a multiplication ["Integrate",["Multiply","x",["Sin","x"]],"Nothing"] Also I see your code adds in a "dx", but what if I had wanted to show an integral with respect to dy or dz. I was thinking that adding in a dx, would be something that could be done by tapping keys and not added automatically. Here is what I believe is the correct Latex, but I entered this in manually and didn't use the keyboards to enter it: \int \sin(x) dx |
I'm sorry, I'm having a hard time following what this issue is about. Would you succinctly explain:
|
You can enter "dx" using the "abc" (alphabetic keyboard) by pressing the "d" keycap followed by the "x" keycap. |
I don’t have my computer with me right now, but I believe when I did that it didn’t create a clean mathJSON. Can you show me the keypresses you do to achieve the correct json, and I wil try those. Thanks |
I am unable to reproduce this problem. If you still have difficulties, please file a new issue, and provide a step by step explanation of what you are doing, what happens and what you were expecting instead. |
This is what I would like to try and enter:
But so far the closest I have been able to enter is this:
I am not at all sure how to enter the remaining part
", dx"
Can you let me know if this is something missing with the keyboard, or if I am doing something wrong.
The text was updated successfully, but these errors were encountered: