Project

General

Profile

Feature #3626

Support LaTex by using MathJax on Web page

Added by Ram Kordale 5 months ago. Updated 5 months ago.

Status:
Review
Priority:
High
Start date:
06/24/2024
Due date:
% Done:

100%

Estimated time:
1.00 h

Description

If the user asks the question 'what is a complex fraction?', the model is very likely to provide some text containing LaTex (e.g. [\frac{\frac{3}{4} + \frac{2}{3}}{\frac{5}{6}}]).

Example response start----->
A complex fraction is a fraction that contains one or more fractions in its numerator, denominator, or both. In other words, it is a fraction where either the numerator, the denominator, or both contain fractions.

For example, the following is a complex fraction:

[\frac{\frac{3}{4} + \frac{2}{3}}{\frac{5}{6}}]

In this complex fraction, both the numerator and denominator contain fractions, making it a complex fraction. Complex fractions can be simplified by performing operations like finding a common denominator, multiplying by the reciprocal, or simplifying individual fractions within the complex fraction.
<-------Sample response end

With MathJax, we should be able to show the LaTex in a presentable form. Before sending MR, please do send ss of before and after to the reviewer.

Please do all testing using testingMode=true. change placeholder text to contain [\frac{\frac{3}{4} + \frac{2}{3}}{\frac{5}{6}}] in the first sentence. It will be visible as above without mathjax support and properly with the support.

Also available in: Atom PDF