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
1
vote
0 answers

Algorithm for conversion of MathML to AsciiMath and Latex to MathML

I need to convert LaTeX code to Mathml and Mathml to asciimath. Is there any algorithm or javascript code present to convert that. I don't want to use node packages.
1
vote
1 answer

convert programmer's function into math notation

Could you please advise any online tools which automatically converts programmers' code function of type: s = k * ((a* x ^ n) / (1 + (a* x ^ n))) into math notation like this: $$s(x) = k {{a x ^ n} \over 1 + a x ^ n}$$ which is supposed to display…
Przemyslaw Remin
  • 6,276
  • 25
  • 113
  • 191
1
vote
1 answer

How to display with MathJax using AsciiMath?

I'm using MathJax to display math formulas in my website. And now, I want to use AsciiMath too. The problem is, when I'm using AsciiMath delimiters `...` instead of MathJax delimiters $...$ it doesn't work. This is my JS code (works on r.e. with…
user12499410
  • 392
  • 5
  • 17
1
vote
2 answers

How to configure MathJax (AsciiMath) to permit thousands separators

MathJax with AsciiMath renders the expression 1,000/5 as 1, 000/5, where the numerator of the fraction just shows as 000 instead of 1,000. JSFiddle: https://jsfiddle.net/kai100/wLhbqkru/ The MathJax documentation is silent about thousands…
Kai Pommerenke
  • 886
  • 7
  • 9
1
vote
1 answer

AsciiMath for "n choose r"

What's the best notation for achieving this in AsciiMath:
mjk99
  • 1,290
  • 11
  • 18
1
vote
3 answers

Second derivative in AsciiMath

I'd like to express "the second derivative of f(x)" in AsciiMath. In LaTeX, it's simply f''(x): The same in AsciiMath results in single quotes instead prime symbols: I can get a perfect first derivative in AsciiMath using f^'(x) But the same…
mjk99
  • 1,290
  • 11
  • 18
1
vote
1 answer

Updating MathJax with AsciiMath input

I have the following div:
``
The page runs MathJax.Hub.Queue(['Typeset', MathJax.Hub, 'math-display']) when the page is loaded. ` is the delimiter for AsciiMath input. If I were to use latex to enter equations, and…
1
vote
1 answer

How to get image for asciimath formula when form submitted

I'm using asciimath plugin for tinyMCE which creates image when Tex formula is entered. But when I submit the form instead of image created only formula entered gets posted, I need the image created and need to save in the database. Is there any…
Vamsi
  • 873
  • 1
  • 8
  • 16
1
vote
0 answers

How to make a capital delta in asciimath notation

I am using asciimath, mathjax, and tinymce, and for some reason the lowercase delta and capital delta are the same thing. The lowercase looks like a cursive-y d, and uppercase is supposed to be a triangle right? I can't figure out if this is a bug…
n_i_c_k
  • 1,504
  • 10
  • 18
0
votes
1 answer

How to render on the same page both asciimath and TeX using mathjax

My usage scenario is to have asciimath as the primary formula engine. However, for some cases I might need more powerful features which I can find only using TeX. Is there a way to have different open/close clauses one for the regular ascii math…
Dr Phil
  • 833
  • 6
  • 18
0
votes
1 answer

Customize AsciiMath math delimiters

I want to use AsciiMath to render math formula on my page. I followed the AsciiMath getting started and put the scripts in head tag:
Nasrin
  • 157
  • 2
  • 9
0
votes
1 answer

Converting ASCII math notation to Python

I am accepting user input in ascii math notation and need to evaluate that input in python with help from the sympy library. For example, a user might input: 2x^2 My understanding is that to evaluate this function in python, it would need to be in…
user1392897
  • 831
  • 2
  • 9
  • 25
0
votes
1 answer

Not able to use asciimath using AsciidoctorJ

I am trying to convert a asciidoc file containing math expression to html using AsciidoctorJ, but have been unsuccessful so far. This is the math.asciidoc that i am trying to convert. = My Diabolical Mathmatical Opus Jamie…
Munish Chandel
  • 3,572
  • 3
  • 24
  • 35
0
votes
1 answer

ASCII math in C

In C i can't simply use putchar(5); I have to do it like this #include int main(){ int c=5; putchar(c+'0'); putchar('\n'); return 0; } the output is 5. But I can't do this for double digit numbers…
user9585531
0
votes
1 answer

Using ASCIIMath, how can we align variables in proper order in a system of linear equations

For instance how can we display folliwing in MathJax using ASCIIMath:
nam
  • 21,967
  • 37
  • 158
  • 332