File: sample-template.html

package info (click to toggle)
mathjax-siunitx 0.1-3
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, forky, sid, trixie
  • size: 2,232 kB
  • sloc: javascript: 3,927; python: 247; makefile: 5
file content (44 lines) | stat: -rw-r--r-- 1,228 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html>
<head>
<title>MathJax TeX Test Page</title>
<!-- Copyright (c) 2010-2014 The MathJax Consortium -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},
//  	errorSettings: {message: undefined},
    TeX: { extensions: [
      "[siunitx]/siunitx.js",
      "color.js"
    ] }
  });
  MathJax.Ajax.config.path['siunitx']  = '/javascript/siunitx';
</script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-MML-AM_HTMLorMML&delayStartupUntil=configured"></script>
    <script type="text/javascript" src="/javascript/siunitx/examples/select-siunitx-version.js"></script>

<style type="text/css">
table.unit-listing pre {
    margin: 0;
}
table.unit-listing svg.tex-example {
    zoom:1.33;
}
table.unit-listing tr:nth-child(odd){ 
	background: #f0f0f0;
}
</style>
    
</head>
<body>

<h2>Automatically generated reference</h2>    

<table class="unit-listing" id="unittest">
<thead><tr><th>Code</th><th>LaTeX</th><th>MathJax</th></tr></thead>
</table>    

</body>
</html>