diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2014-11-08 20:07:03 +0100 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2014-11-08 20:07:03 +0100 |
commit | ab2016462cb7204f8e5e7fb6e5b9bdf1f4db68c6 (patch) | |
tree | 4724df0498cfefae237c19f941048508cd56fede /parser.php | |
parent | 5f1a95f9adf9f4f46ea7c7cd9b7e52e14f01add1 (diff) |
CONTRIB-5337 Wrong display of the multiply operator
Diffstat (limited to 'parser.php')
-rw-r--r-- | parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -491,7 +491,7 @@ class qtype_algebra_parser_number extends qtype_algebra_parser_term { $this->_base=$m[1]; $this->_exp=$m[2]; $eformats=array('str' => '%sE%s', - 'tex' => '%s '.get_string('multiply','qtype_algebra').' 10^{%s}'); + 'tex' => '%s \\times 10^{%s}'); parent::qtype_algebra_parser_term(self::NARGS,$eformats,$text); } else { $this->_base=$text; @@ -865,7 +865,7 @@ class qtype_algebra_parser_multiply extends qtype_algebra_parser_term { */ function qtype_algebra_parser_multiply($text) { $this->mformats=array('*' => array('str' => '%s*%s', - 'tex' => '%s '.get_string('multiply','qtype_algebra').' %s'), + 'tex' => '%s \\times %s'), '.' => array('str' => '%s %s', 'tex' => '%s %s', 'sage'=> '%s*%s') |