Need "visible times" symbol in Content MathML
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Thank you for your work!
We are using MathJax with extensions like "content-mathml.js" in our project to translate from content MathML to html. The <times/> tag is translated always to "invisible times" symbol which looks not always OK for complicated equations.
We have found the solution but it requires JS code modification. Is it possible to allow users to choose the symbol for times in MJ options? The better solution would be use the same approach as for gamma symbol in config function example or similar.
MathJax.Hub.Config({
"content-mathml": {
collapsePlusMinus: true,
cistyles: {
vector: 'bold-italic',
matrix: 'bold-upright'
},
symbols: {
gamma: '\u03B3'
}
}
});
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the content-mathml.js extension and the content-mathml configuration example in the issue; trace how the tag is mapped to its current symbol. Define a configurable option that selects a visible times symbol, then verify that the option changes the rendered output without altering the existing default.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100