Questions tagged [katex]

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, and IE 8 - IE 11.

KaTeX is a fast, easy-to-use JavaScript library for TeX math rendering on the web. KaTeX supports all major browsers, including Chrome, Safari, Firefox, Opera, and IE 8 - IE 11.

Useful Links

180 questions
0
votes
1 answer

Recreating KaTeX emulation in La/TeX?

I'm working on a site that is using KaTeX for rendering math. However, the interface for entering the math content is (really) not ideal, so it is actually faster for me to work in an editor, like Sublime Text 3 and import the work; however, an…
Rax Adaam
  • 790
  • 3
  • 11
0
votes
1 answer

What kind of Javascript rich text editor support formula?

Is there a Javascript rich text editor that allows me to choose the formula through the toolbar?
esaon
  • 11
  • 1
0
votes
1 answer

Inject variable values into Katex/Latex syntax

I am working on a project that uses Katex format to display mathematical formulas. Now I am facing a bit of a problem here. For rendering a fraction the katex syntax is \dfrac{x}{y} Now if I have a variable x of value 3 and another variable y…
besrabasant
  • 2,422
  • 6
  • 27
  • 41
0
votes
1 answer

R Shiny lining up radio buttons with katex

Using radio buttons in Shiny to select a model. The models are defined by formula using katex. Is there a way to insert katex into the choices of the buttons? I've tried this approach which isn't working with…
Vlad
  • 3,058
  • 4
  • 25
  • 53
0
votes
1 answer

How can I auto render katex without having to use $$?

I've been struggling to understand how to render Katex without having to use $$ before and after the math expression. Katex on github says I should use this: But I still need to use $$…
AllocSystems
  • 1,049
  • 2
  • 11
  • 16
0
votes
1 answer

KATEX : How to Handle KaTex Parse Error in Try-Catch block?

We are currently using auto-render extension for rendering KaTeX into preview mode, we do have helper function which calls renderMathInElement function and our helper function is as follows: function renderMath(element) { try { …
0
votes
2 answers

Align the all content only on single line

I need to align all p element in a single line.But its not aligned.Its scroll append in vertical.But i need horizontal.And all the content align inline. I Try with display:inline but no use. see the below snippet: $('.pin_box p').map(function () {…
prasanth
  • 22,145
  • 4
  • 29
  • 53
0
votes
1 answer

Render TeX with KaTeX or MathJax

I have a html document

One paragraph

Another paragraph

and in some of the paragraphs, I have

Some text and a formula $a = b + c$.

and I want the text withing the $-signs to be rendered as TeX math using…
mortensen
  • 1,167
  • 2
  • 13
  • 23
0
votes
0 answers

Mathjax regex finding to render it

I want to prerender my MathJax with KaTeX to create a pdf, I did this: var re = new RegExp('\\\((.+)\\\)\<\/span>','gmi'); var htmlR = html.replace(re, function(match, i){ console.log(match); console.log(i); return…
user2650746
  • 61
  • 1
  • 1
  • 3
0
votes
2 answers

Greek fonts for Katex

I suceeded to use katex on my blog instead of MathJax. However some of the equations contained greek symbols and Katex does not contain the fonts for rendering the greek characters. (Matjax is very good at rendering the greek letters) Are there…
user36636
  • 19
  • 5
0
votes
2 answers

How can I replace Matjax script with Katex script on blogger?

I have a website that is using many equations together with MathJax. Until now I found just a single MathJax script that is working on my blog. The script that I have now is https://i.stack.imgur.com/5eAh6.jpg I want a KaTeX script to replace this…
user36636
  • 19
  • 5
0
votes
1 answer

gitbook editor kaTex expected comma after expression

This is the error information: The following is my book.json: { "plugins": ["katex"] } The following is my error file: I just can't figure out what's wrong with the math expression.
shui yibu
  • 1
  • 3
-1
votes
1 answer

Toggle/Disable real-time Markdown preview update in VSCode?

I am using VSCode to edit Markdown files with the formatted preview to the side. Every time I edit a file, the preview updates. For long files full of TeX math, this can significantly slow down the editor. Is there a way to disable real-time…
-3
votes
1 answer

How to deploy flutter example for the web?

https://pub.dev/packages/flutter_tex/example (want to run this code for Flutter Web) Goal: Deploy flutter example on a simple web page for checking latex code output Expected result: Simple web page where you type Latex on the left and it shows you…
Spykar
  • 39
  • 2
-3
votes
1 answer

katex convert to UTF-8 in C#

I have a 3rd party api that returns me mathematical equations in katex form. Is there a way to convert katex into utf-8 in c#. Thanks.
desiguy
  • 652
  • 2
  • 9
  • 25
1 2 3
11
12