From ab2016462cb7204f8e5e7fb6e5b9bdf1f4db68c6 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Sat, 8 Nov 2014 20:07:03 +0100 Subject: CONTRIB-5337 Wrong display of the multiply operator --- parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parser.php') 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') -- cgit v1.2.3