Questions tagged [asciimath]

ASCIIMath is a tool for translating ASCII math notation to MathML and graphics

ASCIIMath is a tool for translating ASCII math notation to MathML and graphics

36 questions
8
votes
1 answer

Double brackets in MathJax

How can I achieve stretchy double brackets in MathJax using TeX? For example, The TeX package stmaryrd has this but MathJax doesn't support the import of arbitrary packages. I'd like the double brackets to look good at all sizes. Bonus: Is this…
mjk99
  • 1,290
  • 11
  • 18
7
votes
1 answer

How to convert asciimath to latex

i am developing a maths portal at some point i need to convert asciimath format expression to latex format expression. how it will possible ? I am using mathjax.
prudhvi259
  • 547
  • 2
  • 9
  • 31
7
votes
3 answers

How to get MathJax/ASCIIMath to ignore certain words

I know MathJax, especially with ASCIIMath, processes a lot of different words into symbols. But is there any way to prevent it from converting specific words? For example, it turns every instance of lt into <. Can I make it so that it keeps it as lt…
user400935
6
votes
1 answer

LaTex math to ASCIImath conversion

I have a javascript web application, and want to convert between strings of LaTeX math and strings of ASCIImath. It seems that MathJax could be able to do that, but I'm not to sure, what would be the best way. Would it be easier to write a…
guillefix
  • 380
  • 5
  • 11
4
votes
1 answer

How to change font for MathJax

I am unable to get MathJax to change the font that it is using to render formulas written in AsciiMath. I have read the answers to similar questions here at StackOverflow and other places on the web: Styling MathJax Changing mathjax's font…
Barzee
  • 897
  • 3
  • 15
  • 30
3
votes
1 answer

How to pass equations to Mathjax as strings?

I have javascript code that procedurally creates equations and stores them as strings. I want to use Mathjax to display these equations nicely, preferably using ASCIImath format. How can I pass these strings to Mathjax? The reason I store the…
2
votes
0 answers

Limitations of AsciiMath

Is AsciiMath (asciimath.org) able to describe all current math notation, or is there math notation that it is unabled to describe? If so, what are some things that it cannot do. Also, in the Grammar section of the website, I see a BNF grammar. Is…
Dess
  • 2,064
  • 19
  • 35
2
votes
0 answers

Evaluating an Ascii Math problem in javascript

I am working on a web-based project to take images of math problems and evaluate them. The OCR I use to retrieve the math problems from the images only outputs LaTeX or Ascii Math (Currently using ASCII math), and I need to find a way to evaluate…
user7287699
2
votes
2 answers

Convert AsciiMath/MathML to SVG/PNG

I'm looking for a way to convert my AsciiMath (or MathML) sources to SVG and/or PNG. I've found a nodeJS library for SVG conversion but calling that from Python is not very convenient and the output is not entirely satisfying. Taking the fact I'd…
Riverman
  • 503
  • 6
  • 17
2
votes
0 answers

asciimath: Equation numbers

How can I get equation numbers added to asciimath:[] expression? That is, how can I get the '(5)' in the formula such as E = m c^2 (5) Is there a method to refer to equation numbers, similar to LaTeX?
Frank-Rene Schäfer
  • 3,182
  • 27
  • 51
2
votes
2 answers

The character "not subset" in asciimath

How is the symbol "not subset" represented in asciimath? I am converting some LaTeX expressions to asciimath, but got stuck when I came up with the symbol "not subset", whose representation in LaTeX is "\not \subset".
2
votes
1 answer

AngularJS & Bower MathJax AsciiMath Rendering

This should be a pretty easy one, but I haven't been able to find any solutions. I need to include the following in my source code: The…
gus
  • 171
  • 2
  • 7
2
votes
0 answers

RegEx used to extract tokens from an ASCIIMath expression

I would like to parse an ASCIIMath expression and convert it to MathML. The result is NOT used for display on a webpage, though, so I cannot use MathJax or the native parser(they are in js). The language I am using is PHP. There is an ASCIIMathMLPHP…
karbuncle
  • 21
  • 2
1
vote
0 answers

How can I set up MathJax to work with angular (throughout the entire project, and not just a specific component)?

I have some asciimath text on my angular page and would like any asciimath, delimited by backticks `` to i.e.: sum_(i=1)^n i^3=((n(n+1))/2)^2 in these backticks, should be picked up by the MathJax library and converted into math annotation I have…
K4d3
  • 11
  • 2
1
vote
0 answers

Can't render asciiMath through MathJax on a Moodle site

I have configured the Moodle MathJax filter as MathJax.Hub.Config({ config: ["Accessible.js", "Safe.js"], extensions: ["asciimath2jax.js"], TeX: { extensions: ["AMSmath.js","AMSsymbols.js","color.js","mhchem.js","noErrors.js","noUndefined.js"]…
CarbonMan
  • 4,350
  • 12
  • 54
  • 75
1
2 3