Updated sample equation
This commit is contained in:
parent
0859bb6922
commit
d092201c71
@ -1,3 +1,4 @@
|
|||||||
|
var sampleEquation = '\\frac{\\pi}{2} = \\int_{-1}^{1} \\sqrt{1-x^2}\\ dx';
|
||||||
var hasShownBefore = false;
|
var hasShownBefore = false;
|
||||||
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
@ -68,7 +69,7 @@ $(document).ready(function() {
|
|||||||
|
|
||||||
// Show and convert a sample equation
|
// Show and convert a sample equation
|
||||||
$('#exampleButton').click(function() {
|
$('#exampleButton').click(function() {
|
||||||
$('#latexInputTextArea').val('\\vec{F}=m \\frac{d \\vec{v}}{dt} + \\vec{v}\\frac{dm}{dt}');
|
$('#latexInputTextArea').val(sampleEquation);
|
||||||
$('#convertButton').click();
|
$('#convertButton').click();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user