0
Wenn Sie den Code \sqrt[3]{64}=4
einfügen funktioniert es gut. Wie Sie sqrt [3] {64} = 4 in Mathe schreiben
Aber zum Zeitpunkt des Schreibens der Eingabe \sqrt[3]{64}=4
wird das Stammverzeichnis nicht wie erwartet gerendert. Wie kann ich das Ergebnis wie im obigen Bild zum Zeitpunkt der Eingabe erhalten?
Dies ist mein Code:
var mathFieldSpan = document.getElementById('math-field');
var MQ = MathQuill.getInterface(2); // for backcompat
var mathField = MQ.MathField(mathFieldSpan, {
spaceBehavesLikeTab: true, // configurable
});
#math-field{
\t position:absolute;
width:65%;
left:40px;
height:40px;
border-radius:5px;
box-shadow:none;
outline:none;
font-family:Lato,sans-serif;color:#767676;font-weight:400;
border:2px solid #20BF9F;
font-size:15px;
transition:all 0.5s ease-out;
}
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://mathquill.com/lib/mathquill.css">
<script type="text/javascript" src="http://mathquill.com/lib/mathquill.js"></script>
<span id="math-field" ></span>
Dank seine perfekte .. – prasanth