Commit 26445913 authored by Ulrich's avatar Ulrich

slides...

parent b8fd26c4
This diff is collapsed.
......@@ -2,7 +2,8 @@
<cn>100</cn>
</math>
<span> </span>
<span>km </span>
<span>km</span>
<span> </span>
<span>s</span>
<math>
<apply>
......@@ -12,13 +13,3 @@
</apply>
</apply>
</math>
<span> </span>
<span>Mpc</span>
<math>
<apply>
<apply>
<minus>
<cn>1</cn>
</apply>
</apply>
</math>
......@@ -12,13 +12,5 @@
<cn>2</cn>
</apply>
</apply>
<ci>(*\textit{\textmu}*)</ci>
<apply>
<csymbol>
superscript
</csymbol>
<mtext>m</mtext>
<cn>2</cn>
</apply>
</apply>
</math>
......@@ -590,6 +590,8 @@ highlight = false;
let pre = found_array[j].prefix;
console.log(to);
$.ajax({
type: "GET",
......@@ -617,6 +619,8 @@ highlight = false;
var pow = new Big("10").pow(parseFloat(factor));
// pow = pow.pow(found_array[j].exp);
conv = conv.times(pow);
console.log(found_array[j].exp);
console.log(conv.toString());
conv = conv.pow(found_array[j].exp)
}
......@@ -641,7 +645,7 @@ highlight = false;
}
console.log(number + " " + pre + from + " = " + new_number + " " + to);
if (found_array[j].exp != 1){
if (found_array[j].exp != 1 && to.indexOf("^") == -1){
to = to + "^" + found_array[j].exp.toString();
}
......
......@@ -176,6 +176,8 @@ function create_pres_mathml(number, list_of_units, unit, to_unit, annotation){
var msup = document.createElementNS(mathmlNS,"msup");
var mn = document.createElementNS(mathmlNS,"mn");
mn.innerHTML = exp;
console.log("inner HTML");
console.log(exp);
msup.appendChild(mi_node);
msup.appendChild(mn);
mrow.appendChild(msup);
......
......@@ -292,6 +292,11 @@ horizon.
%\newpage
\newpage
\hfill
\newpage
\addcontentsline{toc}{section}{Curriculum Vit\ae} \input{cv.tex}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment