From 8ad4a477c15f928323da24aff4188bd7f0dca1d9 Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Fri, 2 Feb 2018 16:53:59 +0100 Subject: Ajax dynamic formula display --- settings.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'settings.php') diff --git a/settings.php b/settings.php index 525324a..1c6fa30 100644 --- a/settings.php +++ b/settings.php @@ -54,4 +54,11 @@ if ($ADMIN->fulltree) { array('times' => new lang_string('times', 'qtype_algebra'), 'cdot' => new lang_string('cdot', 'qtype_algebra') ))); + // Method to diplay TeX formatted answer formula. + $settings->add(new admin_setting_configselect('qtype_algebra/formuladisplay', + new lang_string('formuladisplay', 'qtype_algebra'), + '', 'times', + array('iframe' => new lang_string('iframe', 'qtype_algebra'), + 'dynamic' => new lang_string('dynamic', 'qtype_algebra') + ))); } -- cgit v1.2.3