Team:Valencia UPV/style equations

From 2014.igem.org

(Difference between revisions)
(Created page with "<html> <style> .fraction { display: inline-block; vertical-align: middle; margin: 0 0.2em 0.4ex; text-align: center; } .fraction > span { display: block; ...")
 
Line 1: Line 1:
<html>
<html>
-
<style>
+
<script type="text/x-mathjax-config">
-
.fraction {
+
MathJax.Hub.Config({
-
    display: inline-block;
+
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
-
    vertical-align: middle;
+
});
-
    margin: 0 0.2em 0.4ex;
+
</script>
-
    text-align: center;
+
<script type="text/javascript"
-
}
+
  src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
-
.fraction > span {
+
</script>
-
    display: block;
+
-
    padding-top: 0.15em;
+
-
}
+
-
.fraction span.fdn {border-top: thin solid black;}
+
-
.fraction span.bar {display: none;}
+
-
</style>
+
</html>
</html>

Latest revision as of 19:55, 1 October 2014