aboutsummaryrefslogtreecommitdiff
path: root/parser.php
diff options
context:
space:
mode:
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')