1

The title is pretty general but I have a bit of a specific question.

I'm given a database of TeX code. I'm not familiar with what sort of format it's in (LaTeX, KaTeX, etc.), I only understand that it is TeX form. Here are some examples:

Raw TeX:

Is there a number `a` such that `$\displaystyle  \lim_{x \to -2} \frac{3x^2 + ax + a + 3}{x^2 + x - 2}$` exists? If so, find the value of `a` and the value of the limit.

The same question in HTML:

<p> Is there a number <code>a</code> such that <code class='latex inline'>\displaystyle  \lim_{x \to -2} \frac{3x^2 + ax + a + 3}{x^2 + x - 2}</code> exists?
     If so, find the value of <code>a</code> and the value of the limit.</p>

I want to display this on my web application, but I'm having difficulties finding which library I'm supposed to use to render these in. I don't know where the <code class='latex inline'> comes from. Can anybody identify what TeX form it is and how to render them?

1 Answers1

0

Some ideas that may help:

How to incorporate TeX into a website?

mathjax (used on math.stackexchange.com). See https://www.mathjax.org/, https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference ,

https://code.sololearn.com/WjCrAa4XhDJl/#html

Ethan Bolker
  • 9,333
  • 3
  • 42
  • 69
  • @DavidCarlisle Indeed. I knew that, but thought I was on math stackexchange, where I spend more time than I do here. – Ethan Bolker Jul 21 '20 at 00:17