blob: 30856ce1cf9c6ddf2e8b34733bd0425af5e80e7f (
plain)
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
45
46
47
48
49
50
51
52
53
|
{{# partial head}}
<link href="/static/katex-0.7.0/katex.min.css" rel="stylesheet">
<script src="/static/katex-0.7.0/katex.min.js"></script>
<script src="/static/katex-0.7.0/contrib/auto-render.min.js"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body);
});
</script>
<style>
.mfrac { font-size:0.8em; }
.infoblock { margin-left: 0.25em; border-left: 4px solid #BBBBBB; }
</style>
{{/partial}}
{{# partial content}}
<h1 style="margin-bottom: 0.1em;">
<a href="/m/{{namespace}}/" style="color: black; text-decoration: none;">
{{ namespace }}</a>/{{ model_name }}
</h1>
<span style="font-size: 0.9em;">
{{# if editable }}
<a href="edit/">edit</a> -
{{/if }}
<a href="markdown/">markdown</a> -
<a href="raw/">original modelica</a> -
<a href="repr/?format=scheme">scheme</a> -
<a href="repr/?format=javascript">javascript</a> -
<a href="repr/?format=latex">latex</a>
</span>
<p><i style="color: #222222;">{{ model_description }}</i>
<br><br>
{{# if latex }}
<div id="model_latex" class="infoblock">
$${{ latex }}$$
</div>
{{/if}}
{{{ markdown_html }}}
<br>
<h2>Modelica Code</h2>
<pre id="model_modelica" class="infoblock" style="padding: 0.5em;">
{{ modelica }}</pre>
<br>
{{/partial}}
{{~> base.html~}}
|