diff options
author | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-12-05 11:56:42 +0100 |
---|---|---|
committer | Martin Možina <martin.mozina@fri.uni-lj.si> | 2016-12-05 11:56:42 +0100 |
commit | 3799a733ae04b8667499e6f1b7439ddb0245ca28 (patch) | |
tree | 9a1372c4153583d6de1e6fd0f39aea3008ac5c4a | |
parent | 236001ec7563804f87a40c924681461bc8b2d764 (diff) |
Added support for latex equations.
-rw-r--r-- | python/problems/comprehensions/comprehensions_sl.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/python/problems/comprehensions/comprehensions_sl.html b/python/problems/comprehensions/comprehensions_sl.html index 4ebea98..b7d8125 100644 --- a/python/problems/comprehensions/comprehensions_sl.html +++ b/python/problems/comprehensions/comprehensions_sl.html @@ -5,6 +5,13 @@ <title></title>
<link rel="stylesheet" type="text/css" href="/css/codeq.css" />
<link rel="stylesheet" type="text/css" href="../../style.css" />
+
+ <!-- KaTeX -->
+ <link rel="stylesheet" href="/css/katex-0.6.0.min.css">
+ <style> .katex { font-size: 1.1em !important; } </style>
+ <script src="/js/katex/katex-0.6.0.min.js"></script>
+ <script src="/js/katex/auto-render-0.6.0.min.js"></script>
+
</head>
<body>
@@ -568,5 +575,9 @@ obrne seznam.</p> ostali.append(n // i)
for e in reversed(ostali):
yield e</pre>
+<script>
+renderMathInElement(document.body);
+</script>
+</body>
</html>
|