-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7148c8
commit 605135e
Showing
2 changed files
with
22 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
|
||
<p align="center"> | ||
<img src="man/figures/tinytable_logo.svg" height = "250" class = "center"> | ||
</p> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,27 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>$tinytable_TABLE_ID</title> | ||
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"> | ||
<script> | ||
function styleCell(i, j, css_id) { | ||
var table = document.getElementById("$tinytable_TABLE_ID"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('$tinytable_TABLE_ID'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
newCell.innerText = content; | ||
} | ||
// tinytable cells before this | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} | ||
}); | ||
</script> | ||
<style> | ||
table { | ||
width: auto; | ||
|
@@ -29,27 +50,6 @@ | |
</table> | ||
</div> | ||
|
||
<script> | ||
function styleCell(i, j, css_id) { | ||
var table = document.getElementById("$tinytable_TABLE_ID"); | ||
table.rows[i].cells[j].classList.add(css_id); | ||
} | ||
function insertSpanRow(i, colspan, content) { | ||
var table = document.getElementById('$tinytable_TABLE_ID'); | ||
var newRow = table.insertRow(i); | ||
var newCell = newRow.insertCell(0); | ||
newCell.setAttribute("colspan", colspan); | ||
newCell.innerText = content; | ||
} | ||
// tinytable cells before this | ||
</script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | ||
<script type="text/x-mathjax-config"> | ||
MathJax.Hub.Config({ | ||
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]} | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> | ||
|