Team:ETH Zurich/tpl/head

From 2014.igem.org

(Difference between revisions)
Line 20: Line 20:
<!--<link rel="stylesheet" href="https://2014.igem.org/Team:ETH_Zurich/css/katex.min.css?action=raw&ctype=text/css" type="text/css"/> -->
<!--<link rel="stylesheet" href="https://2014.igem.org/Team:ETH_Zurich/css/katex.min.css?action=raw&ctype=text/css" type="text/css"/> -->
<!-- MathJax (LaTeX for the web) -->
<!-- MathJax (LaTeX for the web) -->
-
     <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_SVG"></script>
+
     <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
-
<script>
+
<script type="text/x-mathjax-config">
-
MathJax.Hub.Queue(function () {
+
MathJax.Hub.Config({
-
   var math = document.getElementById("Reactions");
+
   "HTML-CSS": {
-
  math.style.display = "inline"; var w = math.offsetWidth; math.style.display = "";
+
    styles: {
-
  if (w > 400) {math.style.fontSize = Math.floor(400/w * 100)+"%"}
+
      ".MathJax_Display": {
-
   MathJax.Hub.Queue(["Rerender",MathJax.Hub,math]);
+
        width: null,
 +
        position: null,
 +
        display: "table"
 +
      }
 +
    }
 +
   }
});
});
</script>
</script>

Revision as of 00:44, 13 October 2014

iGEM ETH Zurich 2014