Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

display math fraction using mathjax

Tags:

math

I'm using mathjax in ckeditor and i want to print the fraction.So,what command i have to write to print the fraction mentioned in the link below? (here is the image : tinypic.com/r/23k465g/9

Here is what i'm trying:

<html>
<head>
<script type="text/javascript" async
  src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>

<title> mathsjax</title>
</head>
<body>
$$7\(frac\({4}{3}\)\)$$
</body>
</html>

But it isn't working. So , please suggest me a solution

like image 942
learner Avatar asked Oct 28 '25 00:10

learner


1 Answers

$$7\frac{4}{3}$$

or in a text line

$7\dfrac{4}{3}$

Note that \(...\) defines a text line math environment, i.e., in LaTeX is equivalent to $...$.

like image 135
Lutz Lehmann Avatar answered Oct 29 '25 14:10

Lutz Lehmann



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!