$replacement = str_replace('@','@',$matches[1][$i]).$matches[2][$i];
$text = str_replace($matches[0][$i],$replacement,$text);
}
-
- //if (isadmin()) { error_reporting (E_ALL); }; //for debugging
// <algebra> some algebraic input expression </algebra>
// or @@ some algebraic input expression @@
$text = str_replace($matches[0][$i],$replacement,$text);
}
- //if (isadmin()) { error_reporting (E_ALL); }; //for debugging
-
// <tex> TeX expression </tex>
// or $$ TeX expression $$
// or \[ TeX expression \] // original tag of MathType and TeXaide (dlnsk)