Arno Gourdol
Arno Gourdol
You can provide a `onInlineShortcut` handler that can automatically recognize multicharacter identifiers, based on the syntax you want to support. See https://cortexjs.io/mathlive/guides/shortcuts/#multicharacter-identifiers
Unfortunately, as the error message indicate, `M_g,6.10a` is not a valid identifier. The `,` (and `.`) characters are not allowed in identifiers. See https://cortexjs.io/math-json/#identifiers
Depending on what you're looking for, either `symbols` or `unknowns`: - `ce.parse(...).unknowns` - `ce.parse(...).symbols`
Sure! That would be great. You'll want to extend the `canonicalIndexingSet` function in `src/compute-engine/library/utils.ts` and then the `evalSummation` and `evalMultiplication` function to make use of the extended indexing set. The...
1. The `Hold` is not actually necessary since the `Sum` is already 'hold: "all"` (I know it's generated right now, but it could be removed). 2. yes, presumably 3. yes
You can specify the angle in degrees, i.e. `ce.parse("\\sin 90\\degree").N().valueOf()` returns 1. But there's no way to change the expected argument of the trig functions.
The `ce.angularUnit` property can be used to specify how unitless angle values should be interpreted: - `"rad"`: radians, 2π radians is a full circle - `"deg"`: degrees, 360 degrees is...
It's very hard to debug from a screenshot, but it works fine for me (I've simplified the LaTeX: you don't need all those extra braces). ![Screenshot 2024-03-04 at 19 40...
The arccos function is spelled "arccos". ![Uploading Screenshot 2024-03-04 at 20.40.07.png…]()
Thank you for sharing your code. It looks correct. However, those changes are in the main branch but have not been published to npm yet. You can look at the...