aboutsummaryrefslogtreecommitdiff
path: root/parser.php
diff options
context:
space:
mode:
authorJean-Michel Vedrine <vedrine@vedrine.org>2014-11-08 20:07:03 +0100
committerJean-Michel Vedrine <vedrine@vedrine.org>2014-11-08 20:07:03 +0100
commitab2016462cb7204f8e5e7fb6e5b9bdf1f4db68c6 (patch)
tree4724df0498cfefae237c19f941048508cd56fede /parser.php
parent5f1a95f9adf9f4f46ea7c7cd9b7e52e14f01add1 (diff)
CONTRIB-5337 Wrong display of the multiply operator
Diffstat (limited to 'parser.php')
-rw-r--r--parser.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/parser.php b/parser.php
index 451fe3b..6a81fe6 100644
--- a/parser.php
+++ b/parser.php
@@ -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')