<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
	<id>https://docs.moodle.org/4x/sv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colinfraser</id>
	<title>MoodleDocs - Användarbidrag [sv]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/4x/sv/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Colinfraser"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/Special:Bidrag/Colinfraser"/>
	<updated>2026-04-20T23:54:08Z</updated>
	<subtitle>Användarbidrag</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Cron_with_Windows_OS&amp;diff=132178</id>
		<title>Cron with Windows OS</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Cron_with_Windows_OS&amp;diff=132178"/>
		<updated>2018-11-05T21:55:43Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
There are two different ways for creating a Moodle [[Cron]] process trigger on Windows operating systems.&lt;br /&gt;
&lt;br /&gt;
==Moodle cron package==&lt;br /&gt;
Use the &#039;&#039;&#039;Moodle Cron package&#039;&#039;&#039;. The simplest way is to use this little package [http://download.moodle.org/download.php/windows/MoodleCron-Setup.exe MoodleCron-Setup.exe], which makes this whole thing very easy by installing a small Windows service. Run it and forget about it! :-)&lt;br /&gt;
&lt;br /&gt;
==wget or php scheduled task==&lt;br /&gt;
&lt;br /&gt;
If you prefer to use the built-in Windows Scheduler or are having trouble with moodle-cron-for-windows package, you can use wget for windows or php from the command line and setup a scheduled task. Just follow these steps:&lt;br /&gt;
** Choose either the &#039;&#039;&#039;php.exe/php-win.exe (command line binary)&#039;&#039;&#039; or &#039;&#039;&#039;wget&#039;&#039;&#039;&lt;br /&gt;
::The php.exe or php-win.exe binary (for PHP version 5 or later) is installed in your php folder (e.g. c:\php) will give you better performance when running the cron script.&lt;br /&gt;
::If you want to use wget, download a compiled version of wget for windows from the native GNU Win32 ports (http://unxutils.sourceforge.net/), from Heiko Herold&#039;s wget for windows page (http://xoomer.virgilio.it/hherold/) or Bart Puype&#039;s wget for windows page (http://users.ugent.be/~bpuype/wget/). If you use Heiko Herold&#039;s package, copy all of the .DLL files to your C:\Windows\system32 directory. Copy the wget.exe file to c:\windows (this makes sure wget is always in the search path).&lt;br /&gt;
:* Setup a &#039;&#039;&#039;Scheduled Task&#039;&#039;&#039;. &lt;br /&gt;
:: - Go to Start &amp;gt;&amp;gt; Control Panel &amp;gt;&amp;gt; Scheduled Tasks &amp;gt;&amp;gt; Add Scheduled Task.&lt;br /&gt;
:: - Click &amp;quot;Next&amp;quot; to start the wizard:&lt;br /&gt;
:: - Click in the &amp;quot;Browse...&amp;quot; button and browse to c:\php\php.exe or c:\windows\wget.exe and click &amp;quot;Open&amp;quot;&lt;br /&gt;
:: - Type &amp;quot;Moodle Cron&amp;quot; as the name of the task and select &amp;quot;Daily&amp;quot; as the schedule. Click &amp;quot;Next&amp;quot;.&lt;br /&gt;
:: - Select &amp;quot;12:00 AM&amp;quot; as the start time, perform the task &amp;quot;Every Day&amp;quot; and choose today&#039;s date as the starting date. Click &amp;quot;Next&amp;quot;.&lt;br /&gt;
:: - Enter the username and password of the user the task will run under (it doesn&#039;t have to be a priviledged account at all). Make sure you type the password correctly. Click &amp;quot;Next&amp;quot;.&lt;br /&gt;
:: - Mark the checkbox titled &amp;quot;Open advanced properties for this task when I click Finish&amp;quot; and click &amp;quot;Finish&amp;quot;.&lt;br /&gt;
:: - In the new dialog box, type the following in the &amp;quot;Run:&amp;quot; text box: &amp;lt;pre&amp;gt;c:\windows\wget.exe -q -O NUL http://my.moodle.site/moodle/admin/cron.php&amp;lt;/pre&amp;gt; or &amp;lt;pre&amp;gt;c:\php\php-win.exe -f c:\moodle\admin\cli\cron.php&amp;lt;/pre&amp;gt; Replace &amp;quot;c:\moodle&amp;quot; with the path to your moodle directory or &amp;quot;my.moode.site&amp;quot; with the name of your site.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
:: - Click on the &amp;quot;Schedule&amp;quot; tab and there in the &amp;quot;Advanced...&amp;quot; button.&lt;br /&gt;
:: - Mark the &amp;quot;Repeat task&amp;quot; checkbox and set &amp;quot;Every:&amp;quot; to 5 minutes, and set &amp;quot;Until:&amp;quot; to &amp;quot;Duration&amp;quot; and type &amp;quot;23&amp;quot; hours and &amp;quot;59&amp;quot; minutes.&lt;br /&gt;
:: - Click &amp;quot;OK&amp;quot; and you are done.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you use the wget version, be sure to check [https://docs.moodle.org/400/sv/Cron Cron settings] to make sure that the &#039;web based&#039; cron service is permitted. &lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;Test your scheduled task&#039;&#039;&#039;. You can test that your scheduled task can run successfully by clicking it with the right button and chosing &amp;quot;Run&amp;quot;. If everything is correctly setup, you will briefly see a DOS command window while wget/php executes and fetches the cron page and then it disappears. If you refresh the scheduled tasks folder, you will see the &#039;&#039;Last Run Time column&#039;&#039; (in detailed folder view) reflects the current time, and that the Last Result column displays &amp;quot;0x0&amp;quot; (everything went OK). If either of these is different, then you should recheck your setup.&lt;br /&gt;
* &#039;&#039;&#039;Logging cron output&#039;&#039;&#039;. You may want to log the output of the cron script as it executes, in case you see the job is producing errors, backups are not being completed or users are experiencing delays in receiving forum emails. To do this, adjust the command so that it uses the php.exe and stores the output in a file called (for example c:\moodle\admin\cron.log). Here is an example of the php.exe command:&lt;br /&gt;
&amp;lt;pre&amp;gt;c:\php\php.exe -f c:\moodle\admin\cron.php &amp;gt; c:\moodle\admin\cron.log&amp;lt;/pre&amp;gt;&lt;br /&gt;
If you experience problems logging the output of cron.php to a text file using the above command then read [http://moodle.org/mod/forum/discuss.php?d=139263#p609060 this] message by Iñaki Arenaza for an alternative way to log the output of Cron.&lt;br /&gt;
&lt;br /&gt;
Another method is to create a small batch file on your server that does all the work and get the scheduled task to call that file. Here is an example of a batch file that saves the output of cron to a file and deletes log files older than 5 days.&lt;br /&gt;
&amp;lt;pre&amp;gt;@echo off&lt;br /&gt;
set phppath=&amp;quot;C:\Program Files (x86)\PHP\v5.3\php.exe&amp;quot;&lt;br /&gt;
set cronpath=&amp;quot;C:\moodle\moodle-test\wwwroot\admin\cli\cron.php&amp;quot;&lt;br /&gt;
set logpath=&amp;quot;D:\moodle\moodle-test\cronlogs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
%phppath% -f %cronpath% &amp;gt;&amp;gt; %logpath%\%date:~10,4%%date:~4,2%%date:~7,2%.log&lt;br /&gt;
&lt;br /&gt;
Forfiles /P %logpath% /S /M *.log /D -5 /C &amp;quot;cmd /c del /q @path&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[es:Cron con Windows]]&lt;br /&gt;
&lt;br /&gt;
===Cron in Windows 10/Xampp environment== &lt;br /&gt;
Setting up a Cron task in the Xampp  works using the Task Scheduler. Using wget or MoodleCron is difficult and uncertain. Use the line: &lt;br /&gt;
:&amp;lt;pre&amp;gt;c:\php\php.exe -f c:\moodle\admin\cron.php &amp;gt; c:\moodle\admin\cron.log&amp;lt;/pre&amp;gt; &lt;br /&gt;
in the Action dialogue, and ensure you set the timing correctly.&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=error/moodle/notlocalisederrormessage&amp;diff=131432</id>
		<title>error/moodle/notlocalisederrormessage</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=error/moodle/notlocalisederrormessage&amp;diff=131432"/>
		<updated>2018-07-10T14:13:30Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==error/moodle/notlocalisederrormessage==&lt;br /&gt;
&lt;br /&gt;
To be updated:&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Decision_FAQ&amp;diff=130243</id>
		<title>Decision FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Decision_FAQ&amp;diff=130243"/>
		<updated>2018-03-07T21:41:01Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* I want to try it, but I don&amp;#039;t have time to learn how to do all that. */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{About Moodle}}Frequently asked questions about &#039;&#039;&#039;Moodle&#039;&#039;&#039; asked by people who are deciding whether Moodle is right for them.&lt;br /&gt;
&lt;br /&gt;
==What is Moodle?==&lt;br /&gt;
&lt;br /&gt;
Please see [[About Moodle]].&lt;br /&gt;
&lt;br /&gt;
==What do you need to run Moodle?==&lt;br /&gt;
&lt;br /&gt;
If you want to try Moodle out, you can easily [[Windows installation | install it on a standard Windows computer]] on your desktop or [[Installation Package for OS X|on a Mac]].&lt;br /&gt;
&lt;br /&gt;
If you want to run a stable Moodle service for a school, college, business etc., you should really invest in a dedicated server with enough capacity for your users. Moodle runs on a variety of platforms - the most common being Linux/Windows, Apache, MySQL and PHP. Please see [[Installing Moodle]] for more specifics.&lt;br /&gt;
&lt;br /&gt;
==I want to try it, but I don&#039;t have time to learn how to do all that.==&lt;br /&gt;
You can also go to [https://moodlecloud.com/ MoodleCloud]. This is a free service given to you so you can see it in action and use it in your real world setting.&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t understand this technology... how can I use Moodle?==&lt;br /&gt;
&lt;br /&gt;
Any organization with more than a few computers likely has a technology person who understands this. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t, then you&#039;ll probably be looking at purchasing hosting, where Moodle is installed for you on a server belonging to a commercial provider and you mostly just use the web interface to run your courses etc.  (See below for more info on these)&lt;br /&gt;
&lt;br /&gt;
==Is Moodle complicated?==&lt;br /&gt;
&lt;br /&gt;
It depends on your skills.  Moodle is very powerful, and with power comes complexity.  It is intended to be easy as possible for teachers, tutors and trainers to use, for technicians to install, and for administrators to manage, however, there are a lot of options and settings and there is still some learning curve.  Getting started is easy if you&#039;re not afraid to explore on your own, or if you get some training from a Moodle Partner or someone who knows Moodle well.&lt;br /&gt;
&lt;br /&gt;
==Is Moodle for teachers or administrators?==&lt;br /&gt;
&lt;br /&gt;
Moodle is a Learning/Course Management Systems (LMS/CMS) which helps individual, groups, schools, institutions, business, and even boards of education and school districts manage courses for anyone involved in teaching. Courses can be from 5 minutes to 5 years, from 1 person to 500 (or more!), and for everyone from first-graders to senior-citizens. The tools built into Moodle are appropriate for everything from social groups to professional development to traditional students in class.&lt;br /&gt;
&lt;br /&gt;
==Why would we trust our enterprise work to a free software package?==&lt;br /&gt;
&lt;br /&gt;
Almost 70% of the world&#039;s websites run on Apache, which is a free webserver. Moodle is open-source, and while this FAQ is not the appropriate place to discuss open-source software, a quick Google search on the viability of open-source products should provide ample material. Other great examples of widely-used open-source software include Linux, OpenOffice, Firefox, Sendmail, and numerous other packages that you probably use daily without thinking about it.&lt;br /&gt;
&lt;br /&gt;
==How can Moodle be free?==&lt;br /&gt;
&lt;br /&gt;
In addition to community volunteers to put their time and effort into discussing, documenting, testing and developing on the [http://moodle.org/ Moodle.org sites], Moodle is led and supported by [http://moodle.com Moodle.com], who in turn are supported by royalties from [http://moodle.com/ Moodle Partners], through clients who are willing to pay for support services e.g .hosting, training, branding, custom development, and some [http://moodle.org/donations/ donations].&lt;br /&gt;
&lt;br /&gt;
==What is a Moodle Partner?==&lt;br /&gt;
&lt;br /&gt;
The Moodle Partners are a group of service companies that contribute a proportion of their earnings directly to Moodle development.  They provide a range of optional commercial services for Moodle users, including fully-serviced Moodle hosting, training, certification, remote support contracts, custom code development and consulting.  Please see [http://moodle.com/ moodle.com] for further details.&lt;br /&gt;
&lt;br /&gt;
==How many people are using Moodle?==&lt;br /&gt;
&lt;br /&gt;
As Moodle is free to download and use, there is no simple way to count its &amp;quot;customers&amp;quot; since anyone can use it any time with no record. However we do keep some stats based on registered sites, see [http://moodle.org/stats/ Moodle statistics]. There are a number of [[Large installations | large installations]] of Moodle which cater for hundreds of thousands of users each.&lt;br /&gt;
&lt;br /&gt;
==How do we know Moodle will still be around in the future?==&lt;br /&gt;
&lt;br /&gt;
Moodle has a strong installed user base (the number of organizations and people using Moodle), so there are many individuals and organisations who have a vested interest in Moodle enduring long into the future.&lt;br /&gt;
&lt;br /&gt;
Moodle has a number of key strengths which when combined make a powerful case for its continuing presence and success:&lt;br /&gt;
&lt;br /&gt;
* A corporate structure which co-ordinates development, finances etc.: This entity (Moodle Pty Ltd) employs the core team including the Founder and Lead Developer Martin Dougiamas. Although the loss of any of the core team members would be a blow to Moodle this corporate body would remain intact and functional.&lt;br /&gt;
&lt;br /&gt;
* Moodle Partners: The growing global network of Moodle Partners provide commercial support services which help sustain Moodle users. Crucially, Moodle Partners contribute financially to support Moodle development and the organisational aspects provided by Moodle Pty Ltd.&lt;br /&gt;
&lt;br /&gt;
* Moodle community: Last in this list, but by no means least. The Moodle community, combined with the well funded and organisationally stable elements above is a powerful force in itself in maintaining the momentum and longevity of Moodle.&lt;br /&gt;
&lt;br /&gt;
==How long is a particular version of Moodle supported for?==&lt;br /&gt;
&lt;br /&gt;
Moodle HQ is committed to supporting the two most recent stable versions. That is, at any point in time:&lt;br /&gt;
&lt;br /&gt;
* We work on the next version but don&#039;t provide production support&lt;br /&gt;
* We support the most recent stable version with constant bug fixes&lt;br /&gt;
* We support the previous recent stable version, but mostly only serious bugs and security issues&lt;br /&gt;
* We don&#039;t support any older versions&lt;br /&gt;
&lt;br /&gt;
See [[:dev:Releases]] for expected times that each major release of Moodle will continue to receive core updates.&lt;br /&gt;
&lt;br /&gt;
==Are there any LTS (Long Term Support) releases of Moodle?==&lt;br /&gt;
&lt;br /&gt;
The most recent long-term support release (LTS) version is Moodle 3.1.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[:dev:Future]] for answers to the questions &amp;quot;What happens if Company X buys Moodle?&amp;quot; and &amp;quot;What happens if Martin gets eaten by a kangaroo?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:FAQ Decisión]]&lt;br /&gt;
[[fr:FAQ de décision]]&lt;br /&gt;
[[pt:FAQ Decissão]]&lt;br /&gt;
[[de:Entscheider FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Decision_FAQ&amp;diff=130242</id>
		<title>Decision FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Decision_FAQ&amp;diff=130242"/>
		<updated>2018-03-07T20:54:46Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* What do you need to run Moodle? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{About Moodle}}Frequently asked questions about &#039;&#039;&#039;Moodle&#039;&#039;&#039; asked by people who are deciding whether Moodle is right for them.&lt;br /&gt;
&lt;br /&gt;
==What is Moodle?==&lt;br /&gt;
&lt;br /&gt;
Please see [[About Moodle]].&lt;br /&gt;
&lt;br /&gt;
==What do you need to run Moodle?==&lt;br /&gt;
&lt;br /&gt;
If you want to try Moodle out, you can easily [[Windows installation | install it on a standard Windows computer]] on your desktop or [[Installation Package for OS X|on a Mac]].&lt;br /&gt;
&lt;br /&gt;
If you want to run a stable Moodle service for a school, college, business etc., you should really invest in a dedicated server with enough capacity for your users. Moodle runs on a variety of platforms - the most common being Linux/Windows, Apache, MySQL and PHP. Please see [[Installing Moodle]] for more specifics.&lt;br /&gt;
&lt;br /&gt;
==I want to try it, but I don&#039;t have time to learn how to do all that.==&lt;br /&gt;
You can also go to [https://moodlecloud.com/ MoodleCloud]. This is a free service given to you so you can see it in action in a real world setting.&lt;br /&gt;
&lt;br /&gt;
==I don&#039;t understand this technology... how can I use Moodle?==&lt;br /&gt;
&lt;br /&gt;
Any organization with more than a few computers likely has a technology person who understands this. &lt;br /&gt;
&lt;br /&gt;
If you don&#039;t, then you&#039;ll probably be looking at purchasing hosting, where Moodle is installed for you on a server belonging to a commercial provider and you mostly just use the web interface to run your courses etc.  (See below for more info on these)&lt;br /&gt;
&lt;br /&gt;
==Is Moodle complicated?==&lt;br /&gt;
&lt;br /&gt;
It depends on your skills.  Moodle is very powerful, and with power comes complexity.  It is intended to be easy as possible for teachers, tutors and trainers to use, for technicians to install, and for administrators to manage, however, there are a lot of options and settings and there is still some learning curve.  Getting started is easy if you&#039;re not afraid to explore on your own, or if you get some training from a Moodle Partner or someone who knows Moodle well.&lt;br /&gt;
&lt;br /&gt;
==Is Moodle for teachers or administrators?==&lt;br /&gt;
&lt;br /&gt;
Moodle is a Learning/Course Management Systems (LMS/CMS) which helps individual, groups, schools, institutions, business, and even boards of education and school districts manage courses for anyone involved in teaching. Courses can be from 5 minutes to 5 years, from 1 person to 500 (or more!), and for everyone from first-graders to senior-citizens. The tools built into Moodle are appropriate for everything from social groups to professional development to traditional students in class.&lt;br /&gt;
&lt;br /&gt;
==Why would we trust our enterprise work to a free software package?==&lt;br /&gt;
&lt;br /&gt;
Almost 70% of the world&#039;s websites run on Apache, which is a free webserver. Moodle is open-source, and while this FAQ is not the appropriate place to discuss open-source software, a quick Google search on the viability of open-source products should provide ample material. Other great examples of widely-used open-source software include Linux, OpenOffice, Firefox, Sendmail, and numerous other packages that you probably use daily without thinking about it.&lt;br /&gt;
&lt;br /&gt;
==How can Moodle be free?==&lt;br /&gt;
&lt;br /&gt;
In addition to community volunteers to put their time and effort into discussing, documenting, testing and developing on the [http://moodle.org/ Moodle.org sites], Moodle is led and supported by [http://moodle.com Moodle.com], who in turn are supported by royalties from [http://moodle.com/ Moodle Partners], through clients who are willing to pay for support services e.g .hosting, training, branding, custom development, and some [http://moodle.org/donations/ donations].&lt;br /&gt;
&lt;br /&gt;
==What is a Moodle Partner?==&lt;br /&gt;
&lt;br /&gt;
The Moodle Partners are a group of service companies that contribute a proportion of their earnings directly to Moodle development.  They provide a range of optional commercial services for Moodle users, including fully-serviced Moodle hosting, training, certification, remote support contracts, custom code development and consulting.  Please see [http://moodle.com/ moodle.com] for further details.&lt;br /&gt;
&lt;br /&gt;
==How many people are using Moodle?==&lt;br /&gt;
&lt;br /&gt;
As Moodle is free to download and use, there is no simple way to count its &amp;quot;customers&amp;quot; since anyone can use it any time with no record. However we do keep some stats based on registered sites, see [http://moodle.org/stats/ Moodle statistics]. There are a number of [[Large installations | large installations]] of Moodle which cater for hundreds of thousands of users each.&lt;br /&gt;
&lt;br /&gt;
==How do we know Moodle will still be around in the future?==&lt;br /&gt;
&lt;br /&gt;
Moodle has a strong installed user base (the number of organizations and people using Moodle), so there are many individuals and organisations who have a vested interest in Moodle enduring long into the future.&lt;br /&gt;
&lt;br /&gt;
Moodle has a number of key strengths which when combined make a powerful case for its continuing presence and success:&lt;br /&gt;
&lt;br /&gt;
* A corporate structure which co-ordinates development, finances etc.: This entity (Moodle Pty Ltd) employs the core team including the Founder and Lead Developer Martin Dougiamas. Although the loss of any of the core team members would be a blow to Moodle this corporate body would remain intact and functional.&lt;br /&gt;
&lt;br /&gt;
* Moodle Partners: The growing global network of Moodle Partners provide commercial support services which help sustain Moodle users. Crucially, Moodle Partners contribute financially to support Moodle development and the organisational aspects provided by Moodle Pty Ltd.&lt;br /&gt;
&lt;br /&gt;
* Moodle community: Last in this list, but by no means least. The Moodle community, combined with the well funded and organisationally stable elements above is a powerful force in itself in maintaining the momentum and longevity of Moodle.&lt;br /&gt;
&lt;br /&gt;
==How long is a particular version of Moodle supported for?==&lt;br /&gt;
&lt;br /&gt;
Moodle HQ is committed to supporting the two most recent stable versions. That is, at any point in time:&lt;br /&gt;
&lt;br /&gt;
* We work on the next version but don&#039;t provide production support&lt;br /&gt;
* We support the most recent stable version with constant bug fixes&lt;br /&gt;
* We support the previous recent stable version, but mostly only serious bugs and security issues&lt;br /&gt;
* We don&#039;t support any older versions&lt;br /&gt;
&lt;br /&gt;
See [[:dev:Releases]] for expected times that each major release of Moodle will continue to receive core updates.&lt;br /&gt;
&lt;br /&gt;
==Are there any LTS (Long Term Support) releases of Moodle?==&lt;br /&gt;
&lt;br /&gt;
The most recent long-term support release (LTS) version is Moodle 3.1.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[:dev:Future]] for answers to the questions &amp;quot;What happens if Company X buys Moodle?&amp;quot; and &amp;quot;What happens if Martin gets eaten by a kangaroo?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:FAQ Decisión]]&lt;br /&gt;
[[fr:FAQ de décision]]&lt;br /&gt;
[[pt:FAQ Decissão]]&lt;br /&gt;
[[de:Entscheider FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Diskussion:Atto_editor&amp;diff=129732</id>
		<title>Diskussion:Atto editor</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Diskussion:Atto_editor&amp;diff=129732"/>
		<updated>2017-12-25T05:19:42Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
= Atto Editor discussion page =&lt;br /&gt;
&lt;br /&gt;
==Atto colours==&lt;br /&gt;
The problem is that the colour schemes available are far too few. Page backgrounds, text colours and highlights should be the decisions of the authors, not the Developers. The text in the Doc:&lt;br /&gt;
   &amp;quot;...&amp;quot;...user specified colours may conflict visually with the site colour... (T)he first is just a visually unappealing combination of colours, the second is a combination of colours that may produce text that is hard to read for some people.&amp;quot; &lt;br /&gt;
is really tripe. I have no idea what colours someone else uses for their site, and I have no interest in it whatsoever, if I don&#039;t use the site, who cares? Only the people who do use it. So assertions that &amp;quot;visually unappealing combination of colours..&amp;quot;  are just not warranted. &lt;br /&gt;
At the MoodlemootAU17, I actually spoke on this very issue, suggesting that people do need to be careful about the colours they use on their site. However, I did qualify that by stating at the outset there are three conditions for this to occur, 1, authors need &#039;&#039;&#039;be mindful of their audience&#039;&#039;&#039;, 2, need be &#039;&#039;&#039;mindful of their environment&#039;&#039;&#039; and 3, don&#039;t impose what &#039;&#039;&#039;they think&#039;&#039;&#039; looks good on their site. In this Moodle Devs have ignored the first and last point concentrating on the second point. &lt;br /&gt;
&lt;br /&gt;
I raise this issue as I have found there is a group of students in my classes, that are beset with Irlen Syndrome, a form of dyslexia. Their eyes are, as I understand it, overwhelmed by the luminosity of the documents they are reading. I found it difficult to replicate the background and foreground colours they really needed to use to be successful in Atto. I couldn&#039;t persist with it and switched to TinyMCE. Yes, I could add code to the page, but when on tight timelines, this becomes more problematic. Please do something about this. Or is this a Moodle Tracker issue? I understand there has already been a number of issues created in the tracker, but so far...&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121505</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121505"/>
		<updated>2015-11-22T22:42:00Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* The rendered image for our TeX equations is a poor quality GIF file, can it be made better? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things. With Atto the preferred editor, additional functionality included the MathJax editing dialog box. This allows users to edit Maths Functions easily and quickly without having to use TeX notation. &lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle, aside from the use of MathJax. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]] or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
While LateX, or some version of it, is the preferred tool for many users, it is no longer really needed for creating the essential maths expressions or equations. As Atto is now the preferred editor, part of the development of Atto was devoted to incorporating the MathJax Editor as a core tool. This has made it easy to develop most expressions.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, in much the same manner as html commands use.&lt;br /&gt;
&lt;br /&gt;
With an increasing number of alternate tools, MathSlate, MathType, etc, to export TeX to Moodle, it is often necessary to ensure that the right tokens or delimiters are used when generating the TeX to be exported. Each tool will have its own set of step to be taken to generate the TeX, and at some point, you will likely to be asked, or there will be a setting, to select whether you want a $$ token or other delimiter. Since Moodle v2.7, the Atto editor and and the MathJax filter, the preferred delimiters are \( and \)  to open and close the TeX code. It is suggested that any export setting use the delimiter as a preference to ensure it is acceptable in current and future versions of Moodle.&lt;br /&gt;
&lt;br /&gt;
==We were using MathType but after a recent upgrade, the formatting of expressions is not working like it should== &lt;br /&gt;
Most likely, the transition from the TeX filter to the MathJax filter has meant that the older $$ tokens are being misread so equations and expressions are being placed on single lines rather than part of a sentence. There are a couple of possible remedies here. One is to disable the MathJax filter and exclusively use the TeX filter. If you are really comfortable with TeX, then that is a perfectly valid solution. Alternatively, if you go to Site Administration &amp;gt; Plugins &amp;gt; Filters &amp;gt; MathJax, scroll down to &amp;quot;Add additional delimiters&amp;quot; and enter $$, that should also eliminate the problem. &lt;br /&gt;
&lt;br /&gt;
==The rendered image for our TeX equations is a poor quality GIF file, can it be made better?==&lt;br /&gt;
Yes it can. If you try to improve the quality of the image by changing the dpi ratio from 96dpi to 120dpi, the image gets larger, but there is no real improvement to the perception of the rendered image. However, there is a way out for all now. Using the MathJax filter, create an expression, run it, right click the rendered expression and in the menu, go to Math Settings &amp;gt; Maths Renderer and select the file type of SVG. SVG is a vector graphic file type and can scale up or down without losing its clarity.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121480</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121480"/>
		<updated>2015-11-20T11:06:15Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* OK, what is the difference between a token and a delimiter? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things. With Atto the preferred editor, additional functionality included the MathJax editing dialog box. This allows users to edit Maths Functions easily and quickly without having to use TeX notation. &lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle, aside from the use of MathJax. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]] or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
While LateX, or some version of it, is the preferred tool for many users, it is no longer really needed for creating the essential maths expressions or equations. As Atto is now the preferred editor, part of the development of Atto was devoted to incorporating the MathJax Editor as a core tool. This has made it easy to develop most expressions.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, in much the same manner as html commands use.&lt;br /&gt;
&lt;br /&gt;
With an increasing number of alternate tools, MathSlate, MathType, etc, to export TeX to Moodle, it is often necessary to ensure that the right tokens or delimiters are used when generating the TeX to be exported. Each tool will have its own set of step to be taken to generate the TeX, and at some point, you will likely to be asked, or there will be a setting, to select whether you want a $$ token or other delimiter. Since Moodle v2.7, the Atto editor and and the MathJax filter, the preferred delimiters are \( and \)  to open and close the TeX code. It is suggested that any export setting use the delimiter as a preference to ensure it is acceptable in current and future versions of Moodle.&lt;br /&gt;
&lt;br /&gt;
==We were using MathType but after a recent upgrade, the formatting of expressions is not working like it should== &lt;br /&gt;
Most likely, the transition from the TeX filter to the MathJax filter has meant that the older $$ tokens are being misread so equations and expressions are being placed on single lines rather than part of a sentence. There are a couple of possible remedies here. One is to disable the MathJax filter and exclusively use the TeX filter. If you are really comfortable with TeX, then that is a perfectly valid solution. Alternatively, if you go to Site Administration &amp;gt; Plugins &amp;gt; Filters &amp;gt; MathJax, scroll down to &amp;quot;Add additional delimiters&amp;quot; and enter $$, that should also eliminate the problem. &lt;br /&gt;
&lt;br /&gt;
==The rendered image for our TeX equations is a poor quality GIF file, can it be made better?==&lt;br /&gt;
Yes it can. If you increase the qualuity of the image from 96dpi to 120dpi, the image gets larger. However, there is a way out for all now. Using the MathJax filter, create an expression, run it, right click the rendered expression and in the menu, go to Math Settings &amp;gt; Maths Renderer and select the file type of SVG. SVG is a vector graphic file type and can scale up or down without losing its clarity.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121479</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121479"/>
		<updated>2015-11-20T10:39:37Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* OK, what is the difference between a token and a delimiter? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things. With Atto the preferred editor, additional functionality included the MathJax editing dialog box. This allows users to edit Maths Functions easily and quickly without having to use TeX notation. &lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle, aside from the use of MathJax. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]] or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
While LateX, or some version of it, is the preferred tool for many users, it is no longer really needed for creating the essential maths expressions or equations. As Atto is now the preferred editor, part of the development of Atto was devoted to incorporating the MathJax Editor as a core tool. This has made it easy to develop most expressions.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, in much the same manner as html commands use.&lt;br /&gt;
&lt;br /&gt;
With an increasing number of alternate tools, MathSlate, MathType, etc, to export TeX to Moodle, it is often necessary to ensure that the right tokens or delimiters are used when generating the TeX to be exported. Each tool will have its own set of step to be taken to generate the TeX, and at some point, you will likely to be asked, or there will be a setting, to select whether you want a $$ token or other delimiter. Since Moodle v2.7, the Atto editor and and the MathJax filter, the preferred delimiters are \( and \)  to open and close the TeX code. It is suggested that any export setting use the delimiter as a preference to ensure it is acceptable in current and future versions of Moodle.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Using_TeX_Notation&amp;diff=121420</id>
		<title>Using TeX Notation</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Using_TeX_Notation&amp;diff=121420"/>
		<updated>2015-11-19T10:39:16Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Filters}}&lt;br /&gt;
{{Work in progress}}&lt;br /&gt;
TeX (&#039;&#039;&#039;/&#039;tɛx/tekh&#039;&#039;&#039;, often pronounced TeK in English)  is a very widespread and popular way of representing Mathematics notation using only characters that you can type on a keyboard (see [https://en.wikipedia.org/wiki/TeX Wikipedia]).  This makes it a useful format to use in Moodle, since it can be entered anywhere you can type text, from forum posts to quiz questions.&lt;br /&gt;
&lt;br /&gt;
TeX expressions can be entered in multiple ways:&lt;br /&gt;
* typing them directly into texts.&lt;br /&gt;
* using the Java-based Dragmath editor in Moodle&#039;s TinyMCE editor.&lt;br /&gt;
* using the HTML-based equation editor in Moodle&#039;s Atto editor (since Moodle 2.7).&lt;br /&gt;
&lt;br /&gt;
Afterwards, TeX expressions are rendered into Mathematics notation:&lt;br /&gt;
* using the TeX filter in Moodle, which uses a TeX binary installed on the server to convert expressions into .gif images (or if that is not available, it falls back to a simple built-in mimetex binary).&lt;br /&gt;
* using the [[MathJax_filter]] which identifies TeX expressions and uses the Mathjax JS library to render them in browsers at display time (since Moodle 2.7).&lt;br /&gt;
* using other third-party solutions.&lt;br /&gt;
&lt;br /&gt;
As you can imagine, the whole field is not as simple as we would like, especially because there are many flavours of TeX and slight variations between tools.&lt;br /&gt;
&lt;br /&gt;
This page focusses only on using TeX in core Moodle.  See the links at the bottom of this page for more information on setting up TeX editors and filters, including other tools from the Moodle community that may be suitable for advanced users.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;WARNING:&#039;&#039;&#039; This Wiki environment uses a DIFFERENT TeX renderer to Moodle, especially when it comes to control sequences.  For this reason images are sometimes used to represent what it should look like in Moodle.   YMMV.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Language Conventions== &lt;br /&gt;
&lt;br /&gt;
To identify a TeX sequence in your text, surround it with $$ markers. To invoke a particular command or control sequence, use the backslash, \. A typical control sequence looks like: &lt;br /&gt;
&lt;br /&gt;
  $$ x\ =\ \frac{\sqrt{144}}{2}\ \times\ (y\ +\ 12) $$  &lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: cfmimetex10.gif|frame|center]]&lt;br /&gt;
|-&lt;br /&gt;
|Fraction and square root.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Additional spaces can be placed into the equation using the \ without a trailing character.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Reserved Characters and Keywords==&lt;br /&gt;
&lt;br /&gt;
Most characters and numbers on the keyboard can be used at their default value. As with any computing language, though, there are a set of reserved characters and keywords that are used by the program for its own purposes. TeX Notation is no different, but it does have a very small set of Reserved Characters. This will not be a complete list of reserved characters, but some of these are: &lt;br /&gt;
&lt;br /&gt;
  @ # $ % ^ &amp;amp; * ( ) . &lt;br /&gt;
&lt;br /&gt;
To use these characters in an equation just place the \ in front of them like \$ or \%. If you want to use the backslash, just use \backslash. The only exception here seems to be the &amp;amp;, ampersand. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Superscripts, Subscripts and Roots==&lt;br /&gt;
&lt;br /&gt;
Superscripts are recorded using the caret, ^, symbol. An example for a Maths class might be: &lt;br /&gt;
&lt;br /&gt;
  $$ 4^2 \ \times \ 4^3 \ = 4^5 $$&lt;br /&gt;
  This is a shorthand way of saying: &lt;br /&gt;
  (4 x 4) x (4 x 4 x 4) = (4 x 4 x 4 x 4 x 4)&lt;br /&gt;
  or&lt;br /&gt;
  16 x 64 = 1024.&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;math&amp;gt;4^2 \ \times \ 4^3 \ = 4^5&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Subscripts are similar, but use the underscore character. &lt;br /&gt;
&lt;br /&gt;
  $$ 3x_2 \ \times \ 2x_3 $$&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;math&amp;gt;3x_2 \ \times \ 2x_3&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is OK if you want superscripts or subscripts, but square roots are a little different. This uses a control sequence. &lt;br /&gt;
&lt;br /&gt;
  $$ \sqrt{64} \ = \ 8 $$&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;math&amp;gt;\sqrt{64} \ = \ 8&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also take this a little further, but adding in a control character. You may ask a question like: &lt;br /&gt;
&lt;br /&gt;
  $$ If \ \sqrt[n]{1024} \ = \ 4, \ what \ is \ the \ value \ of \ n? $$  &lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;math&amp;gt;If \ \sqrt[n]{1024} \ = \ 4, \ what \ is \ the \ value \ of \ n?&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Using these different commands allows you to develop equations like: &lt;br /&gt;
&lt;br /&gt;
  $$ The \sqrt{64} \ \times \ 2 \ \times \ 4^3 \ = \ 1024 $$&lt;br /&gt;
  &lt;br /&gt;
  &amp;lt;math&amp;gt;The \sqrt{64} \ \times \ 2 \ \times \ 4^3 \ = \ 1024&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Superscripts, Subscripts and roots can also be noted in [[Using TeX Notation 4 | Matrices]].&lt;br /&gt;
&lt;br /&gt;
==Fractions==&lt;br /&gt;
&lt;br /&gt;
Fractions in TeX are actually simple, as long as you remember the rules.&lt;br /&gt;
&lt;br /&gt;
  $$ \frac{numerator}{denominator} $$ which produces &amp;lt;math&amp;gt;\frac{numerator}{denominator}&amp;lt;/math&amp;gt; .&lt;br /&gt;
&lt;br /&gt;
This can be given as:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;math&amp;gt;\frac{5}{10} \ is \ equal \ to \ \frac{1}{2}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is entered as:&lt;br /&gt;
&lt;br /&gt;
  $$ \frac{5}{10} \ is \ equal \ to \ \frac{1}{2}.$$&lt;br /&gt;
&lt;br /&gt;
With fractions (as with other commands) the curly brackets can be nested so that for example you can implement negative exponents in fractions.  As you can see,&lt;br /&gt;
	&lt;br /&gt;
  $$\frac {5^{-2}}{3}$$ will produce &amp;lt;math&amp;gt;\frac {5^{-2}}{3}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  $$\left(\frac{3}{4}\right)^{-3}$$ will produce &amp;lt;math&amp;gt;\left(\frac{3}{4}\right)^{-3}&amp;lt;/math&amp;gt;  and&lt;br /&gt;
&lt;br /&gt;
  $$\frac{3}{4^{-3}}$$ will produce &amp;lt;math&amp;gt; \frac{3}{4^{-3}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
  You likely do not want to use $$\frac{3}{4}^{-3}$$ as it produces &amp;lt;math&amp;gt;\frac{3}{4}^{-3}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can also use fractions and negative exponents in [[Using TeX Notation 4 | Matrices]].&lt;br /&gt;
&lt;br /&gt;
==Brackets==&lt;br /&gt;
&lt;br /&gt;
As students advance through Maths, they come into contact with brackets. Algebraic notation depends heavily on brackets. The usual keyboard values of ( and ) are useful, for example:&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;math&amp;gt;d = 2 \ \times \ (4 \ - \ j)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is written as:&lt;br /&gt;
&lt;br /&gt;
  $$ d = 2 \ \times \ (4 \ - \ j) $$&lt;br /&gt;
&lt;br /&gt;
Usually, these brackets are enough for most formulae but they will not be in some circumstances. Consider this:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;math&amp;gt;4x^3 \ + \ (x \ + \ \frac{42}{1 + x^4})&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Is OK, but try it this way:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;math&amp;gt;4x^3 \ + \ \left(x \ + \ \frac{42}{1 + x^4}\right)&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This can be achieved by:&lt;br /&gt;
&lt;br /&gt;
  $$ 4x^3 \ + \ \left(x \ + \ \frac{42}{1 + x^4}\right) $$&lt;br /&gt;
&lt;br /&gt;
A simple change using the \left( and \right) symbols instead. Note the actual bracket is both named and presented. Brackets are almost essential in [[Using TeX Notation 4 | Matrices]].&lt;br /&gt;
&lt;br /&gt;
==Ellipsis==&lt;br /&gt;
&lt;br /&gt;
The Ellipsis is a simple code:&lt;br /&gt;
&lt;br /&gt;
  &amp;lt;math&amp;gt;x_1, \ x_2, \ \ldots, \ x_n&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Written like:&lt;br /&gt;
&lt;br /&gt;
  $$ x_1, \ x_2, \ \ldots, \ x_n  $$&lt;br /&gt;
&lt;br /&gt;
A more practical application could be:&lt;br /&gt;
&lt;br /&gt;
Question:&lt;br /&gt;
  &amp;quot;Add together all the numbers from 1 &amp;lt;math&amp;gt;\ldots&amp;lt;/math&amp;gt; 38.&lt;br /&gt;
  What is an elegant and simple solution to this problem?&lt;br /&gt;
  Can you create an algebraic function to explain this solution?&lt;br /&gt;
  Will your solution work for all numbers?&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
The question uses an even number to demonstrate a mathematical process and generate an algebraic formula.&lt;br /&gt;
&lt;br /&gt;
{| class = &amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Part 1:&lt;br /&gt;
| Part 2.&lt;br /&gt;
| Part 3.&lt;br /&gt;
|-&lt;br /&gt;
| &lt;br /&gt;
&amp;lt;math&amp;gt;1. \ 1 \ + \ 38 \ = \ 39&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;2. \ 2 \ + \ 37 \ = \ 39&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;3. \ 3 \ + \ 36 \ = \ 39&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\ldots&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;19. 19 \ + \ 20 \ = \ 39 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\therefore x \ = \ 39 \ \times \ 19 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\therefore x \ = \ 741 &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|An algebraic function might read something like:&lt;br /&gt;
&amp;lt;math&amp;gt;t = (1 + n) \times n/2 &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where t = total and n = the last number.&lt;br /&gt;
&lt;br /&gt;
|The solution is that, using the largest and the smallest numbers, the numbers are added and then multiplied by the number of different combinations to produce the same result adding the first and last numbers.&lt;br /&gt;
The answer must depend on the number, &amp;lt;math&amp;gt;\frac{n}{2}&amp;lt;/math&amp;gt; being a whole number. Therefore, the solution will not work for an odd range of numbers, only an even range.&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Symbols==&lt;br /&gt;
&lt;br /&gt;
These are not all the symbols that may be available in TeX Notation for Moodle, just the ones that I have found to work in Moodle.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| \amalg &lt;br /&gt;
| &amp;lt;math&amp;gt;\amalg&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \cup&lt;br /&gt;
| &amp;lt;math&amp;gt;\cup&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \oplus&lt;br /&gt;
| &amp;lt;math&amp;gt;\oplus&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \times&lt;br /&gt;
| &amp;lt;math&amp;gt;\times&amp;lt;/math&amp;gt;   &lt;br /&gt;
|-&lt;br /&gt;
|\ast&lt;br /&gt;
|&amp;lt;math&amp;gt;\ast&amp;lt;/math&amp;gt;  &lt;br /&gt;
|\dagger&lt;br /&gt;
|&amp;lt;math&amp;gt;\dagger&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \oslash&lt;br /&gt;
| &amp;lt;math&amp;gt;\oslash&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \triangleleft&lt;br /&gt;
| &amp;lt;math&amp;gt;\triangleleft&amp;lt;/math&amp;gt;   &lt;br /&gt;
|-&lt;br /&gt;
| \bigcirc&lt;br /&gt;
| &amp;lt;math&amp;gt;\bigcirc&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \ddagger&lt;br /&gt;
| &amp;lt;math&amp;gt;\ddagger&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \otimes&lt;br /&gt;
| &amp;lt;math&amp;gt;\otimes&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \triangleright&lt;br /&gt;
| &amp;lt;math&amp;gt;\triangleright&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| \bigtriangledown&lt;br /&gt;
| &amp;lt;math&amp;gt;\bigtriangledown&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \diamond&lt;br /&gt;
| &amp;lt;math&amp;gt;\diamond&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \pm&lt;br /&gt;
| &amp;lt;math&amp;gt;\pm&amp;lt;/math&amp;gt;  	&lt;br /&gt;
| \odot&lt;br /&gt;
| &amp;lt;math&amp;gt;\odot&amp;lt;/math&amp;gt;   &lt;br /&gt;
|- &lt;br /&gt;
| \bigtriangleup&lt;br /&gt;
| &amp;lt;math&amp;gt;\bigtriangleup&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \div&lt;br /&gt;
| &amp;lt;math&amp;gt;\div&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \ominus&lt;br /&gt;
| &amp;lt;math&amp;gt;\ominus&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \wr&lt;br /&gt;
| &amp;lt;math&amp;gt;\wr&amp;lt;/math&amp;gt;   &lt;br /&gt;
|-&lt;br /&gt;
| \circ&lt;br /&gt;
| &amp;lt;math&amp;gt;\circ&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \wedge&lt;br /&gt;
| &amp;lt;math&amp;gt;\wedge&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \vee&lt;br /&gt;
| &amp;lt;math&amp;gt;\vee&amp;lt;/math&amp;gt;   &lt;br /&gt;
| \sqcup&lt;br /&gt;
| &amp;lt;math&amp;gt;\sqcup&amp;lt;/math&amp;gt;  &lt;br /&gt;
|- &lt;br /&gt;
| \leq&lt;br /&gt;
| &amp;lt;math&amp;gt;\leq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \geq&lt;br /&gt;
| &amp;lt;math&amp;gt;\geq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \equiv&lt;br /&gt;
| &amp;lt;math&amp;gt;\equiv&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \prec&lt;br /&gt;
| &amp;lt;math&amp;gt;\prec&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \succ&lt;br /&gt;
| &amp;lt;math&amp;gt;\succ&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \sim&lt;br /&gt;
| &amp;lt;math&amp;gt;\sim&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \perp&lt;br /&gt;
| &amp;lt;math&amp;gt;\perp&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \preceq&lt;br /&gt;
| &amp;lt;math&amp;gt;\preceq&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \succeq&lt;br /&gt;
| &amp;lt;math&amp;gt;\succeq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \simeq&lt;br /&gt;
| &amp;lt;math&amp;gt;\simeq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \mid&lt;br /&gt;
| &amp;lt;math&amp;gt;\mid&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \ll&lt;br /&gt;
| &amp;lt;math&amp;gt;\ll&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \gg &lt;br /&gt;
| &amp;lt;math&amp;gt;\gg&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \asymp&lt;br /&gt;
| &amp;lt;math&amp;gt;\asymp&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \parallel&lt;br /&gt;
| &amp;lt;math&amp;gt;\parallel&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \subset&lt;br /&gt;
| &amp;lt;math&amp;gt;\subset&amp;lt;/math&amp;gt;  &lt;br /&gt;
|- &lt;br /&gt;
| \supset&lt;br /&gt;
| &amp;lt;math&amp;gt;\supset&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \subseteq&lt;br /&gt;
| &amp;lt;math&amp;gt;\subseteq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \supseteq&lt;br /&gt;
| &amp;lt;math&amp;gt;\supseteq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \approx&lt;br /&gt;
| &amp;lt;math&amp;gt;\approx&amp;lt;/math&amp;gt;  &lt;br /&gt;
|- &lt;br /&gt;
| \neq&lt;br /&gt;
| &amp;lt;math&amp;gt;\neq&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \ni&lt;br /&gt;
| &amp;lt;math&amp;gt;\ni&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \notin&lt;br /&gt;
| &amp;lt;math&amp;gt;\notin&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \in&lt;br /&gt;
| &amp;lt;math&amp;gt;\ni&amp;lt;/math&amp;gt;  &lt;br /&gt;
|- &lt;br /&gt;
| \vdash&lt;br /&gt;
| &amp;lt;math&amp;gt;\vdash&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \dashv&lt;br /&gt;
| &amp;lt;math&amp;gt;\dashv&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \bullet&lt;br /&gt;
| &amp;lt;math&amp;gt;\bullet&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \cdot&lt;br /&gt;
| &amp;lt;math&amp;gt;\cdot&amp;lt;/math&amp;gt;  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Arrows==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| \leftarrow	&lt;br /&gt;
| &amp;lt;math&amp;gt; \leftarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \longleftarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \longleftarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Leftarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Leftarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Longleftarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Longleftarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \rightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \rightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \longrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \longrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Rightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Rightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Longrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Longrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \uparrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \uparrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Uparrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Uparrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \downarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \downarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Downarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Downarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \leftrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \leftrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \longleftrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \longleftrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \updownarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \updownarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Updownarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Updownarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \Leftrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Leftrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Longleftrightarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \Longleftrightarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \leftrightharpoons&lt;br /&gt;
| &amp;lt;math&amp;gt; \rightleftharpoons&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \Im&lt;br /&gt;
| &amp;lt;math&amp;gt; \Im&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \nearrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \nearrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \nwarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \nwarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \swarrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \swarrow&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \searrow&lt;br /&gt;
| &amp;lt;math&amp;gt; \searrow&amp;lt;/math&amp;gt;    &lt;br /&gt;
  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Delimiters and Maths Constructs==&lt;br /&gt;
&lt;br /&gt;
NOTE: Most delimiters and constructs need additional parameters for them to appear appropriately.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| \{x&lt;br /&gt;
| &amp;lt;math&amp;gt; \{x &amp;lt;/math&amp;gt;  &lt;br /&gt;
| x | \}&lt;br /&gt;
| &amp;lt;math&amp;gt;x | \} &amp;lt;/math&amp;gt;  &lt;br /&gt;
| \rangle&lt;br /&gt;
| &amp;lt;math&amp;gt; \rangle &amp;lt;/math&amp;gt;  &lt;br /&gt;
| \langle&lt;br /&gt;
| &amp;lt;math&amp;gt; \langle &amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \angle&lt;br /&gt;
| &amp;lt;math&amp;gt; \angle &amp;lt;/math&amp;gt;  &lt;br /&gt;
| \=&lt;br /&gt;
| &amp;lt;math&amp;gt; \| &amp;lt;/math&amp;gt;  &lt;br /&gt;
| \sqrt{ab}&lt;br /&gt;
| &amp;lt;math&amp;gt; \sqrt{ab}&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \sqrt[n]{ab}&lt;br /&gt;
| &amp;lt;math&amp;gt; \sqrt[n]{ab}&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \frac{ab}{cd}&lt;br /&gt;
| &amp;lt;math&amp;gt; \frac{ab}{cd}&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \backslash&lt;br /&gt;
| &amp;lt;math&amp;gt; \backslash&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \widehat{ab}&lt;br /&gt;
| &amp;lt;math&amp;gt; \widehat{ab}&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \$&lt;br /&gt;
| &amp;lt;math&amp;gt; \$ &amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \overline{ab}&lt;br /&gt;
| &amp;lt;math&amp;gt; \overline{ab}&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \underline{ab}&lt;br /&gt;
| &amp;lt;math&amp;gt; \underline{ab}&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \therefore&lt;br /&gt;
| &amp;lt;math&amp;gt; \therefore&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \ddots&lt;br /&gt;
| &amp;lt;math&amp;gt; \ddots&amp;lt;/math&amp;gt;  &lt;br /&gt;
|-&lt;br /&gt;
| \%&lt;br /&gt;
| &amp;lt;math&amp;gt; \%&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \#&lt;br /&gt;
| &amp;lt;math&amp;gt; \# &amp;lt;/math&amp;gt;  &lt;br /&gt;
| \vdots&lt;br /&gt;
| &amp;lt;math&amp;gt; \vdots&amp;lt;/math&amp;gt;  &lt;br /&gt;
| \emptyset&lt;br /&gt;
| &amp;lt;math&amp;gt; \emptyset&amp;lt;/math&amp;gt;  &lt;br /&gt;
|}&lt;br /&gt;
WARNINGS: The &amp;amp; character in LaTeX usually requires a backslash, \. In TeX Notation for Moodle, apparently, it does not. Other packages, AsciiMath, may use it differently again so be careful using it. The copyright character may use the MimeTeX charset, and produces a copyright notice for John Forkosh Associates who provided a lot of the essential packages for the TeX Notation for Moodle, so I understand. I have been, almost reliably, informed that a particular instruction will produce a different notice though .:)    &lt;br /&gt;
&lt;br /&gt;
There are also a number of characters that can be used in TeX Notation for Moodle but do not render in this page:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: cfmimetex08.png|frame|left]] &lt;br /&gt;
| Larger \left(x and \right) brackets&lt;br /&gt;
|-&lt;br /&gt;
|[[Image: cfmimetex06.gif|frame|left]]&lt;br /&gt;
| \widetilde{ab}&lt;br /&gt;
|-&lt;br /&gt;
|[[Image: cfmimetex09.gif|frame|left]]&lt;br /&gt;
| \textdegree or (50)^\circ&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Greek Letters==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;math&amp;gt;\alpha&amp;lt;/math&amp;gt;&lt;br /&gt;
| \alpha  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\beta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \beta  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\gamma&amp;lt;/math&amp;gt;&lt;br /&gt;
| \gamma &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\delta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \delta  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\epsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
| \epsilon &lt;br /&gt;
| &amp;lt;math&amp;gt;\zeta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \zeta &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\eta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \eta &lt;br /&gt;
| &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \theta &lt;br /&gt;
| &amp;lt;math&amp;gt;\iota&amp;lt;/math&amp;gt;&lt;br /&gt;
| \iota &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\kappa&amp;lt;/math&amp;gt;&lt;br /&gt;
| \kappa &lt;br /&gt;
| &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt;&lt;br /&gt;
| \lambda &lt;br /&gt;
| &amp;lt;math&amp;gt;\mu&amp;lt;/math&amp;gt;&lt;br /&gt;
| \mu &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\xi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \xi &lt;br /&gt;
| &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \pi &lt;br /&gt;
| &amp;lt;math&amp;gt;\rho&amp;lt;/math&amp;gt;&lt;br /&gt;
| \rho &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;&lt;br /&gt;
| \sigma &lt;br /&gt;
| &amp;lt;math&amp;gt;\tau&amp;lt;/math&amp;gt;&lt;br /&gt;
| \tau &lt;br /&gt;
| &amp;lt;math&amp;gt;\upsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
| \upsilon &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\phi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \phi &lt;br /&gt;
| &amp;lt;math&amp;gt;\chi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \chi &lt;br /&gt;
| &amp;lt;math&amp;gt;\psi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \psi&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\omega&amp;lt;/math&amp;gt;&lt;br /&gt;
| \omega  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\Omega&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Omega  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Theta&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\Delta&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Delta  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\Pi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Pi  	&lt;br /&gt;
| &amp;lt;math&amp;gt;\Phi&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Phi&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\Gamma &amp;lt;/math&amp;gt;&lt;br /&gt;
| \Gamma&lt;br /&gt;
| &amp;lt;math&amp;gt;\Lambda  &amp;lt;/math&amp;gt;&lt;br /&gt;
| \Lambda  &lt;br /&gt;
| &amp;lt;math&amp;gt;\Sigma  &amp;lt;/math&amp;gt;&lt;br /&gt;
| \Sigma  &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\Psi &amp;lt;/math&amp;gt;&lt;br /&gt;
| \Psi&lt;br /&gt;
| &amp;lt;math&amp;gt;\Xi &amp;lt;/math&amp;gt;&lt;br /&gt;
| \Xi&lt;br /&gt;
| &amp;lt;math&amp;gt;\Upsilon&amp;lt;/math&amp;gt;&lt;br /&gt;
| \Upsilon&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\vartheta &amp;lt;/math&amp;gt;&lt;br /&gt;
| \vartheta&lt;br /&gt;
| &amp;lt;math&amp;gt;\varrho  &amp;lt;/math&amp;gt;&lt;br /&gt;
| \varrho&lt;br /&gt;
| &amp;lt;math&amp;gt;\varphi &amp;lt;/math&amp;gt;&lt;br /&gt;
| \varphi &lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;math&amp;gt;\varsigma &amp;lt;/math&amp;gt;&lt;br /&gt;
| \varsigma&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Notable Exceptions&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Greek letter omicron (traditionally, mathemeticians don&#039;t make much use of omicron due to possible confusion with zero). Simply put, lowercase omicron is an &amp;quot;o&amp;quot; redered as &amp;lt;i&amp;gt;o&amp;lt;/i&amp;gt;. But note \omicron may now work with recent TeX implementations including MathJax.&lt;br /&gt;
&lt;br /&gt;
At the time of writing, these Greek capital letters cannot be rendered by TeX Notation in Moodle: &lt;br /&gt;
&lt;br /&gt;
Alpha, Beta, Zeta, Eta, Tau, Chi, Mu, Iota, Kappa and Epsilon.&lt;br /&gt;
&lt;br /&gt;
TeX methematics adopts the convention that lowercase Greek symbols are displayed as italics whereas uppercase Greek symbols are displayed as upright characters. Therefore, the missing Greek capital letters can simply be represented by the \mathrm{ } equivalent &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathrm{A, B, Z, H, T, X, M, I, K, E}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Boolean algebra==&lt;br /&gt;
&lt;br /&gt;
There are a number of different conventions for representing Boolean (logic) algebra. Common conventions used in computer science and electronics are detailed below:&lt;br /&gt;
&lt;br /&gt;
Negation, NOT, ¬, !, ~, &amp;lt;sup&amp;gt;−&amp;lt;/sup&amp;gt;&lt;br /&gt;
 \lnot, !, \sim, \overline{ }&lt;br /&gt;
Conjunction, AND, ∧, &amp;lt;math&amp;gt;\cdot&amp;lt;/math&amp;gt;&lt;br /&gt;
 \land, \wedge, \cdot&lt;br /&gt;
Dysjunction, OR, ∨, +, &lt;br /&gt;
 \lor, \vee, +&lt;br /&gt;
Exclusive dysjunction, XOR ⊻, ⊕&lt;br /&gt;
 \veebar, \oplus&lt;br /&gt;
Equivalence, If and only if, Iff, ≡, ↔, ⇔&lt;br /&gt;
  \equiv, \leftrightarrow \iff&lt;br /&gt;
&lt;br /&gt;
Example: two representations of De Morgan&#039;s laws:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;A \cdot B = \overline{\overline{A} + \overline{B}}&amp;lt;/math&amp;gt;&lt;br /&gt;
 $$ A \cdot B = \overline{\overline{A} + \overline{B}} SS&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(A \land B) \equiv \lnot(\lnot{A} \lor \lnot{B})&amp;lt;/math&amp;gt;&lt;br /&gt;
 $$ (A \land B) \equiv \lnot(\lnot{A} \lor \lnot{B}) $$&lt;br /&gt;
&lt;br /&gt;
==Fonts==&lt;br /&gt;
&lt;br /&gt;
To use a particular font you need to access the font using the same syntax as demonstrated above.&lt;br /&gt;
&lt;br /&gt;
A math calligraphic font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathcal{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathcal{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$&lt;br /&gt;
&lt;br /&gt;
Blackboard bold, a Castellar type font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbb{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathbb{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$&lt;br /&gt;
&lt;br /&gt;
Often used in number theory. For example: &amp;lt;math&amp;gt;\mathbb{N}&amp;lt;/math&amp;gt; = set of natural numbers including 0 {0, 1, 2, 3, ...}, &amp;lt;math&amp;gt;\mathbb{Z}&amp;lt;/math&amp;gt; = set of integers {-..., -3, -2, -1, 0, 1, 2, 3, ... }, &amp;lt;math&amp;gt;\mathbb{Q}&amp;lt;/math&amp;gt; = set of rational numbers, including integers, &amp;lt;math&amp;gt;\mathbb{R}&amp;lt;/math&amp;gt; = set of real numbers, which includes the natural numbers, rational numbers and irrational numbers.&lt;br /&gt;
&lt;br /&gt;
Fraktur, an Old English type font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathfrak{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathfrak{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$&lt;br /&gt;
&lt;br /&gt;
This is different in Tex Notation in Moodle than it is for other, full, TeX packages. &lt;br /&gt;
&lt;br /&gt;
An italic font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathit{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathit{ABCDEFGHIJKLMNOPQRSTUVXYZ} $$&lt;br /&gt;
&lt;br /&gt;
A normal, upright non-italic, Roman font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathrm{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathrm{ABCDEFGHIJKLMNOPQRSTUVXYZ} $$&lt;br /&gt;
A bold-face font:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\mathbf{ABCDEFGHIJKLMNOPQRSTUVXYZ}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
$$ \mathbf{ABCDEFGHIJKLMNOPQRSTUVXYZ} $$&lt;br /&gt;
&lt;br /&gt;
==Size of displays==&lt;br /&gt;
&lt;br /&gt;
The default size is rendered slightly larger than normal font size. TeX Notation in Moodle uses eight different sizes ranging from &amp;quot;tiny&amp;quot; to &amp;quot;huge&amp;quot;. However,these values seem to mean different things and are, I suspect, dependent upon the User&#039;s screen resolution. The sizes can be noted in four different ways: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| \fontsize{0} to \fontsize{7}&lt;br /&gt;
| $$\fontsize{2} x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12)$$&lt;br /&gt;
| [[Image:cfmimetex10.gif|left]]&lt;br /&gt;
|-&lt;br /&gt;
| \fs{0} to \fs{7}&lt;br /&gt;
| $$\fs{4} x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12)$$&lt;br /&gt;
| [[Image:cfmimetex10.gif|left]]&lt;br /&gt;
|-&lt;br /&gt;
| \fs0 to \fs7&lt;br /&gt;
| $$\fs6 x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12)$$&lt;br /&gt;
| [[Image:cfmimetex11c.gif|left]]&lt;br /&gt;
|-&lt;br /&gt;
| As well, you can use \tiny \small &lt;br /&gt;
\normalsize \large \Large &lt;br /&gt;
\LARGE \huge \Huge&lt;br /&gt;
| $$\normalsize x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12)$$&lt;br /&gt;
| [[Image:cfmimetex11d.gif|left]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
It appears that TeX Notation in Moodle now allows \fs6, \fs7, \huge and \Huge to be properly rendered.&lt;br /&gt;
&lt;br /&gt;
==Colour==&lt;br /&gt;
&lt;br /&gt;
Unlike many scripting languages, we only need to name the colour we want to use. You may have to experiment a little with colours, but it will make for a brighter page. Once named, the entire statement will appear in the colour, and if you mix colours, the last named colour will dominate. Some examples: &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| $$ \red x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12) $$&lt;br /&gt;
| [[Image: cfmimetex30a.gif|right]] &lt;br /&gt;
|-&lt;br /&gt;
| $$ \blue x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12) $$&lt;br /&gt;
| [[Image: cfmimetex30b.gif|right]]&lt;br /&gt;
|-&lt;br /&gt;
| $$ \green x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12) $$&lt;br /&gt;
| [[Image: cfmimetex30c.gif|right]]&lt;br /&gt;
|-&lt;br /&gt;
| $$ \red x \ = \ \frac{\sqrt{144}}{2}$$ $$ \times $$ &lt;br /&gt;
$$\green (y \ + \ 12) $$ $$ \ = $$ $$ \ \blue 6^3 $$ &lt;br /&gt;
| [[Image: cfmimetex30d.gif|right]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Moodle 2.2 note: You may find this doesn&#039;t work for you. You can try to add &amp;quot;\usepackage{color}&amp;quot; to your tex notation setting &amp;quot;LaTeX preamble&amp;quot; (under Site adminstration/Plugins/Filters/TeX notation)and then use this new syntax: $$ \color{red} x \ = \ \frac{\sqrt{144}}{2} \ \times \ (y \ + \ 12) $$&lt;br /&gt;
&lt;br /&gt;
You may note this last one, it is considerably more complex than the previous for colours. TeX Notation in Windows does not allow multicoloured equations, if you name a number of colours in the equation, only the last named will be used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Geometric Shapes== &lt;br /&gt;
&lt;br /&gt;
There are two ways to produce geometric shapes, one is with circles and the other is with lines. Each take a bit of practice to get right, but they can provide some simple geometry. It may be easier to produce the shapes in Illustrator or Paint Shop Pro or any one of a number of other drawing packages and use them to illustrate your lessons, but sometimes, some simple diagrams in Moodle will do a better job.&lt;br /&gt;
&lt;br /&gt;
==Circles==&lt;br /&gt;
&lt;br /&gt;
Circles are easy to make. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex20.gif|left]]&lt;br /&gt;
| Circles are easily created, and only needs a number to determine how large the circle is. &lt;br /&gt;
To create the circle use $$ \circle(150) $$. This makes a circle of 150 pixels in diameter. &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Creating Arcs==&lt;br /&gt;
&lt;br /&gt;
Arcs are also easy to produce, but require some additional parameters. The same code structure used in circles create the basic shape, but the inclusion of a start and end point creates only the arc. However, notice where the 0 point is, not at the true North, but rather the East and run in an anti-clockwise direction. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex21a.gif|left]]&lt;br /&gt;
| $$ \circle(120;90,180)$$&lt;br /&gt;
| [[Image:cfmimetex21b.gif|left]]&lt;br /&gt;
| $$ \circle(120;0,90)$$&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex21c.gif|left]]&lt;br /&gt;
| $$ \circle(120;180,270)$$&lt;br /&gt;
| [[Image:cfmimetex21d.gif|left]]&lt;br /&gt;
| $$ \circle(120;270,360)$$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This structure breaks down into the \circle command followed by the diameter, not the radius, of the circle, followed by a semi-colon, then the demarcation of the arc, the nomination of the start and end points in degrees from the 0, East, start point. Note that the canvas is the size of the diameter nominated by the circle&#039;s parameters.&lt;br /&gt;
&lt;br /&gt;
==The \picture Command==&lt;br /&gt;
&lt;br /&gt;
Using circles and arcs as shown above is somewhat limiting. The \picture command allows you to use a frame in which to build a picture of many layers. Each part of the picture though needs to be in its own space, and while this frame allows you to be creative, to a degree, there are some very hard and fast rules about using it. &lt;br /&gt;
&lt;br /&gt;
All elements of a picture need to be located within the picture frame. Unexpected results occur when parts of an arc, for example, runs over the border of the frame. (This is particularly true of lines, which we will get to next, and the consequences of that overstepping of the border can cause serious problems.)&lt;br /&gt;
&lt;br /&gt;
The \picture command is structured like:&lt;br /&gt;
   \picture(100){(50,50){\circle(200)}}&lt;br /&gt;
   \command(size of frame){(x co-ordinate, y co-ordinate){\shape to draw(size or x co-ordinate, y co-ordinate)})  &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; The brace is used to enclose each set of required starting point coordinates. Inside each set of braces, another set of braces is used to isolate each set of coordinates from the other, and those coordinates use their proper brackets and backslash. Count the opening and closing brackets, be careful of the position,       &lt;br /&gt;
  &lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex24a.gif|left]]&lt;br /&gt;
| $$ \picture(100){(50,50){\circle(200)}}&amp;amp;&amp;amp;&lt;br /&gt;
&lt;br /&gt;
The picture frame brings elements together that you may not otherwise see.&lt;br /&gt;
&lt;br /&gt;
Because of the frame size of 100px and the centre point of the circle in the mid-point of the frame, the 200px circle will be squashed. Unexpected results occur when sizes are not correct.&lt;br /&gt;
| [[Image:cfmimetex24b.gif|left]]&lt;br /&gt;
|&lt;br /&gt;
Using the picture frame, you can layer circles &lt;br /&gt;
and lines over each other, or they can intersect.&lt;br /&gt;
&lt;br /&gt;
$$ \picture(100){(50,50){\circle(99)} (50,50){\circle(80)}} $$&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex24c.gif|left]]&lt;br /&gt;
| You may want to see an image of a circle with a dot in the middle. &lt;br /&gt;
You may have to try to place the centre dot correctly , but the &lt;br /&gt;
ordering of the elements in the image may have an impact.&lt;br /&gt;
&lt;br /&gt;
$$ \picture(100){(48,46){\bullet}(50,50){\circle(99)}} $$ &lt;br /&gt;
| [[Image:cfmimetex24d.gif|left]]&lt;br /&gt;
| Using the same ideas as above, you can make semi-circles.&lt;br /&gt;
&lt;br /&gt;
$$\picture(150){(50,50){\circle(100;0,180)}(100,50){\circle(100;180,360)}}$$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Lines==&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Warning:&#039;&#039;&#039; Drawing lines in TeX Notation in Moodle is an issue, go to the [[Using_TeX_Notation#Reserved_Characters_and_Keywords| Using Text Notation]] for more information. If the line is not noted properly then the parser will try to correctly draw the line but will not successfully complete it. This means that every image that needs be drawn will be drawn until it hits the error. When the error is being converted, it fails, so no subsequent image is drawn. Be careful and make sure your line works BEFORE you move to the next problem or next image. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: cfmimetex26.gif|frame|left| a couple of lines]] &lt;br /&gt;
| $$\red \picture(200){(20,0){ \line(180,0)}{(20,180){\line(180,0}$$ &lt;br /&gt;
 &lt;br /&gt;
The structure of the picture box is that the \picture(200) provides a square image template.&lt;br /&gt;
&lt;br /&gt;
The (20,0) provides the starting coordinates for any line that comes after. In this case the start point is at 20pixels in the x axis and 0 pixels in the y axis. The starting point for all coordinates, 0,0, is the bottom left corner and they run in a clockwise manner. &#039;&#039;&#039;Do not confuse this with arcs.&#039;&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
The \line(180,0) determines the length and inclination of the line. In this case, the inclination is 0 and the length is 180px. &lt;br /&gt;
&lt;br /&gt;
These are enclosed in braces, all inside one set of braces owned by the \picture() control sequence.&lt;br /&gt;
&lt;br /&gt;
The next set of commands are the same, that is, the (20,200) are the coordinates of the next line. The x co-ordinate is the 20, that is the distance to the right from the 0 point. The y co-ordinates is the distance from the bottom of the image. Whereas the first line started and ran on the bottom of the picture frame, the y co-ordinate starts at the 200 pixel mark from the bottom of the image. The line, at 180 pixels long and has no y slope. This creates a spread pair of parallel lines.     &lt;br /&gt;
| [[Image: cfmimtex27.gif|thumb|right|150px|\picture explained]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
While this explains the structure of a line, there is a couple of elements that you need to go through to do more with them.&lt;br /&gt;
&lt;br /&gt;
==Squares and Rectangles==&lt;br /&gt;
Drawing squares and rectangles is similar, but only slightly different. &lt;br /&gt;
&lt;br /&gt;
There should be a square box tool, and there is, but unless it has something inside it, it does not display. It is actually easier to make a square using the \line command.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: line03.gif|left]]&lt;br /&gt;
|This box is constructed using:&lt;br /&gt;
$$ \picture(250){(10,10){\line(0,230)}(10,10){\line(230,0)}(240,10){\line(0,230)}(10,240){\line(230,0)}}$$&lt;br /&gt;
It is a 250 pixel square box with a 230 pixel square inside it.&lt;br /&gt;
| [[Image: line04.gif|left]]&lt;br /&gt;
|This box is different in that is has the equal length indicators that are used in a square.&lt;br /&gt;
$$ \picture(250){(10,10){\line(0,230)}&lt;br /&gt;
(5,120){\line(10,0)}&lt;br /&gt;
(10,10){\line(230,0)}&lt;br /&gt;
(120,5){\line(0,10)}&lt;br /&gt;
(240,10){\line(0,230)}&lt;br /&gt;
(235,120){\line(10,0)}&lt;br /&gt;
(10,240){\line(230,0)}&lt;br /&gt;
(120,235){\line(0,10)}}$$&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: line05.gif|left]]&lt;br /&gt;
| The rectangle then becomes the same thing, but with one side shorter. For a portrait canvas it would be:&lt;br /&gt;
$$ \picture(250){(10,10){\line(0,230)}(10,10){\line(150,0)}(160,10){\line(0,230)}(10,240){\line(150,0)}}$$&lt;br /&gt;
| [[Image: line06.gif|left]]&lt;br /&gt;
|The rectangle can also produce a landscape shape:&lt;br /&gt;
$$ \picture(250){(10,10){\line(0,160)}(10,10){\line(230,0)}(240,10){\line(0,160)}(10,170){\line(230,0)}}$$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Controlling Angles==&lt;br /&gt;
&lt;br /&gt;
Controlling angles is a little different. They involve a different perception, but not one that is unfamiliar. Consider this:&lt;br /&gt;
&lt;br /&gt;
We have a point from which we want to draw a line that is on an angle. The notation used at this point can be positive, positive or positive, negative or negative, positive or negative, negative. Think of it like a number plane or a graph, using directed numbers. The 0,0 point is in the centre, and we have four quadrants around it that give us one of the previously mentioned results.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| rowspan=&amp;quot;4&amp;quot;|[[Image:co-ordquadrants.png|left]]&lt;br /&gt;
| [[Image:line06a.gif|left]] $$\picture(100){(50,50){\line(40,45)}}$$, &lt;br /&gt;
a positive x and positive y&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:line06b.gif|left]]$$\picture(100){(50,50){\line(-40,45)}}$$&lt;br /&gt;
a negative x and positive y&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:line06c.gif|left]]$$\picture(100){(50,50){\line(-40,-45)}}$$&lt;br /&gt;
a negative x and negative y&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:line06d.gif|left]]$$\picture(100){(50,50){\line(40,-45)}}$$&lt;br /&gt;
a positive x and a negative y&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Essentially, what these points boil down to is that anything above the insertion point is a positive on the y axis, anything below is a negative. Anything to the left of the insertion point is a negative while everything to the right is a positive. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:line06e.gif|left]]&lt;br /&gt;
| $$\picture(100){(50,50){\line(40,45)}(50,50){\line(-40,45)}(50,50){\line(-40,-45)}(50,50){\line(40,-45)}}$$&lt;br /&gt;
&lt;br /&gt;
The co-ordinate alignment process in TeX is not that good that you can use one set of co-ords as a single starting point for all lines. The layering of each object varies because of the position of the previous object, so each object needs to be exactly placed.&lt;br /&gt;
&lt;br /&gt;
This co-ord structure has a great deal of impact on intersecting lines, parallel lines and triangles. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Intersecting Lines==&lt;br /&gt;
&lt;br /&gt;
You can set up an intersecting pair easily enough, using the \picture control sequence.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:cfmimetex31.gif|left]]&lt;br /&gt;
| $$ \picture(200){(10,0){\line(150,150)} (0,130){\line(180,-180)}} $$&lt;br /&gt;
&lt;br /&gt;
The lines that are drawn can be labeled.&lt;br /&gt;
&lt;br /&gt;
$$ \picture(200){(10,0){\line(150,150)}(0,130){\line(180,-180)}&lt;br /&gt;
(0,10){A}(0,135){B}(140,0){C}(140,150){D}(62,80){X}} $$ &lt;br /&gt;
&lt;br /&gt;
To produce another image.&lt;br /&gt;
| [[Image:cfmimetex32.gif|right]]&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;3&amp;quot; style=&amp;quot;text-align: center;&amp;quot;| To which you may want to ask the question: &lt;br /&gt;
$$The \ \angle \ of \ AXB \ is \ 72\textdegree. \ What \ is \ the \ value \ of \ \angle BXD? $$&lt;br /&gt;
 [[Image: cfmimetex32a.gif|center]] &lt;br /&gt;
&lt;br /&gt;
NOTE: Labeling this image, above-right, turned out to be fairly simple. Offsetting points by a few pixels at the start or end points of the lines proved a successful strategy. The X point proved a little more problematic, and took a number of adjustments before getting it right. Experience here will help.&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;| With labels the drawing can become a little more like your traditional geometric drawing, but the devil is in the details. The parallel markers need to be placed properly, and that is where experience really comes into it. On lines that are vertical or horizontal, you can get away with using the &amp;gt; or &amp;lt; directly from the keyboard, or the &amp;lt;math&amp;gt;\gg&amp;lt;/math&amp;gt;  or &amp;lt;math&amp;gt;\ll&amp;lt;/math&amp;gt;  symbols. In either case, you need to position them properly.&lt;br /&gt;
&lt;br /&gt;
The code:&lt;br /&gt;
$$\picture(200){(15,45){\line(170,0)} (15,30){c}(170,28){d}(15,160){\line(170,0)}(15,145){e}(180,143){f}(50,20){\line(110,175)}(58,20){a}(140,185){b}(42,32){\kappa}(53,48){\beta}&lt;br /&gt;
(150,165){\kappa}&lt;br /&gt;
(90,38){\gg}(80,153){\gg}&lt;br /&gt;
}$$&lt;br /&gt;
| [[Image:line10.gif|right]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Lines and Arcs==&lt;br /&gt;
&lt;br /&gt;
Combining lines and arcs is a serious challenge actually, on a number of levels. For example lets take an arc from the first page on circles.&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: cfmimetex21a.gif|left]]&lt;br /&gt;
| Fairly innocuous of itself, but when we start to add in elements, it changes dramatically.&lt;br /&gt;
&lt;br /&gt;
$$ \circle(120;90,180) $$&lt;br /&gt;
|-&lt;br /&gt;
| [[Image: line12.gif|left]]&lt;br /&gt;
| $$\picture(150){(75,75){\circle(120;90,180)}(75,75){\line(-70,0)}(75,75){\line(0,75)}} $$&lt;br /&gt;
All elements in this drawing start in the same place. Each is layered, and properly placed on the canvas, and using the same co-ord to start makes it easy to control them. No matter the size of the arc, intersecting lines can all be drawn using the centre co-ords of the arc. &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Triangles == &lt;br /&gt;
&lt;br /&gt;
Of all the drawing objects, it is actually triangles that present the most challenge. For example:&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:line13.gif|left]]&lt;br /&gt;
$$\picture(350){(10,10){\line(0,320)}(10,330){\line(330,0)}(10,10){\line(330,320)}}$$&lt;br /&gt;
|This is a simple triangle, one that allows us to establish a simple set of rules for the sides. The vertical always has an x=0 co-ord and the horizontal always has a y=0 co-ord.&lt;br /&gt;
&lt;br /&gt;
In this case with an x value of 330 on the horizontal, and a y value of 320 on the vertical, the hypotenuse should then have a value of x=340, and the y=330, but not so, they actually have an x=330 and a y=320.&lt;br /&gt;
&lt;br /&gt;
There is no need to add the starting point co-ords to the x and y values of the line.&lt;br /&gt;
| [[Image:line14.gif|right]]&lt;br /&gt;
$$picture(350){(10,10){\line(330,0)}(340,10){\line(0,320)}(340,330){\line(-330,-320)}}$$ &lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This triangle has been developed for a Trigonometry page - but the additional notation should provide insight into how you can use it. &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:line16.gif|left]]&lt;br /&gt;
| This is a labeled image, but it has an \fbox in it with its little line. With some effort, it could be replaced with two intersecting short lines.&lt;br /&gt;
$$\picture(350,150){(25,25){\line(300,0)}(325,25){\line(0,110)}(25,25){\line(300,110)}(309,25){\fbox{\line(5,5)}}&lt;br /&gt;
(307,98){\theta}(135,75){\beta}(150,5){\alpha}(335,75){\epsilon}}$$ &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| The triangle shows like: &lt;br /&gt;
[[Image:trig01.gif|left]]&lt;br /&gt;
|We use the different elements of the triangle to identify those things we need to know about a right-angled triangle. &lt;br /&gt;
&lt;br /&gt;
The hypotenuse is always the side that is opposite the right angle. The longest side is always the Hypotenuse. &lt;br /&gt;
&lt;br /&gt;
To identify the other elements of the triangle we look for the sign &amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;\Theta&amp;lt;/math&amp;gt; is the starting point for naming the other sides. &lt;br /&gt;
&lt;br /&gt;
The side that is opposite &amp;lt;math&amp;gt;\angle \theta&amp;lt;/math&amp;gt; is known as the Opposite. &lt;br /&gt;
&lt;br /&gt;
The side that lies alongside &amp;lt;math&amp;gt;\angle \theta&amp;lt;/math&amp;gt; is known as the Adjacent side. &lt;br /&gt;
&lt;br /&gt;
To determine which is which, draw a line that bisects &amp;lt;math&amp;gt;\angle \theta&amp;lt;/math&amp;gt; and whatever line it crosses is the Opposite side. &lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;| The code:&lt;br /&gt;
$$ \picture(350,250){(25,25){\line(300,0)}(25,25){\line(0,220)}(25,245){\line(300,-220)}(310,25){\circle(100;135,180)}(20,100){\line(310,-75)} (25,25){\fbox{\line(5,5)}}(25,25){\line(150,150)}(165,140){Hypotenuse}(120,2){Adjacent}(2,80){\rotatebox{90}{Opposite}}(270,40){\theta}}$$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Matrices=&lt;br /&gt;
A Matrix is a rectangular array of numbers arranged in rows and columns which can be used to organize numeric information. Matrices can be used to predict trends and outcomes in real situations - i.e. polling.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==A Matrix==&lt;br /&gt;
A matrix can be written and displayed like [[Image: matrices03.gif|A matrix]]&lt;br /&gt;
&lt;br /&gt;
In this case the matrix is constructed using the brackets before creating the array:&lt;br /&gt;
  $$ M = \left[\begin{array}{ccc} a&amp;amp;b&amp;amp;1 \ c&amp;amp;d&amp;amp;2 \ e&amp;amp;f&amp;amp;3\end{array}\right] $$&lt;br /&gt;
The internal structure of the array is generated by the &amp;amp;, ampersand, and the double backslash.&lt;br /&gt;
&lt;br /&gt;
You can also create a grid for the matrix.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|A dashed line&lt;br /&gt;
|A solid line&lt;br /&gt;
|A mixed line&lt;br /&gt;
|-&lt;br /&gt;
|[[Image: matrices04.gif]] 	&lt;br /&gt;
|[[Image: matrices05.gif]]	&lt;br /&gt;
|[[Image: matrices06.gif]]&lt;br /&gt;
|-&lt;br /&gt;
|$$ M = \left[\begin{array}&#039;&#039;&#039;{c.c.c}&#039;&#039;&#039; a&amp;amp;b&amp;amp;1 \ &#039;&#039;&#039;\hdash&#039;&#039;&#039; c&amp;amp;d&amp;amp;2 \ &#039;&#039;&#039;\hdash&#039;&#039;&#039; e&amp;amp;f&amp;amp;3\end{array}\right] $$ 	&lt;br /&gt;
|$$ M = \left[\begin{array}&#039;&#039;&#039;{c|c|c}&#039;&#039;&#039; a&amp;amp;b&amp;amp;1 \ &#039;&#039;&#039;\hline&#039;&#039;&#039; c&amp;amp;d&amp;amp;2 \ &#039;&#039;&#039;\hline&#039;&#039;&#039; e&amp;amp;f&amp;amp;3\end{array}\right] $$ 	&lt;br /&gt;
|$$ M = \left[\begin{array}&#039;&#039;&#039;{c.c|c}&#039;&#039;&#039; a&amp;amp;b&amp;amp;1 \ &#039;&#039;&#039;\hline&#039;&#039;&#039; c&amp;amp;d&amp;amp;2 \ &#039;&#039;&#039;\hdash&#039;&#039;&#039; e&amp;amp;f&amp;amp;3\end{array}\right] $$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The command sequences here are the {c|c.c} and \hdash and \hline. The pipe, |, and the full stop determine the line type for the vertical line.&lt;br /&gt;
&lt;br /&gt;
Matrices also respond to other TeX Notation commands such as size and colour.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Colour&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;|Size&lt;br /&gt;
|-&lt;br /&gt;
|[[Image: matrices07.gif]] 	&lt;br /&gt;
|[[Image: matrices08.gif]]&lt;br /&gt;
|[[Image: matrices09.gif]]&lt;br /&gt;
|-&lt;br /&gt;
|$$ &#039;&#039;&#039;\blue&#039;&#039;&#039; M = \left[\begin{array}{c.c.c} a&amp;amp;b&amp;amp;1 \ \hdash c&amp;amp;d&amp;amp;2 \ \hdash e&amp;amp;f&amp;amp;3\end{array}\right] $$ 	&lt;br /&gt;
|$$ &#039;&#039;&#039;\fs7&#039;&#039;&#039; M = \left[\begin{array}{c.c.c} a&amp;amp;b&amp;amp;1 \ \hdash c&amp;amp;d&amp;amp;2 \ \hdash e&amp;amp;f&amp;amp;3\end{array}\right] $$ 	&lt;br /&gt;
|$$ &#039;&#039;&#039;\fs2&#039;&#039;&#039; M = \left[\begin{array}{c.c.c} a&amp;amp;b&amp;amp;1 \ \hdash c&amp;amp;d&amp;amp;2 \ \hdash e&amp;amp;f&amp;amp;3\end{array}\right] $$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Creating equal and unequal matrices==&lt;br /&gt;
Equal and unequal matrices are simply matrices that either share or not share the same number of rows and columns. To be more precise, equal matrices share the same order and each element in the corresponding positions are equal. Anything else is unequal matrices.&lt;br /&gt;
&lt;br /&gt;
Actually equal and unequal matrices are constructed along similar lines, but have different shapes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Equal Matrix&lt;br /&gt;
|An unequal matrix&lt;br /&gt;
|-&lt;br /&gt;
|[[Image: matrices10.gif]] 	&lt;br /&gt;
|[[Image: matrices11.gif]]&lt;br /&gt;
|-&lt;br /&gt;
| $$ \left[\begin{array} a&amp;amp;b&amp;amp;1 \ c&amp;amp;d&amp;amp;2 \ e&amp;amp;f&amp;amp;3\end{array}\right] \ = \ \left[\begin{array} 12&amp;amp;11&amp;amp;z \ 10&amp;amp;9&amp;amp;y \ 8&amp;amp;7&amp;amp;x\end{array}\right] $$&lt;br /&gt;
| $$ \left[\begin{array} a&amp;amp;b \ c&amp;amp;d \ e&amp;amp;f \end{array}\right] \ \neq \ \left[\begin{array} 12&amp;amp;11&amp;amp;z \ 10&amp;amp;9&amp;amp;y \ 8&amp;amp;7&amp;amp;x\end{array}\right] $$&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Labeling a Matrix==&lt;br /&gt;
&lt;br /&gt;
Addition and subtraction matrices are similar again, but the presentation is usually very different. The problem comes when trying to mix labels into arrays. The lack of sophistication in the TeX Notation plays against it here.&lt;br /&gt;
&lt;br /&gt;
Moodle allows an easy adoption of tables to make it work though. For example:&lt;br /&gt;
&lt;br /&gt;
  Bill the baker supplies three shops, A, B and C with pies, pasties and sausage rolls. &lt;br /&gt;
  He is expected to determine the stock levels of those three shops in his estimation of supplies.&lt;br /&gt;
&lt;br /&gt;
It is better to use the Moodle Fullscreen editor for this, to have a better idea of how the end product will look and to take advantage of the additional tools available. Design decisions need occupy our attention for a while. We need a table of five rows and four columns. The first row is a header row, so the label is centred. The next row needs four columns, a blank cell to start and labels A, B and C. The next three rows are divided into two columns, with the labels, pies, pasties and sausage rolls in each row of the first column and the matrix resides in a merged set of columns there. So first the table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| Insert Table - initial properties&lt;br /&gt;
| Merge Cells Button&lt;br /&gt;
| Advanced Properties&lt;br /&gt;
|-&lt;br /&gt;
|  rowspan=&amp;quot;2&amp;quot;|[[Image: matricestable01.png|Table properties]]&lt;br /&gt;
| [[Image: matricestable02.png | Merge cells]]&lt;br /&gt;
| [[Image: matricestable03.png | Cell properties button]]&lt;br /&gt;
|-&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot;| You may need to look into the Advanced properties setting of the tables and cells to make this work.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the immediate result: &lt;br /&gt;
&lt;br /&gt;
[[Image: matricestable04.png | The resulting table]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
While not a very good look, it can be made better by tweaking the table using the advanced settings and properties buttons and then you can tweak the matrix itself.&lt;br /&gt;
&lt;br /&gt;
==Tweaking the Matrix==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image: matricestable05a.png | A tweaked matrix]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Things are not always as they seem, be aware, the &amp;quot;c&amp;quot; does not stand for &amp;quot;column&amp;quot;, it actually stands for &amp;quot;centre&amp;quot;. The columns are aligned by the letters l, for left, c for centre and r for right.&lt;br /&gt;
&lt;br /&gt;
Each column is spread across 50 pixels, so the value of 50 is entered into the alignment declaration. The plus sign before the value is used to &amp;quot;propogate&amp;quot; or to force the value across the whole matrix, but is not used when wanting to separate only one column. &lt;br /&gt;
&lt;br /&gt;
To set the rows is a little more problematic. The capital letter C sets the vertical alignment to the centre, (B is for baseline, but that does not guarantee that the numbers will appear on the base line, and there does not appear to be any third value). The plus sign and following value sets the height of all rows to the number given. In this I have given it a value of 25 pixels for the entire matrix. If there were four or five rows, the same height requirement is made. &lt;br /&gt;
&lt;br /&gt;
The order things appear is also important. If you change the order of these settings, they will either not work at all, or will not render as you expect them to. If something does not work properly, then check to make sure you have the right order first.&lt;br /&gt;
&lt;br /&gt;
==An Addition Matrix==&lt;br /&gt;
&lt;br /&gt;
The rule for performing operations on matrices is that they must be equal matrices. For example, addition matrices look like:&lt;br /&gt;
&lt;br /&gt;
[[Image: matricestable06.png | An addition matrix]]&lt;br /&gt;
&lt;br /&gt;
with the results obvious. The code is:&lt;br /&gt;
&lt;br /&gt;
  $$\left[\begin{array}{c+50C+25.c.c}&lt;br /&gt;
  11&amp;amp;14&amp;amp;12 \ \hdash16&amp;amp;12&amp;amp;22 \ \hdash 14&amp;amp;17&amp;amp;15&lt;br /&gt;
  \end{array}\right] + \left[\begin{array}{c+50C+25.c.c}&lt;br /&gt;
  60&amp;amp;60&amp;amp;60 \ \hdash 40&amp;amp;40&amp;amp;30 \ \hdash 30&amp;amp;30&amp;amp;30&lt;br /&gt;
  \end{array}\right] $$&lt;br /&gt;
&lt;br /&gt;
==A Subtraction Matrix==&lt;br /&gt;
&lt;br /&gt;
Similar to an addition matrix in its construction, the subtraction matrix is subject to the same rules of equality.&lt;br /&gt;
&lt;br /&gt;
Using the same essential data, we can calculate the daily sales of each of the shops.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image: matricestable07.png | A subtraction matrix]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The code is:&lt;br /&gt;
  $$ \left[\begin{array}{c+50C+25.c.c}&lt;br /&gt;
  72&amp;amp;95&amp;amp;68 \ \hdash 54&amp;amp;61&amp;amp;65 \ \hdash 48&amp;amp;51&amp;amp;60&lt;br /&gt;
  \end{array}\right] - \left[\begin{array}{c+50C+25.c.c}&lt;br /&gt;
  11&amp;amp;14&amp;amp;12 \ \hdash 16&amp;amp;12&amp;amp;22 \ \hdash 14&amp;amp;17&amp;amp;15&lt;br /&gt;
  \end{array}\right] = \left[\begin{array}{c+50C+25.c.c}&lt;br /&gt;
  61&amp;amp;81&amp;amp;56 \ \hdash 38&amp;amp;49&amp;amp;43 \ \hdash 34&amp;amp;34&amp;amp;48&lt;br /&gt;
  \end{array}\right] $$  &lt;br /&gt;
&lt;br /&gt;
This code looks more complex than it really is, it is cluttered by the lines and alignment sequences.&lt;br /&gt;
&lt;br /&gt;
==Multiplication Matrices==&lt;br /&gt;
&lt;br /&gt;
Different than the addition or subtraction matrices, the multiplication matrix comes in three parts, the row matrix, the column matrix and the answer matrix. This implies it has a different construction methodology.&lt;br /&gt;
&lt;br /&gt;
[[Image: matrices16.gif | A multiplication matrix]]&lt;br /&gt;
&lt;br /&gt;
And the code for this is: &lt;br /&gt;
  $$ \begin{array} 10&amp;amp;amp;14&amp;amp;amp;16\end{array} \ &lt;br /&gt;
  \left[\begin{array} 45 \\ 61 \\ 19 \end{array}\right] &lt;br /&gt;
  \ = \ \begin{array} 450&amp;amp;amp;854&amp;amp;amp;304\end{array} $$&lt;br /&gt;
&lt;br /&gt;
While different, it is not necessarily more complex. For example a problem like:&lt;br /&gt;
&lt;br /&gt;
  Bill the baker is selling his product to Con the cafe owner, who &lt;br /&gt;
  wants to make sure his overall prices are profitable for himself. &lt;br /&gt;
  Con needs to make sure that his average price is providing sufficient &lt;br /&gt;
  profit to be able to keep the cafes open. Con makes his calculations &lt;br /&gt;
  on a weekly basis, comparing cost to sale prices.&lt;br /&gt;
&lt;br /&gt;
With the pies, pasties and sausage rolls in that order he applies them to the cost and sale price columns :&lt;br /&gt;
&lt;br /&gt;
[[Image: matrices17.gif | A multiplication matrix]]&lt;br /&gt;
&lt;br /&gt;
The code for this is: &lt;br /&gt;
  $$\left[\begin{array} 350&amp;amp;amp;310&amp;amp;amp;270 \end{array}\right] \ &lt;br /&gt;
  \left[\begin{array} \$2.10&amp;amp;amp;\$3.60 \ \$2.05&amp;amp;amp;\$3.60 \ \$1.90&amp;amp;amp;\$3.10 \end{array} &lt;br /&gt;
  \right] \ = \ \left[\begin{array} \$735.00&amp;amp;amp;\$1260.00 \ \$635.50&amp;amp;amp;\$1116.00 \ &lt;br /&gt;
  \$513.00&amp;amp;amp;$\837.00 \end{array}\right] $$&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
* [[Mathematics_tools_FAQ]]&lt;br /&gt;
* [[MathJax_filter]] - available in Moodle 2.7 and later&lt;br /&gt;
* [[TeX notation filter]] To turn on the TeX Notation &lt;br /&gt;
* [[DragMath equation editor]]&lt;br /&gt;
* [[Chemistry notation using mhchem]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematics]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121419</id>
		<title>ASCIIMathML</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121419"/>
		<updated>2015-11-19T10:38:01Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* See Also */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;NOTE: With the use of Atto as an editor, MathJax has been included as a standard tool for writing Maths expressions. &amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
Initially developed by Peter Jipsen ( [http://groups.google.com/group/asciimath/web/historical-remarks-about-asciimathml-from-2004?hl=en see his remarks on the history of ASCIIMathML here] ),  ASCIIMathML has become one of the most widely and easily used tools for the expression and display of Mathematics on the web.&lt;br /&gt;
==Features==&lt;br /&gt;
&lt;br /&gt;
==Display Usage==&lt;br /&gt;
===Generally===&lt;br /&gt;
AsciiMathML has been massaged into quite a few formats,  and is presently available in a version 2.0.2 distribution [http://sourceforge.net/project/showfiles.php?group_id=106148 from Sourceforge] which can be quickly installed for Moodle as a javascripted based filter. &lt;br /&gt;
&lt;br /&gt;
However, in exploring various features of AsciiMathML it was discovered that once installed (per the default instructions) the filter did not turn off (There is a Tracker item on this [need to add reference]. It is argued that this behavior may be due to artifacts in the usage of require_js ) and that there were issues with the filter not interacting appropriately with the Moodle quiz and message modules. It is possible that the filter may be made to behave more like a filter if the javascript files are moved and the php files edited to reflect their location.  &lt;br /&gt;
&lt;br /&gt;
For the interim it was determined that asciimathml.js works very well if simply referenced in meta.php, and for those interested in using ASCIIMathML, it is suggested that a reference to it be placed in the appropriate theme and that a &amp;quot;common&amp;quot; location for the distribution files be identified ([https://docs.moodle.org/en/ASCIIMathML#Invoking_Via_meta.php see below]}&lt;br /&gt;
&lt;br /&gt;
Additionally,  a php version of ASCIIMathML has been developed by Steve Chan.  Depending on usage, using the php version may or may not require the concurrent usage of an additional javascript file (arguably, if the web application displays XHTML, which Moodle does, the additional javascript file is not necessary.)&lt;br /&gt;
&lt;br /&gt;
Stemming from an initial joint project with Peter Jipsen, David Lippman has also maintained a version of ASCIIMathML.js that provides fallback to a TeX interpreter such as mimetex.  This can be important because ASCIIMathML requires that a) the browser used supports MathML (A W3C standard that Safari, for example does not support) and b) that adequate Math fonts are available to the browser (see note below about obtaining and installing fonts).&lt;br /&gt;
&lt;br /&gt;
As part of extending the fallback option to make ASCIIMathML usage more transparent for usage on Moodle, a Moodle version will be available.&lt;br /&gt;
===Display via MathJax===&lt;br /&gt;
Thanks to David Lippman you can now parse ASCIIMathML for display using MathJax.  The configuration information can be found at http://www.mathjax.org/docs/2.0/options/asciimath2jax.html#configure-asciimath2jax . This implementation does not include ASCIISVG.&lt;br /&gt;
&lt;br /&gt;
===Display via SEE===&lt;br /&gt;
The Super Equation Editor (See Advanced Math Tools) provides a variety of tools to manage display of ASCIIMathML&lt;br /&gt;
===Installation and Display via meta.php===&lt;br /&gt;
&#039;&#039;&#039;WARNING!!! With the devellopment of separate docs for ech Moodle versin it is likely that much of this section WON&#039;T work with Moodle 2,  though the same concept can be implemented in Moodle 2.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because of all the discussion regarding asciimathml and possible conflicts and fallback options please consider installing as follows pending the adoption of Moodle 2.0 and such integrations with tinyMCE as may be provided at that time.&lt;br /&gt;
&lt;br /&gt;
From the sourceforge link above obtain the asciimath files. Place the asciimath folder in /lib so that you now have /lib/asciimath (the folder location has moved a bit over time, but I am recommending this change from placing the folder at /lib/editor/common/asciimath so as to be more consistent with other usage - [[User:Marc Grober|Marc Grober]] 18:54, 1 July 2009 (UTC)) DO NOT place it with other filters in /lib/filter as it appears to continue to work whether it is turned on or not.  If you are interested in fallback, you may copy  [http://moodle.org/file.php/5/moddata/forum/130/483519/ASCIIMathML2wMnGFallback.zip this file] to the asciimath folder and, backing up your original asciimathml.js file, replace it with this one, changing the references inside it to you local mimetex or mathtran server.&lt;br /&gt;
&lt;br /&gt;
Now edit your meta.php to point to the new location. You will have a meta.php in your theme&#039;s directory and it will look something like the code below.... Note the inclusion of the two script stanzas. Just make sure the second points to the correct directory.&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 _editor_skin = &amp;quot;xp-blue&amp;quot;; // If you want use a skin, add the name (of the folder) here&lt;br /&gt;
 _editor_lang = &amp;quot;en&amp;quot;; // And the language we need to use in the editor.&lt;br /&gt;
 var mathcolor = &amp;quot;black&amp;quot;; // You may change the color the formulae are displayed (default: red)&lt;br /&gt;
 var mathfontfamily = &amp;quot;Arial&amp;quot;; //and the font (default: serif, which is good I think)&lt;br /&gt;
 &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpswwwroot ?&amp;gt;/lib/asciimath/ASCIIMathML.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 7]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie7.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 6]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie6.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt; &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now don&#039;t forget to [http://www.mozilla.org/projects/mathml/fonts/ install the STIX fonts].&lt;br /&gt;
&lt;br /&gt;
==ASCIISVG==&lt;br /&gt;
&lt;br /&gt;
==Discussion==&lt;br /&gt;
Peter Jipsen created a google groups site [http://groups.google.com/group/asciimath?hl=en here] &amp;quot;for discussing issues and proposing additions to the JavaScript program ASCIIMathML.js that enables users to easily display mathematics and graphs (using MathML and SVG) on web pages or in blogs and wikis. Suggestions are welcome (see www.chapman.edu/~jipsen/asciimath.html for more). &amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
===Failure to display some tex===&lt;br /&gt;
ASCIIMathML was intended to provide a quick and easy alternative to use and display of the text syntax employed by (la)tex. WHile it does this well, when it comes to the incremental features of either parsing and displaying tex text expressions,  or if using fallback,  converting asciimathml text expression to tex, there are occasions upon which the results of problematic.  Most often, this can be resolved through using an alternative text expression that parses to the same results,  and there is discussion in the Math Tools forum on such usage. Additionally, there is continuing research and effort in trying to provide a quick, easy, and seamless way to write and display math online. &lt;br /&gt;
===Font usage generally===&lt;br /&gt;
While Firefox does do MathML, the results are problematic without appropriate fonts.  Initially the MIT fonts were recommended while Mozilla now recommends the STIX beta fonts.  There has been some continuing discussion on whether Firefox should bundle such fonts, but at present you will have to download and install fonts separately.  This is very easy to do and there are &amp;quot;how to&amp;quot;s to assist you.&lt;br /&gt;
===Specific font issues===&lt;br /&gt;
Discussion in the Assciimathml google group continues to yield &amp;quot;fixes&amp;quot; for specific font issues as possible, though some issues may reside in the browser.  We hope that by the time Moodle 2 is released with tinyMCE an asciimathml version with falabck that addresses most known font issues will be available here&lt;br /&gt;
===Fallback===&lt;br /&gt;
David Lippman developed a fallback script (a version is offered above) that invokes mimetex or mathtran if for some reason the script determines that the current browser can&#039;t display MathML.  Versions have been passed about that provide session cookies so that warnings are provided once, that do away with any warnings, etc. At some point a full set of versins with explanations may be available,  or perhaps a script with specific internal configuration instructions.  In the meantime, if you have any questions post them to the Math Tools forum and we will try to answer them as quickly as possible&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===See Also=== &lt;br /&gt;
*[[Mathematics_tools_FAQ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:ASCIIMathML]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121418</id>
		<title>ASCIIMathML</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121418"/>
		<updated>2015-11-19T10:34:55Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* Fallback */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;NOTE: With the use of Atto as an editor, MathJax has been included as a standard tool for writing Maths expressions. &amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
Initially developed by Peter Jipsen ( [http://groups.google.com/group/asciimath/web/historical-remarks-about-asciimathml-from-2004?hl=en see his remarks on the history of ASCIIMathML here] ),  ASCIIMathML has become one of the most widely and easily used tools for the expression and display of Mathematics on the web.&lt;br /&gt;
==Features==&lt;br /&gt;
&lt;br /&gt;
==Display Usage==&lt;br /&gt;
===Generally===&lt;br /&gt;
AsciiMathML has been massaged into quite a few formats,  and is presently available in a version 2.0.2 distribution [http://sourceforge.net/project/showfiles.php?group_id=106148 from Sourceforge] which can be quickly installed for Moodle as a javascripted based filter. &lt;br /&gt;
&lt;br /&gt;
However, in exploring various features of AsciiMathML it was discovered that once installed (per the default instructions) the filter did not turn off (There is a Tracker item on this [need to add reference]. It is argued that this behavior may be due to artifacts in the usage of require_js ) and that there were issues with the filter not interacting appropriately with the Moodle quiz and message modules. It is possible that the filter may be made to behave more like a filter if the javascript files are moved and the php files edited to reflect their location.  &lt;br /&gt;
&lt;br /&gt;
For the interim it was determined that asciimathml.js works very well if simply referenced in meta.php, and for those interested in using ASCIIMathML, it is suggested that a reference to it be placed in the appropriate theme and that a &amp;quot;common&amp;quot; location for the distribution files be identified ([https://docs.moodle.org/en/ASCIIMathML#Invoking_Via_meta.php see below]}&lt;br /&gt;
&lt;br /&gt;
Additionally,  a php version of ASCIIMathML has been developed by Steve Chan.  Depending on usage, using the php version may or may not require the concurrent usage of an additional javascript file (arguably, if the web application displays XHTML, which Moodle does, the additional javascript file is not necessary.)&lt;br /&gt;
&lt;br /&gt;
Stemming from an initial joint project with Peter Jipsen, David Lippman has also maintained a version of ASCIIMathML.js that provides fallback to a TeX interpreter such as mimetex.  This can be important because ASCIIMathML requires that a) the browser used supports MathML (A W3C standard that Safari, for example does not support) and b) that adequate Math fonts are available to the browser (see note below about obtaining and installing fonts).&lt;br /&gt;
&lt;br /&gt;
As part of extending the fallback option to make ASCIIMathML usage more transparent for usage on Moodle, a Moodle version will be available.&lt;br /&gt;
===Display via MathJax===&lt;br /&gt;
Thanks to David Lippman you can now parse ASCIIMathML for display using MathJax.  The configuration information can be found at http://www.mathjax.org/docs/2.0/options/asciimath2jax.html#configure-asciimath2jax . This implementation does not include ASCIISVG.&lt;br /&gt;
&lt;br /&gt;
===Display via SEE===&lt;br /&gt;
The Super Equation Editor (See Advanced Math Tools) provides a variety of tools to manage display of ASCIIMathML&lt;br /&gt;
===Installation and Display via meta.php===&lt;br /&gt;
&#039;&#039;&#039;WARNING!!! With the devellopment of separate docs for ech Moodle versin it is likely that much of this section WON&#039;T work with Moodle 2,  though the same concept can be implemented in Moodle 2.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because of all the discussion regarding asciimathml and possible conflicts and fallback options please consider installing as follows pending the adoption of Moodle 2.0 and such integrations with tinyMCE as may be provided at that time.&lt;br /&gt;
&lt;br /&gt;
From the sourceforge link above obtain the asciimath files. Place the asciimath folder in /lib so that you now have /lib/asciimath (the folder location has moved a bit over time, but I am recommending this change from placing the folder at /lib/editor/common/asciimath so as to be more consistent with other usage - [[User:Marc Grober|Marc Grober]] 18:54, 1 July 2009 (UTC)) DO NOT place it with other filters in /lib/filter as it appears to continue to work whether it is turned on or not.  If you are interested in fallback, you may copy  [http://moodle.org/file.php/5/moddata/forum/130/483519/ASCIIMathML2wMnGFallback.zip this file] to the asciimath folder and, backing up your original asciimathml.js file, replace it with this one, changing the references inside it to you local mimetex or mathtran server.&lt;br /&gt;
&lt;br /&gt;
Now edit your meta.php to point to the new location. You will have a meta.php in your theme&#039;s directory and it will look something like the code below.... Note the inclusion of the two script stanzas. Just make sure the second points to the correct directory.&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 _editor_skin = &amp;quot;xp-blue&amp;quot;; // If you want use a skin, add the name (of the folder) here&lt;br /&gt;
 _editor_lang = &amp;quot;en&amp;quot;; // And the language we need to use in the editor.&lt;br /&gt;
 var mathcolor = &amp;quot;black&amp;quot;; // You may change the color the formulae are displayed (default: red)&lt;br /&gt;
 var mathfontfamily = &amp;quot;Arial&amp;quot;; //and the font (default: serif, which is good I think)&lt;br /&gt;
 &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpswwwroot ?&amp;gt;/lib/asciimath/ASCIIMathML.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 7]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie7.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 6]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie6.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt; &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now don&#039;t forget to [http://www.mozilla.org/projects/mathml/fonts/ install the STIX fonts].&lt;br /&gt;
&lt;br /&gt;
==ASCIISVG==&lt;br /&gt;
&lt;br /&gt;
==Discussion==&lt;br /&gt;
Peter Jipsen created a google groups site [http://groups.google.com/group/asciimath?hl=en here] &amp;quot;for discussing issues and proposing additions to the JavaScript program ASCIIMathML.js that enables users to easily display mathematics and graphs (using MathML and SVG) on web pages or in blogs and wikis. Suggestions are welcome (see www.chapman.edu/~jipsen/asciimath.html for more). &amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
===Failure to display some tex===&lt;br /&gt;
ASCIIMathML was intended to provide a quick and easy alternative to use and display of the text syntax employed by (la)tex. WHile it does this well, when it comes to the incremental features of either parsing and displaying tex text expressions,  or if using fallback,  converting asciimathml text expression to tex, there are occasions upon which the results of problematic.  Most often, this can be resolved through using an alternative text expression that parses to the same results,  and there is discussion in the Math Tools forum on such usage. Additionally, there is continuing research and effort in trying to provide a quick, easy, and seamless way to write and display math online. &lt;br /&gt;
===Font usage generally===&lt;br /&gt;
While Firefox does do MathML, the results are problematic without appropriate fonts.  Initially the MIT fonts were recommended while Mozilla now recommends the STIX beta fonts.  There has been some continuing discussion on whether Firefox should bundle such fonts, but at present you will have to download and install fonts separately.  This is very easy to do and there are &amp;quot;how to&amp;quot;s to assist you.&lt;br /&gt;
===Specific font issues===&lt;br /&gt;
Discussion in the Assciimathml google group continues to yield &amp;quot;fixes&amp;quot; for specific font issues as possible, though some issues may reside in the browser.  We hope that by the time Moodle 2 is released with tinyMCE an asciimathml version with falabck that addresses most known font issues will be available here&lt;br /&gt;
===Fallback===&lt;br /&gt;
David Lippman developed a fallback script (a version is offered above) that invokes mimetex or mathtran if for some reason the script determines that the current browser can&#039;t display MathML.  Versions have been passed about that provide session cookies so that warnings are provided once, that do away with any warnings, etc. At some point a full set of versins with explanations may be available,  or perhaps a script with specific internal configuration instructions.  In the meantime, if you have any questions post them to the Math Tools forum and we will try to answer them as quickly as possible&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===See Also=== &lt;br /&gt;
*[[Advanced_Maths_Tools]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:ASCIIMathML]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121417</id>
		<title>ASCIIMathML</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=ASCIIMathML&amp;diff=121417"/>
		<updated>2015-11-19T10:33:11Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;NOTE: With the use of Atto as an editor, MathJax has been included as a standard tool for writing Maths expressions. &amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
Initially developed by Peter Jipsen ( [http://groups.google.com/group/asciimath/web/historical-remarks-about-asciimathml-from-2004?hl=en see his remarks on the history of ASCIIMathML here] ),  ASCIIMathML has become one of the most widely and easily used tools for the expression and display of Mathematics on the web.&lt;br /&gt;
==Features==&lt;br /&gt;
&lt;br /&gt;
==Display Usage==&lt;br /&gt;
===Generally===&lt;br /&gt;
AsciiMathML has been massaged into quite a few formats,  and is presently available in a version 2.0.2 distribution [http://sourceforge.net/project/showfiles.php?group_id=106148 from Sourceforge] which can be quickly installed for Moodle as a javascripted based filter. &lt;br /&gt;
&lt;br /&gt;
However, in exploring various features of AsciiMathML it was discovered that once installed (per the default instructions) the filter did not turn off (There is a Tracker item on this [need to add reference]. It is argued that this behavior may be due to artifacts in the usage of require_js ) and that there were issues with the filter not interacting appropriately with the Moodle quiz and message modules. It is possible that the filter may be made to behave more like a filter if the javascript files are moved and the php files edited to reflect their location.  &lt;br /&gt;
&lt;br /&gt;
For the interim it was determined that asciimathml.js works very well if simply referenced in meta.php, and for those interested in using ASCIIMathML, it is suggested that a reference to it be placed in the appropriate theme and that a &amp;quot;common&amp;quot; location for the distribution files be identified ([https://docs.moodle.org/en/ASCIIMathML#Invoking_Via_meta.php see below]}&lt;br /&gt;
&lt;br /&gt;
Additionally,  a php version of ASCIIMathML has been developed by Steve Chan.  Depending on usage, using the php version may or may not require the concurrent usage of an additional javascript file (arguably, if the web application displays XHTML, which Moodle does, the additional javascript file is not necessary.)&lt;br /&gt;
&lt;br /&gt;
Stemming from an initial joint project with Peter Jipsen, David Lippman has also maintained a version of ASCIIMathML.js that provides fallback to a TeX interpreter such as mimetex.  This can be important because ASCIIMathML requires that a) the browser used supports MathML (A W3C standard that Safari, for example does not support) and b) that adequate Math fonts are available to the browser (see note below about obtaining and installing fonts).&lt;br /&gt;
&lt;br /&gt;
As part of extending the fallback option to make ASCIIMathML usage more transparent for usage on Moodle, a Moodle version will be available.&lt;br /&gt;
===Display via MathJax===&lt;br /&gt;
Thanks to David Lippman you can now parse ASCIIMathML for display using MathJax.  The configuration information can be found at http://www.mathjax.org/docs/2.0/options/asciimath2jax.html#configure-asciimath2jax . This implementation does not include ASCIISVG.&lt;br /&gt;
&lt;br /&gt;
===Display via SEE===&lt;br /&gt;
The Super Equation Editor (See Advanced Math Tools) provides a variety of tools to manage display of ASCIIMathML&lt;br /&gt;
===Installation and Display via meta.php===&lt;br /&gt;
&#039;&#039;&#039;WARNING!!! With the devellopment of separate docs for ech Moodle versin it is likely that much of this section WON&#039;T work with Moodle 2,  though the same concept can be implemented in Moodle 2.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Because of all the discussion regarding asciimathml and possible conflicts and fallback options please consider installing as follows pending the adoption of Moodle 2.0 and such integrations with tinyMCE as may be provided at that time.&lt;br /&gt;
&lt;br /&gt;
From the sourceforge link above obtain the asciimath files. Place the asciimath folder in /lib so that you now have /lib/asciimath (the folder location has moved a bit over time, but I am recommending this change from placing the folder at /lib/editor/common/asciimath so as to be more consistent with other usage - [[User:Marc Grober|Marc Grober]] 18:54, 1 July 2009 (UTC)) DO NOT place it with other filters in /lib/filter as it appears to continue to work whether it is turned on or not.  If you are interested in fallback, you may copy  [http://moodle.org/file.php/5/moddata/forum/130/483519/ASCIIMathML2wMnGFallback.zip this file] to the asciimath folder and, backing up your original asciimathml.js file, replace it with this one, changing the references inside it to you local mimetex or mathtran server.&lt;br /&gt;
&lt;br /&gt;
Now edit your meta.php to point to the new location. You will have a meta.php in your theme&#039;s directory and it will look something like the code below.... Note the inclusion of the two script stanzas. Just make sure the second points to the correct directory.&lt;br /&gt;
&amp;lt;code php&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;
 _editor_skin = &amp;quot;xp-blue&amp;quot;; // If you want use a skin, add the name (of the folder) here&lt;br /&gt;
 _editor_lang = &amp;quot;en&amp;quot;; // And the language we need to use in the editor.&lt;br /&gt;
 var mathcolor = &amp;quot;black&amp;quot;; // You may change the color the formulae are displayed (default: red)&lt;br /&gt;
 var mathfontfamily = &amp;quot;Arial&amp;quot;; //and the font (default: serif, which is good I think)&lt;br /&gt;
 &amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpswwwroot ?&amp;gt;/lib/asciimath/ASCIIMathML.js&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 7]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie7.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt;&lt;br /&gt;
&amp;lt;!--[if IE 6]&amp;gt;&lt;br /&gt;
 &amp;lt;link rel=&amp;quot;stylesheet&amp;quot; type=&amp;quot;text/css&amp;quot; href=&amp;quot;&amp;lt;?php echo $CFG-&amp;gt;httpsthemewww ?&amp;gt;/standard/styles_ie6.css&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;![endif]--&amp;gt; &lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
Now don&#039;t forget to [http://www.mozilla.org/projects/mathml/fonts/ install the STIX fonts].&lt;br /&gt;
&lt;br /&gt;
==ASCIISVG==&lt;br /&gt;
&lt;br /&gt;
==Discussion==&lt;br /&gt;
Peter Jipsen created a google groups site [http://groups.google.com/group/asciimath?hl=en here] &amp;quot;for discussing issues and proposing additions to the JavaScript program ASCIIMathML.js that enables users to easily display mathematics and graphs (using MathML and SVG) on web pages or in blogs and wikis. Suggestions are welcome (see www.chapman.edu/~jipsen/asciimath.html for more). &amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Issues==&lt;br /&gt;
===Failure to display some tex===&lt;br /&gt;
ASCIIMathML was intended to provide a quick and easy alternative to use and display of the text syntax employed by (la)tex. WHile it does this well, when it comes to the incremental features of either parsing and displaying tex text expressions,  or if using fallback,  converting asciimathml text expression to tex, there are occasions upon which the results of problematic.  Most often, this can be resolved through using an alternative text expression that parses to the same results,  and there is discussion in the Math Tools forum on such usage. Additionally, there is continuing research and effort in trying to provide a quick, easy, and seamless way to write and display math online. &lt;br /&gt;
===Font usage generally===&lt;br /&gt;
While Firefox does do MathML, the results are problematic without appropriate fonts.  Initially the MIT fonts were recommended while Mozilla now recommends the STIX beta fonts.  There has been some continuing discussion on whether Firefox should bundle such fonts, but at present you will have to download and install fonts separately.  This is very easy to do and there are &amp;quot;how to&amp;quot;s to assist you.&lt;br /&gt;
===Specific font issues===&lt;br /&gt;
Discussion in the Assciimathml google group continues to yield &amp;quot;fixes&amp;quot; for specific font issues as possible, though some issues may reside in the browser.  We hope that by the time Moodle 2 is released with tinyMCE an asciimathml version with falabck that addresses most known font issues will be available here&lt;br /&gt;
===Fallback===&lt;br /&gt;
David Lippman developed a fallback script (a version is offered above) that invokes mimetex or mathtran if for some reason the script determines that the current browser can&#039;t display MathML.  Versions have been passed about that provide session cookies so that warnings are provided once, that do away with any warnings, etc. At some point a full set of versins with explanations may be available,  or perhaps a script with specific internal configuration instructions.  In the meantime, if you have any questions post them to the Math Tools forum and we will try to answer them as quickly as possible&lt;br /&gt;
&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:ASCIIMathML]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121416</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121416"/>
		<updated>2015-11-19T10:20:14Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* We need to install Latex. Will all our current equations with the $$ tokens still work? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things. With Atto the preferred editor, additional functionality included the MathJax editing dialog box. This allows users to edit Maths Functions easily and quickly without having to use TeX notation. &lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle, aside from the use of MathJax. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]] or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
While LateX, or some version of it, is the preferred tool for many users, it is no longer really needed for creating the essential maths expressions or equations. As Atto is now the preferred editor, part of the development of Atto was devoted to incorporating the MathJax Editor as a core tool. This has made it easy to develop most expressions.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, much the same as html commands use, instead it has only one command, that of &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt; &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121415</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121415"/>
		<updated>2015-11-19T10:06:04Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things. With Atto the preferred editor, additional functionality included the MathJax editing dialog box. This allows users to edit Maths Functions easily and quickly without having to use TeX notation. &lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle, aside from the use of MathJax. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]] or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, much the same as html commands use, instead it has only one command, that of &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt; &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Advanced_Maths_Tools&amp;diff=121414</id>
		<title>Advanced Maths Tools</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Advanced_Maths_Tools&amp;diff=121414"/>
		<updated>2015-11-19T09:59:41Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;UPDATE:&#039;&#039;&#039; Support for the tools discussed below has been dropped with the advent of MathJax as a core tool that can be used in Atto.&amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;NOTE:&#039;&#039;&#039; The tools discussed in these pages are, at this time (August 2011), considered to be &amp;quot;third-party plugins&amp;quot;. They are not core, as yet, and still need to be thoroughly tested under more stringent conditions i.e. by users of all sorts. If interested, please follow the links below and download the package that suits your situation and use it in good faith. Any issues or problems can be discussed in the [http://moodle.org/mod/forum/view.php?id=752 Mathematics Tools Forum]. Be aware that these tools may also undergo major changes as they develop and may be required to do so before they are included as core. Check back here as often as you feel is necessary - updates will be included here when possible &amp;lt;/p&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
In August of 2011, Mauno Korpelainen released his long-awaited Maths integration package, (tongue in cheekily but aptly) named SEE, Super Equation Editor. Mauno successfully integrated a number of Maths tools onto Moodle 2.1. These tools include Geogebra, JSXGraph, Math, MathML, MathTran, tex, DragMath, Geonext, JSQuery, MathJax. Mauno had also included a version of TinyMCE that has, as native, a Maths editing toolbar. The pages that follow are a guide to downloading, installing and using the plugins. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:lightbulb.png]]&lt;br /&gt;
|&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;Tip:&#039;&#039;&#039; It is highly recommended that trialling these tools is best &#039;&#039;&#039;done on a test Moodle, not a production site&#039;&#039;&#039;. Once familiar and happy that there is not going to be too many issues in using them on a production site, they can then be tested more thoroughly by your Site Users.&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;ASSUMPTIONS:&#039;&#039;&#039; Your Moodle is using a script-to-image converter to render TeX. You have activated and configured the [[TeX notation filter]] and have ensured the Algebra Filter has been activated. (As a test, you may want to edit some TeX and check that it renders properly.)&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
At this time, the files are not available from Moodle&#039;s Downloads area, but no doubt they will be soon enough. In the meantime, you can download the files you require from Mauno&#039;s site. &lt;br /&gt;
&lt;br /&gt;
There are two packages, which are both zip files, available from [http://korpelainen.net/mpluga.zip MplugA] and [http://korpelainen.net/mplugb.zip MplugB]. &lt;br /&gt;
&lt;br /&gt;
====MplugA====&lt;br /&gt;
&lt;br /&gt;
At 70MB, MpluA is the larger of the two files, but it contains a lot of files not available in MplugB.  &lt;br /&gt;
 &lt;br /&gt;
====MplugB====&lt;br /&gt;
&lt;br /&gt;
MplugB is 52.4MB in size and contains all the same features are MplugA except it does not include Mathjax. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:How these files are installed to each Moodle is entirely up to the Administrators, but what is suggested here is written mainly for the inexperienced Administrator, for people new to Moodle.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&lt;br /&gt;
The installation of these plugins does not require any core files to be overwritten, but some can be replaced, if considered a desirable outcome. The simplest and easiest way, and maybe the safest or at least most controlled method, is to just copy and paste, via FTP, the various sub-folders to the appropriate folders on your Moodle. &lt;br /&gt;
&lt;br /&gt;
Both zip files contain three folders, &#039;&#039;&#039;filter&#039;&#039;&#039;, &#039;&#039;&#039;lib&#039;&#039;&#039; and &#039;&#039;&#039;theme&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
====filter====  &lt;br /&gt;
&lt;br /&gt;
In the filter folder, there are six sub-folders, each of which can be copied to the moodle/filter folder of your installation. These sub-folders are geogebra, jsxgraph, math, mathml, mathtran and tex.&lt;br /&gt;
&lt;br /&gt;
====lib====&lt;br /&gt;
&lt;br /&gt;
In the lib folder there are also six sub-folders for MplugB, and seven sub-folders for MplugA. Both have sub-folders called common, dragmath, editor, geonext, jsquery, jsxgraph. The MplugA also contains the additional sub-folder of MathJax.&lt;br /&gt;
&lt;br /&gt;
The editor sub-folder contains the tinymath sub-subfolder. &lt;br /&gt;
&lt;br /&gt;
All these sub-folders can be copied to the moodle/lib folder, and if the default HTMLArea and TinyMCE editors are required to be retained, then the TinyMath editor sub-folder can be added to the moodle/lib/editor folder. You may decide to remove the original editors and replace them with the TinyMaths editor. If so, the moodle/lib/editor folder can be deleted and replaced with the plugin&#039;s editor folder. However, this is &#039;&#039;&#039;not&#039;&#039;&#039; a recommended practice. What is used in case of a back stop being required? The Admins can deactivate the defaults and activate the TinyMath editor, retaining the original default editor as an emergency back stop.&lt;br /&gt;
&lt;br /&gt;
====theme====  &lt;br /&gt;
&lt;br /&gt;
Two Moodle 2 themes are included with both packages. One is Mathstandard and the other is called Stylist. These can be unzipped and pasted to the moodle/theme folder and can be used if needed. Like all themes, they may not be to prevailing or local cultural tastes, but they can be modified to suit each Moodle site&#039;s requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
Log into the Moodle and it should open into the Site Administration &amp;gt; Notifications page. Usually when there has been an addition, Moodle will automagically include everything as part of its installed files listing and open the Site Administration &amp;gt; Notifications page. If it does not, then go to the Notifications page and it should automatically bring up what it is changing and updating. &lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05.png|thumb|400px|center|The Notification screen]]&lt;br /&gt;
&lt;br /&gt;
Click the Upgrade button and it should run through it smoothly, taking you back to the Notifications page, which should now contain a minimal amount of information. &lt;br /&gt;
&lt;br /&gt;
From there individual components need to be configured. &lt;br /&gt;
&lt;br /&gt;
====filter====&lt;br /&gt;
The installer will continue with the configuration of the Geogebra package. &lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05a.png|thumb|400px|center|The Geogebra filter installer screen]]&lt;br /&gt;
&lt;br /&gt;
followed by the configuration screen&lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05b.png|thumb|400px|center|The Geogebra filter configuration screen]]&lt;br /&gt;
&lt;br /&gt;
Initially, it is recommended that the default settings be adopted. Having said that, perhaps the workspace is a bit small for a particular environment though, it can be changed either at this point or later, when it suits the Users. If Geogebra is already being used and there is a familiarity with the tool, check the defaults against the full installation, otherwise it is better to leave it until a better understanding of the tools is gained.&lt;br /&gt;
&lt;br /&gt;
There is more configuration required, but we need to leave the Filters and return to the Administration menu. Scroll to the bottom of the page and click the Save button. &lt;br /&gt;
&lt;br /&gt;
====Additional HTML====&lt;br /&gt;
Go to Site Administration &amp;gt; Appearance and you will see a new line: &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:maconfig05c.png|thumb|center|A new item on the menu]]&lt;br /&gt;
|-&lt;br /&gt;
| Click this and enter the Additional HTML configuration page. &lt;br /&gt;
|-&lt;br /&gt;
| [[Image:maconfig05d.png|thumb|400px|center|The Additional HTML editing page]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:maconfig05e.png|thumb|400px|center|The Additional HTML editing page with edit]]&lt;br /&gt;
|-&lt;br /&gt;
| The Additional HTML editing page is a simple and straightforward editing page. it allows you to add some additional HTML into your pages that you may feel is necessary to be consistently present right across your site. Things like logos and such are adequately catered for in [[Themes|themes]], but there are other things that you may feel are not. Make careful consideration before you add much beyond what is required here to get the Maths tools working.&lt;br /&gt;
&lt;br /&gt;
This is not an opportunity to include additional styling commands, that is taken care of in the CSS files of your [[Themes|theme]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The recommended script, originally written by Mauno (change the IP address to suit your server): &lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;link rel=&#039;stylesheet&#039; type=&#039;text/css&#039; href=&#039;http://111.121.101.131/lib/jsxgraph/distrib/jsxgraph.css&#039; media=&#039;screen&#039; /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;http://111.121.101.131/lib/jsxgraph/distrib/jsxgraphcore.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;http://111.121.101.131/lib/jsxgraph/distrib/GeonextReader.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://111.121.101.131/lib/MathJax/MathJax.js&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;MathJax.Hub.Config({&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;config: [&amp;quot;MMLorHTML.js&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;blockquote&amp;gt;&lt;br /&gt;
{|&amp;lt;nowiki&amp;gt;jax: [&amp;quot;input/TeX&amp;quot;,&amp;quot;input/MathML&amp;quot;,&amp;quot;output/HTML-CSS&amp;quot;,&amp;quot;output/NativeMML&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	extensions: [&amp;quot;tex2jax.js&amp;quot;,&amp;quot;mml2jax.js&amp;quot;,&amp;quot;MathMenu.js&amp;quot;,&amp;quot;MathZoom.js&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	tex2jax: {displayMath: [[&#039;@d&#039;,&#039;@d&#039;]],  inlineMath: [[&#039;@i&#039;,&#039;@i&#039;]] },&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;  TeX: {&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;    extensions: [&amp;quot;AMSmath.js&amp;quot;,&amp;quot;AMSsymbols.js&amp;quot;,&amp;quot;noErrors.js&amp;quot;,&amp;quot;noUndefined.js&amp;quot;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt; });&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var AScgiloc = &amp;quot;http://111.121.101.131/lib/common/php/svgimg.php&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var dsvglocation = &amp;quot;http://111.121.101.131/lib/common/&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var AMTcgiloc = &amp;quot;http://111.121.101.131/filter/tex/texviewer.php?action=Mimetex&amp;amp;tex=&amp;quot;;//Primary fallback&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var Gemcgiloc = &amp;quot;http://111.121.101.131/filter/tex/texviewer.php?action=Tex&amp;amp;tex=&amp;quot;;//&amp;quot;Forced fallback&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;http://111.121.101.131/lib/common/AM.php&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a sample of additional HTML that can be added to the head of a document.&lt;br /&gt;
&lt;br /&gt;
Closer examination of the script above reveals that it establishes the links required to the various packages that are used by the TinyMaths editor, which is configured soon. It adds no CSS, but does create the command sequences required to correct for errors in the rendering of the TeX statements derived from the various packages. The characters and TeX macros avaiable are loaded automatically. Some TeX macros are included in one package by default, but not another, e.g. the \therefore, ( &amp;lt;math&amp;gt; \therefore&amp;lt;/math&amp;gt; ), macro does not appear to be included in the DragMath package, but is in the MathJax.&lt;br /&gt;
&lt;br /&gt;
===Setting the Accessibility Options===&lt;br /&gt;
&lt;br /&gt;
You can then go to the Plugins &amp;gt; Filters &amp;gt; Manage Filters menu and click to go to the Manage Filters page. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig07b.png|thumb|400px|center|Setting the accessibility options ]]&lt;br /&gt;
&lt;br /&gt;
In this image, the options have been partly set, the User requires Geogebra, JSXGraph and MathJax. There will be more configuring later, but for now, the TinyMath Editor needs to be activated.&lt;br /&gt;
&lt;br /&gt;
====lib====&lt;br /&gt;
&lt;br /&gt;
The first thing that needs be done here is to set the TinyMaths Editor as the default.&lt;br /&gt;
&lt;br /&gt;
====theme====  &lt;br /&gt;
&lt;br /&gt;
The themes included with this plugin are configured and used in exactly the same way as any theme. Go to the [[Themes]] page for further information.&lt;br /&gt;
&lt;br /&gt;
===Adding the Tinymath Editor===&lt;br /&gt;
&lt;br /&gt;
Installing the Tinymath Editor is not enough, on it own, you have to activate it. Go to the Plugins &amp;gt; Editors &amp;gt; Manage Editors screen. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08a.png|frame|center|Selecting the Manage Editors options ]]&lt;br /&gt;
&lt;br /&gt;
When there you should see something like this: &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08b.png|thumb|400px|center|Setting the default editor ]]&lt;br /&gt;
&lt;br /&gt;
To activate the Tinymath editor, simple click on the closed eye. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08c.png|thumb|400px|center|Activating the Tinymath editor ]]&lt;br /&gt;
&lt;br /&gt;
To then make it the default editor, use the promotion arrows to place it first in the list. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08d.png|thumb|400px|center|Setting the default editor ]] &lt;br /&gt;
&lt;br /&gt;
Tinymath should now be the default editor. To check this, go into a course and open it for editing and add a Resource. When you click on &amp;quot;Page&amp;quot; for example, you should get the Tinymath editor displaying. It looks something like: &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08e.png|thumb|400px|center|Tinymath - the editing toolbar ]] &lt;br /&gt;
&lt;br /&gt;
This essentially finishes the major installation tasks, there may now be some additional configuring that you may want to do, and some of that will be explained in related Docs.&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
* [[Configuring and Using the Timymath Editor]]&lt;br /&gt;
* [[DragMath equation editor]]&lt;br /&gt;
* [[Using TeX Notation]]&lt;br /&gt;
* [[TeX Symbols in SEE]]&lt;br /&gt;
* [[TeX notation filter]] To turn on the TeX Notation &lt;br /&gt;
&lt;br /&gt;
[[Category: Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas avanzadas]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Advanced_Maths_Tools&amp;diff=121413</id>
		<title>Advanced Maths Tools</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Advanced_Maths_Tools&amp;diff=121413"/>
		<updated>2015-11-19T09:59:02Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;UPDATE: Support for the functionality for the tools discussed below has been dropped with the advent of MathJax as a core tool that can be used in Atto.&amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;NOTE:&#039;&#039;&#039; The tools discussed in these pages are, at this time (August 2011), considered to be &amp;quot;third-party plugins&amp;quot;. They are not core, as yet, and still need to be thoroughly tested under more stringent conditions i.e. by users of all sorts. If interested, please follow the links below and download the package that suits your situation and use it in good faith. Any issues or problems can be discussed in the [http://moodle.org/mod/forum/view.php?id=752 Mathematics Tools Forum]. Be aware that these tools may also undergo major changes as they develop and may be required to do so before they are included as core. Check back here as often as you feel is necessary - updates will be included here when possible &amp;lt;/p&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
===Introduction===&lt;br /&gt;
In August of 2011, Mauno Korpelainen released his long-awaited Maths integration package, (tongue in cheekily but aptly) named SEE, Super Equation Editor. Mauno successfully integrated a number of Maths tools onto Moodle 2.1. These tools include Geogebra, JSXGraph, Math, MathML, MathTran, tex, DragMath, Geonext, JSQuery, MathJax. Mauno had also included a version of TinyMCE that has, as native, a Maths editing toolbar. The pages that follow are a guide to downloading, installing and using the plugins. &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|[[Image:lightbulb.png]]&lt;br /&gt;
|&amp;lt;p class=&amp;quot;note&amp;quot;&amp;gt;&#039;&#039;&#039;Tip:&#039;&#039;&#039; It is highly recommended that trialling these tools is best &#039;&#039;&#039;done on a test Moodle, not a production site&#039;&#039;&#039;. Once familiar and happy that there is not going to be too many issues in using them on a production site, they can then be tested more thoroughly by your Site Users.&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;ASSUMPTIONS:&#039;&#039;&#039; Your Moodle is using a script-to-image converter to render TeX. You have activated and configured the [[TeX notation filter]] and have ensured the Algebra Filter has been activated. (As a test, you may want to edit some TeX and check that it renders properly.)&lt;br /&gt;
&lt;br /&gt;
===Download===&lt;br /&gt;
At this time, the files are not available from Moodle&#039;s Downloads area, but no doubt they will be soon enough. In the meantime, you can download the files you require from Mauno&#039;s site. &lt;br /&gt;
&lt;br /&gt;
There are two packages, which are both zip files, available from [http://korpelainen.net/mpluga.zip MplugA] and [http://korpelainen.net/mplugb.zip MplugB]. &lt;br /&gt;
&lt;br /&gt;
====MplugA====&lt;br /&gt;
&lt;br /&gt;
At 70MB, MpluA is the larger of the two files, but it contains a lot of files not available in MplugB.  &lt;br /&gt;
 &lt;br /&gt;
====MplugB====&lt;br /&gt;
&lt;br /&gt;
MplugB is 52.4MB in size and contains all the same features are MplugA except it does not include Mathjax. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:How these files are installed to each Moodle is entirely up to the Administrators, but what is suggested here is written mainly for the inexperienced Administrator, for people new to Moodle.&lt;br /&gt;
&lt;br /&gt;
===Installation===&lt;br /&gt;
&lt;br /&gt;
The installation of these plugins does not require any core files to be overwritten, but some can be replaced, if considered a desirable outcome. The simplest and easiest way, and maybe the safest or at least most controlled method, is to just copy and paste, via FTP, the various sub-folders to the appropriate folders on your Moodle. &lt;br /&gt;
&lt;br /&gt;
Both zip files contain three folders, &#039;&#039;&#039;filter&#039;&#039;&#039;, &#039;&#039;&#039;lib&#039;&#039;&#039; and &#039;&#039;&#039;theme&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
====filter====  &lt;br /&gt;
&lt;br /&gt;
In the filter folder, there are six sub-folders, each of which can be copied to the moodle/filter folder of your installation. These sub-folders are geogebra, jsxgraph, math, mathml, mathtran and tex.&lt;br /&gt;
&lt;br /&gt;
====lib====&lt;br /&gt;
&lt;br /&gt;
In the lib folder there are also six sub-folders for MplugB, and seven sub-folders for MplugA. Both have sub-folders called common, dragmath, editor, geonext, jsquery, jsxgraph. The MplugA also contains the additional sub-folder of MathJax.&lt;br /&gt;
&lt;br /&gt;
The editor sub-folder contains the tinymath sub-subfolder. &lt;br /&gt;
&lt;br /&gt;
All these sub-folders can be copied to the moodle/lib folder, and if the default HTMLArea and TinyMCE editors are required to be retained, then the TinyMath editor sub-folder can be added to the moodle/lib/editor folder. You may decide to remove the original editors and replace them with the TinyMaths editor. If so, the moodle/lib/editor folder can be deleted and replaced with the plugin&#039;s editor folder. However, this is &#039;&#039;&#039;not&#039;&#039;&#039; a recommended practice. What is used in case of a back stop being required? The Admins can deactivate the defaults and activate the TinyMath editor, retaining the original default editor as an emergency back stop.&lt;br /&gt;
&lt;br /&gt;
====theme====  &lt;br /&gt;
&lt;br /&gt;
Two Moodle 2 themes are included with both packages. One is Mathstandard and the other is called Stylist. These can be unzipped and pasted to the moodle/theme folder and can be used if needed. Like all themes, they may not be to prevailing or local cultural tastes, but they can be modified to suit each Moodle site&#039;s requirements.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
Log into the Moodle and it should open into the Site Administration &amp;gt; Notifications page. Usually when there has been an addition, Moodle will automagically include everything as part of its installed files listing and open the Site Administration &amp;gt; Notifications page. If it does not, then go to the Notifications page and it should automatically bring up what it is changing and updating. &lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05.png|thumb|400px|center|The Notification screen]]&lt;br /&gt;
&lt;br /&gt;
Click the Upgrade button and it should run through it smoothly, taking you back to the Notifications page, which should now contain a minimal amount of information. &lt;br /&gt;
&lt;br /&gt;
From there individual components need to be configured. &lt;br /&gt;
&lt;br /&gt;
====filter====&lt;br /&gt;
The installer will continue with the configuration of the Geogebra package. &lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05a.png|thumb|400px|center|The Geogebra filter installer screen]]&lt;br /&gt;
&lt;br /&gt;
followed by the configuration screen&lt;br /&gt;
&lt;br /&gt;
[[Image:maconfig05b.png|thumb|400px|center|The Geogebra filter configuration screen]]&lt;br /&gt;
&lt;br /&gt;
Initially, it is recommended that the default settings be adopted. Having said that, perhaps the workspace is a bit small for a particular environment though, it can be changed either at this point or later, when it suits the Users. If Geogebra is already being used and there is a familiarity with the tool, check the defaults against the full installation, otherwise it is better to leave it until a better understanding of the tools is gained.&lt;br /&gt;
&lt;br /&gt;
There is more configuration required, but we need to leave the Filters and return to the Administration menu. Scroll to the bottom of the page and click the Save button. &lt;br /&gt;
&lt;br /&gt;
====Additional HTML====&lt;br /&gt;
Go to Site Administration &amp;gt; Appearance and you will see a new line: &lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
| [[Image:maconfig05c.png|thumb|center|A new item on the menu]]&lt;br /&gt;
|-&lt;br /&gt;
| Click this and enter the Additional HTML configuration page. &lt;br /&gt;
|-&lt;br /&gt;
| [[Image:maconfig05d.png|thumb|400px|center|The Additional HTML editing page]]&lt;br /&gt;
|-&lt;br /&gt;
| [[Image:maconfig05e.png|thumb|400px|center|The Additional HTML editing page with edit]]&lt;br /&gt;
|-&lt;br /&gt;
| The Additional HTML editing page is a simple and straightforward editing page. it allows you to add some additional HTML into your pages that you may feel is necessary to be consistently present right across your site. Things like logos and such are adequately catered for in [[Themes|themes]], but there are other things that you may feel are not. Make careful consideration before you add much beyond what is required here to get the Maths tools working.&lt;br /&gt;
&lt;br /&gt;
This is not an opportunity to include additional styling commands, that is taken care of in the CSS files of your [[Themes|theme]].&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The recommended script, originally written by Mauno (change the IP address to suit your server): &lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;link rel=&#039;stylesheet&#039; type=&#039;text/css&#039; href=&#039;http://111.121.101.131/lib/jsxgraph/distrib/jsxgraph.css&#039; media=&#039;screen&#039; /&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;http://111.121.101.131/lib/jsxgraph/distrib/jsxgraphcore.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&#039;text/javascript&#039; src=&#039;http://111.121.101.131/lib/jsxgraph/distrib/GeonextReader.js&#039;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script type=&amp;quot;text/javascript&amp;quot; src=&amp;quot;http://111.121.101.131/lib/MathJax/MathJax.js&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;MathJax.Hub.Config({&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;config: [&amp;quot;MMLorHTML.js&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;blockquote&amp;gt;&lt;br /&gt;
{|&amp;lt;nowiki&amp;gt;jax: [&amp;quot;input/TeX&amp;quot;,&amp;quot;input/MathML&amp;quot;,&amp;quot;output/HTML-CSS&amp;quot;,&amp;quot;output/NativeMML&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	extensions: [&amp;quot;tex2jax.js&amp;quot;,&amp;quot;mml2jax.js&amp;quot;,&amp;quot;MathMenu.js&amp;quot;,&amp;quot;MathZoom.js&amp;quot;],&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	tex2jax: {displayMath: [[&#039;@d&#039;,&#039;@d&#039;]],  inlineMath: [[&#039;@i&#039;,&#039;@i&#039;]] },&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;  TeX: {&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;    extensions: [&amp;quot;AMSmath.js&amp;quot;,&amp;quot;AMSsymbols.js&amp;quot;,&amp;quot;noErrors.js&amp;quot;,&amp;quot;noUndefined.js&amp;quot;]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;	}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt; });&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var AScgiloc = &amp;quot;http://111.121.101.131/lib/common/php/svgimg.php&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var dsvglocation = &amp;quot;http://111.121.101.131/lib/common/&amp;quot;;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var AMTcgiloc = &amp;quot;http://111.121.101.131/filter/tex/texviewer.php?action=Mimetex&amp;amp;tex=&amp;quot;;//Primary fallback&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;var Gemcgiloc = &amp;quot;http://111.121.101.131/filter/tex/texviewer.php?action=Tex&amp;amp;tex=&amp;quot;;//&amp;quot;Forced fallback&amp;quot;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;lt;script src=&amp;quot;http://111.121.101.131/lib/common/AM.php&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&amp;lt;/script&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is a sample of additional HTML that can be added to the head of a document.&lt;br /&gt;
&lt;br /&gt;
Closer examination of the script above reveals that it establishes the links required to the various packages that are used by the TinyMaths editor, which is configured soon. It adds no CSS, but does create the command sequences required to correct for errors in the rendering of the TeX statements derived from the various packages. The characters and TeX macros avaiable are loaded automatically. Some TeX macros are included in one package by default, but not another, e.g. the \therefore, ( &amp;lt;math&amp;gt; \therefore&amp;lt;/math&amp;gt; ), macro does not appear to be included in the DragMath package, but is in the MathJax.&lt;br /&gt;
&lt;br /&gt;
===Setting the Accessibility Options===&lt;br /&gt;
&lt;br /&gt;
You can then go to the Plugins &amp;gt; Filters &amp;gt; Manage Filters menu and click to go to the Manage Filters page. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig07b.png|thumb|400px|center|Setting the accessibility options ]]&lt;br /&gt;
&lt;br /&gt;
In this image, the options have been partly set, the User requires Geogebra, JSXGraph and MathJax. There will be more configuring later, but for now, the TinyMath Editor needs to be activated.&lt;br /&gt;
&lt;br /&gt;
====lib====&lt;br /&gt;
&lt;br /&gt;
The first thing that needs be done here is to set the TinyMaths Editor as the default.&lt;br /&gt;
&lt;br /&gt;
====theme====  &lt;br /&gt;
&lt;br /&gt;
The themes included with this plugin are configured and used in exactly the same way as any theme. Go to the [[Themes]] page for further information.&lt;br /&gt;
&lt;br /&gt;
===Adding the Tinymath Editor===&lt;br /&gt;
&lt;br /&gt;
Installing the Tinymath Editor is not enough, on it own, you have to activate it. Go to the Plugins &amp;gt; Editors &amp;gt; Manage Editors screen. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08a.png|frame|center|Selecting the Manage Editors options ]]&lt;br /&gt;
&lt;br /&gt;
When there you should see something like this: &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08b.png|thumb|400px|center|Setting the default editor ]]&lt;br /&gt;
&lt;br /&gt;
To activate the Tinymath editor, simple click on the closed eye. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08c.png|thumb|400px|center|Activating the Tinymath editor ]]&lt;br /&gt;
&lt;br /&gt;
To then make it the default editor, use the promotion arrows to place it first in the list. &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08d.png|thumb|400px|center|Setting the default editor ]] &lt;br /&gt;
&lt;br /&gt;
Tinymath should now be the default editor. To check this, go into a course and open it for editing and add a Resource. When you click on &amp;quot;Page&amp;quot; for example, you should get the Tinymath editor displaying. It looks something like: &lt;br /&gt;
&lt;br /&gt;
 [[Image:maconfig08e.png|thumb|400px|center|Tinymath - the editing toolbar ]] &lt;br /&gt;
&lt;br /&gt;
This essentially finishes the major installation tasks, there may now be some additional configuring that you may want to do, and some of that will be explained in related Docs.&lt;br /&gt;
&lt;br /&gt;
===See Also===&lt;br /&gt;
* [[Configuring and Using the Timymath Editor]]&lt;br /&gt;
* [[DragMath equation editor]]&lt;br /&gt;
* [[Using TeX Notation]]&lt;br /&gt;
* [[TeX Symbols in SEE]]&lt;br /&gt;
* [[TeX notation filter]] To turn on the TeX Notation &lt;br /&gt;
&lt;br /&gt;
[[Category: Mathematics]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas avanzadas]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121348</id>
		<title>Mathematics tools FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Mathematics_tools_FAQ&amp;diff=121348"/>
		<updated>2015-11-17T20:49:27Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Main page}}This FAQ is a recent creation and is still building. If you have a relevant question and answer, please add it to the bottom. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Since this page was started, Moodle has introduced the MathJax editor for Atto. While the information here is valid, it is only useful for the tools they discuss. &lt;br /&gt;
&lt;br /&gt;
==Does Moodle have any Math tools in it as native?==&lt;br /&gt;
It certainly does, and if you look at the [[Using TeX Notation]] pages, they will give you a good start on how you can, quickly and fairly easily, build a small body of knowledge that will allow you to move on to bigger and better things.&lt;br /&gt;
&lt;br /&gt;
==What kind of Maths tools can Moodle use or adapt?==&lt;br /&gt;
There are two ways to use maths tools in Moodle. &lt;br /&gt;
1. Plugins that integrate new functionality into Moodle. The list of Plugins for Moodle include among others [[Dragmath]], MathJAX or [[WIRIS]]. &lt;br /&gt;
2. Many external programs that can be used to generate content that is easily imported to Moodle. External programs include MathType which works with several Moodle Plugins.&lt;br /&gt;
&lt;br /&gt;
==Will these tools be accessible in Moodle 2.0?==&lt;br /&gt;
Yes, there has already been a number of successful tests using DragMath, MathJax and Geogebra tools in Moodle 2.0. As well, the TeX Notation filter works the same in v1.9.x and v2.0. It appears that anything written in Moodle v1.9.x will adapt easily for Moodle 2.0.&lt;br /&gt;
&lt;br /&gt;
==Does Moodle have an interactive whiteboard feature?==&lt;br /&gt;
Not as such, but it seems both the interactive and content is controlled by the whiteboard. You can use an interactive whiteboard to display Moodle, but unless you incorporate screen grabs from the Moodle into the whiteboard software, Moodle probably will not work as a genuine PHP App. Having said that, it is possible that at some stage in the future, a plugin for either, or even both, may be developed.&lt;br /&gt;
&lt;br /&gt;
==I am using Windows Server 2003 and am trying to get the TeX filter to work.==&lt;br /&gt;
There are often three issues here, the first is the way in which Windows assigns permissions. You need to give write permissions to I_USER (or IIS_USER - all those people who use moodledata through internet) on moodledata folders and subfolders like D:\moodledata/filter/tex/ - and executable files need executable permissions.&lt;br /&gt;
&lt;br /&gt;
It is also possible that what ever permissions you give to your files, Windows may permit running executable files on folders that are placed to system folders like c:\program files - I have seen this happen in Windows Vista and Windows 7 so it&#039;s probably true also in Windows Server 2003. If you install MikTex or TexLive for example to C:\Miktex (Texlive) or D:\Miktex (Texlive) and GhostScript and Imagemagick the same drive, such problems should not exist.&lt;br /&gt;
&lt;br /&gt;
Sometimes you may need to delete old (Miktex) install folders from system (environment) variable PATH or add the correct folder to PATH if the install script has not done it automatically. Windows will not find the right files from the correct folder without the PATH being correct. (The TexLive installer scripts usually makes this automatic, but MikTeX needs be done manually.) &lt;br /&gt;
&lt;br /&gt;
Finally, PHP settings may also prevent running of executable files - in the php.ini file look for the field &amp;quot;disable_functions&amp;quot;, it should be empty and check the other programs security measures (in  programs and scripts themselves) they should control running &amp;quot;non secure&amp;quot; commands like exec() or system(), not prevent them.&lt;br /&gt;
&lt;br /&gt;
Thanks [http://moodle.org/user/view.php?id=9523&amp;amp;course=5 Mauno]&lt;br /&gt;
&lt;br /&gt;
==We need to install Latex. Will all our current equations with the $$ tokens still work?==  &lt;br /&gt;
The original TeX program written by Don Knuth used the $$ tokens to denote TeX. TeX has grown and evolved into a number of different versions, which have had further developments. Most TeX And LaTeX still support the $$ token, but it is usually undocumented. This is where a test Moodle comes in handy - installing a LaTeX into a test environment then checking the result will answer the question of which LaTeX will accept the $$ token. Be careful here, some newer versions of LaTeX use delimiters, not tokens, to denote TeX sequences.&lt;br /&gt;
&lt;br /&gt;
==OK, what is the difference between a token and a delimiter?==&lt;br /&gt;
In TeX tokens are symbols used to denote a TeX command or control sequence. These can be $$ used in the native Tex Notation filter and supported by many versions of TeX and LaTeX, but they can also be \[ \] or any variation of any number of other symbols. A delimiter is what the LaTeX rendered in these pages uses. Moodle Docs went over to LiveTeX a little while ago, and now use the &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt;  &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt; delimiter, much the same as html commands use, instead it has only one command, that of &amp;lt;nowiki&amp;gt;&amp;lt;math&amp;gt; &amp;lt;/math&amp;gt;&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/view.php?f=130 Mathematics Tools forum]&lt;br /&gt;
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=104483 Creating equations] forum discussion&lt;br /&gt;
*[[Using TeX Notation]]&lt;br /&gt;
*[http://www.dessci.com/en/support/mathtype/works_with.htm?target=moodle Mathtype works with Moodle]&lt;br /&gt;
*[[WIRIS]] Plugin&lt;br /&gt;
*[https://moodle.org/mod/forum/discuss.php?d=315504 New Math questions in Moodle Quizzes using WeBWorK] forum post&lt;br /&gt;
&lt;br /&gt;
[[Category:Teacher]]&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Mathematics]]&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[es:Herramientas matemáticas FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Anv%C3%A4ndare:Colin_Fraser&amp;diff=116970</id>
		<title>Användare:Colin Fraser</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Anv%C3%A4ndare:Colin_Fraser&amp;diff=116970"/>
		<updated>2015-02-09T23:43:41Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==The plastic guy==&lt;br /&gt;
[[Image:Colinmoodle1.gif|left| me- on a good day.]] Yep - me...&lt;br /&gt;
&lt;br /&gt;
I started using Moodle and was enthralled by the essential ease with which I was able to pick up on things. I was creating courses and soon downloaded a copy of Moodle for home. I bungled the installation, then retried it, and it worked. I built it, wrecked it, rebuilt it, wrecked it again, and each time, I learned more about what I did not know. &lt;br /&gt;
&lt;br /&gt;
The major problem for me is that I am just not technically literate, that is - a spade and a shovel are the same. Trying to interpret the hidden meanings of a lot of the highly jargonistic approaches taken by far too many techies was just too much hard work.  &lt;br /&gt;
&lt;br /&gt;
I started to seriously administer Moodle as an intranet for a school. I moved schools, then created a new Moodle. Hopefully, I have left behind people to want to make those Moodles work and be useful learning tools. &lt;br /&gt;
&lt;br /&gt;
In the meantime, I have discovered I know less than I thought, so I have scoured the documentation available and found I understood less and less. For this reason, I sent an email to [[User:Mary Cooch|Mary Cooch]] about trying to set up an administration FAQ, (which quickly became Beginning Administration 1 FAQ then grew into [[Beginning Moodle 2.0 Administration]] in plain (well, OK, plainer) language. She recommended I actually talk to [[User:Helen Foster|Helen Foster]] about it. Helen must have thought &amp;quot;Give him what he wants, that will keep him quiet!&amp;quot; - and that idea failed miserably. Now I find I have gotten so involved in writing Moodle DOCS, my name crops up in the strangest places as adding an edit here and there.  &lt;br /&gt;
&lt;br /&gt;
My problem now is that I am starting to learn a little about Moodle, but I know nothing about networks, less about [[PHP]], and what I thought I knew about databases and SQL is so rusty as to be nearly useless. This could all be a bit of a handicap in future.&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Video&amp;diff=116801</id>
		<title>Video</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Video&amp;diff=116801"/>
		<updated>2015-01-27T09:21:32Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* Embedding a video in its own player */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Working with media}}&lt;br /&gt;
*Video is a very powerful tool to use in a Moodle course, allowing students, for example to catch up on lectures they missed, learn from a &amp;quot;how to&amp;quot; screencast, or improve their language skills  by watching native speakers interact.&lt;br /&gt;
*For a discussion on the best type of video file for Moodle, see [http://moodle.org/mod/forum/discuss.php?d=143478| here]&lt;br /&gt;
&#039;&#039;&lt;br /&gt;
*For a discussion of the best programs for creating screencasts, see [http://moodle.org/mod/forum/discuss.php?d=147891| here]&lt;br /&gt;
&lt;br /&gt;
==Where to host the videos==&lt;br /&gt;
&lt;br /&gt;
*Whenever possible, it is preferable to upload your videos to Moodle, storing them on your own server as you retain ultimate control. However, when server space or upload limits are restricted, it is convenient to upload videos to an online site like youtube [http://www.youtube.com] or  Vimeo[http://vimeo.com]. They can easily be embedded inside Moodle from such sites and privacy can still be maintained if you choose their private video sharing option.&lt;br /&gt;
&lt;br /&gt;
===Cross domain video hosting===&lt;br /&gt;
&lt;br /&gt;
Flash video players require permission to play videos hosted on a different URL, e.g. yourmoodle.org needs permission to play video files hosted at yourvideo.org. The permission files are stored on the root domain of where the video files are hosted, e.g. yourvideos.org/crossdomain.xml. If yourvideos.org does not have a cross domain policy file that permits yourmoodle.org to play videos, Flash Player will not permit it. Further details are available here [http://code.google.com/p/moodle-mplayer/wiki/CrossDomainSecurity].&lt;br /&gt;
&lt;br /&gt;
Many public video hosting services, such as YouTube.com, already have catch-all cross domain policy files in place and so videos can be played from them via your Moodle without any cross domain security issues arising.&lt;br /&gt;
&lt;br /&gt;
==Ways of displaying video==&lt;br /&gt;
&lt;br /&gt;
===Linking to a video online elsewhere===&lt;br /&gt;
*If your video is hosted elsewhere online (such as youtube) you can simply link to the relevant page by choosing &#039;&#039;Add a resource&amp;gt;[[URL|URL]]&#039;&#039; and pasting in the relevant link.&lt;br /&gt;
*For more information, see [[URL|URL]]&lt;br /&gt;
*Note that, in an establishment where certain video sharing sites might be banned, your students might not be able to access your video through Moodle.&lt;br /&gt;
&lt;br /&gt;
===Uploading a video for students to download===&lt;br /&gt;
*Choose this option if you wish to upload your video to Moodle and give users the option to download it to their own computers.&lt;br /&gt;
*Choose &#039;&#039;Add an activity or  resource&amp;gt;[[File|File]]&#039;&#039;&lt;br /&gt;
*For more information, see [[File|File]]&lt;br /&gt;
*Note that the way the video will display depends on the software the user has on their own computer. This could mean that some students might be unable to view your video. (See this discussion [http://moodle.org/mod/forum/discuss.php?d=143478| here])&lt;br /&gt;
&lt;br /&gt;
===Embedding a video in its own player===&lt;br /&gt;
*Moodle has an inbuilt video player called Flowplayer. If the [[Multimedia plugins filter|multimedia plugins filter]] is enabled by the administrator, videos embedded into the text editor will play inline in Flowplayer.&lt;br /&gt;
*Anywhere that Moodle&#039;s TinyMCE text editor is available, it is possible to embed a video, for example in a [[Label|label]] or a [[Page|page]], a course topic summary, a [[Description_question_type| quiz description]] or a [[Lesson|lesson]].&lt;br /&gt;
*One exception seems to be MP4 files.  They don&#039;t seem to play in Flowplayer unless hacked.  See discussion here: http://moodle.org/mod/forum/discuss.php?d=208849&lt;br /&gt;
&lt;br /&gt;
====Using the Moodle media icon====&lt;br /&gt;
*With your editing turned on, click into the HTML editor where you wish to embed your video. &lt;br /&gt;
*Click the Moodle media icon as in the following screenshot:&lt;br /&gt;
[[File:Addmedia.png]]&lt;br /&gt;
*Click &#039;&#039;Browse repositories&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[File:attomediaupload.png]]&lt;br /&gt;
&lt;br /&gt;
*The file picker will appear:&lt;br /&gt;
[[File:Filepickermedia.png]]&lt;br /&gt;
*Either click &#039;&#039;Upload a file&#039;&#039; to upload from your computer or choose the appropriate repository from which you wish to bring in your video. (What you see will depend on what the Moodle admin has enabled)&lt;br /&gt;
*Note: &#039;&#039;&#039;To search for and embed a video from youtube, [[Youtube_videos|see here]]&#039;&#039;&#039;&lt;br /&gt;
*Change the &#039;&#039;save as/author/license&#039;&#039; settings if desired and click &#039;&#039;upload this file&#039;&#039; or &#039;&#039;select this file&#039;&#039;&lt;br /&gt;
*Your video will appear in a preview player. Click &#039;&#039;Insert&#039;&#039; at the bottom&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;Don&#039;t panic&#039;&#039;!&#039;&#039;&#039; You will now only get a blue text link of your video:&lt;br /&gt;
[[File:Moodletvgirlpreview.png]]&lt;br /&gt;
*When you click &#039;&#039;save changes&#039;&#039; to return to the main course page, your video will display:&lt;br /&gt;
[[File:Moodletvgirl2.png]]&lt;br /&gt;
&lt;br /&gt;
====Using a hyperlink====&lt;br /&gt;
(Note - this method has no advantage over using the  media icon, but was popular in older versions of Moodle)&lt;br /&gt;
*With your editing turned on, click into the HTML editor where you wish to embed your video.&lt;br /&gt;
*Type some blank spaces (or some text) and select them.&lt;br /&gt;
*Click the hyperlink icon as in the following screenshot.(The icon will only be clickable if you have selected text or spaces)&lt;br /&gt;
[[File:Hyperlinkicon.png]]&lt;br /&gt;
*Click &#039;Browse repositories&#039;&lt;br /&gt;
*This takes you to the file picker. Follow the instructions for uploading/selecting your video as for using the Moodle media icon.&lt;br /&gt;
*When your video is chosen, it will appear in the link URL box as below. Click &#039;&#039;Insert:&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;&#039;&#039;Don&#039;t panic!&#039;&#039;&#039;&#039;&#039; You will now only get a blue line (if you selected blank spaces) or the actual text underlined in the HTML editor:&lt;br /&gt;
[[File:linklinkatto.png]]&lt;br /&gt;
*When you click &#039;&#039;save changes&#039;&#039; to return to the main course page, your video will display.&lt;br /&gt;
&lt;br /&gt;
====Using embed code to display external videos====&lt;br /&gt;
*Go to your chosen video sharing site and find the embed code of the video you wish to display. Copy this code.&lt;br /&gt;
*With your editing turned on, click into the HTML editor where you wish to embed your video.&lt;br /&gt;
*Click the HTML code icon as in the following screenshot:&lt;br /&gt;
[[File:Htmlcodeicon.png]]&lt;br /&gt;
*Paste your embed code into the box:&lt;br /&gt;
[[File:Embedcode.png]]&lt;br /&gt;
*Scroll down and click &amp;quot;update&amp;quot;.&lt;br /&gt;
*Your video will be previewed in the HTML editor. Click &#039;&#039;save changes&#039;&#039; for it to display on the page&lt;br /&gt;
[[File:Youtubevideo.png]]&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
*[[Video_FAQ|Video FAQ]]&lt;br /&gt;
*[[Multimedia plugins filter]]&lt;br /&gt;
*[http://www.mguhlin.org/2012/01/embedding-videos-in-moodle-22.html Embedding Videos in #Moodle 2.2] blog post from Miguel Guhlin&lt;br /&gt;
*[[Videofile]] plugin with multilanguage captions capability&lt;br /&gt;
&lt;br /&gt;
[[de:Video]]&lt;br /&gt;
[[es:Video]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Complete_install_packages_for_Windows&amp;diff=116615</id>
		<title>Complete install packages for Windows</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Complete_install_packages_for_Windows&amp;diff=116615"/>
		<updated>2015-01-01T11:56:17Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: /* Unpack the package */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Installing Moodle}}&lt;br /&gt;
Complete install packages are available from Moodle.org&#039;s [http://download.moodle.org/windows/ Windows download page] and from bitnami (for newer Windows versions). The packages are designed for new installations on a standalone computer. The complete install package can be used on a server, but &#039;&#039;&#039;it is not recommended that it be used as a production site&#039;&#039;&#039;. Please note Moodle.org&#039;s [http://download.moodle.org Standard install packages] only contain the Moodle code.&lt;br /&gt;
&lt;br /&gt;
This document provides instructions for using the Windows packages. Separate instructions are available for [[Complete Install Packages for Mac OS X|Mac OS X packages]].&lt;br /&gt;
&lt;br /&gt;
The complete install packages allow Moodle to be installed, along with the prerequisites that includes a web server, Apache, database, MySQL, scripting language, PHP, an administration tool, phpMyAdmin and Moodle all wrapped in the Xampp-lite shell. Several versions of the complete install package are available. The instructions on the download page provide guidance on which version is likely to be most suitable.&lt;br /&gt;
&lt;br /&gt;
In short, complete install packages are designed to create a matched webserver and Moodle site on a standalone computer with minimal effort. &lt;br /&gt;
&lt;br /&gt;
==System requirements==&lt;br /&gt;
:*256 MB RAM (minimum), 512 MB RAM (recommended)&lt;br /&gt;
:*160 MB free Fixed Disk (more space will be needed depending on user uploads)&lt;br /&gt;
:*Windows 98/ME (minimum)&lt;br /&gt;
:*Windows NT/2000/XP (recommended) - for later versions of Windows, see below.&lt;br /&gt;
&lt;br /&gt;
===Port 80 Conflict if Skype is already installed===&lt;br /&gt;
As the Moodle Windows package uses the same port (80) as [http://www.skype.com/en/ Skype] does, it will not work if the computer has Skype already installed.&lt;br /&gt;
&lt;br /&gt;
The fix is very simple: Exit Skype (don&#039;t just close the window), then start the Moodle Windows package. Once Moodle for Windows is running, it should be safe to start Skype again. If the local Moodle is using the port 80, Skype will automatically select a different port when it is run.&lt;br /&gt;
&lt;br /&gt;
===Vista and Windows 7/8===&lt;br /&gt;
&lt;br /&gt;
Many people have trouble installing the packages for Windows on Vista and Windows 7 or Windows 8.&lt;br /&gt;
&lt;br /&gt;
One simple solution is to use http://bitnami.org/stack/moodle (from amazon.com).&lt;br /&gt;
&lt;br /&gt;
==Install complete package process==&lt;br /&gt;
The complete install package is a zip file that contains a webserver called [[Apache]], plus Moodle and Moodle&#039;s required [[MySQL]] database and [[PHP]] program. &lt;br /&gt;
&lt;br /&gt;
There are three basic parts to the this install process.  &lt;br /&gt;
#Download and unpack the complete install package. &lt;br /&gt;
#Start the webserver. &lt;br /&gt;
#Install Moodle using a web browser.&lt;br /&gt;
&lt;br /&gt;
===First create file structure===&lt;br /&gt;
====Download the package====&lt;br /&gt;
[http://download.moodle.org/windows Download Windows] packed-zip file from Moodle.&lt;br /&gt;
[[Image:Moodle Setup zipfile.jpg|frame|center|A downloaded complete install package Windows 1.9 zip file in Windows Explorer]]&lt;br /&gt;
 &lt;br /&gt;
====Unpack the package====&lt;br /&gt;
Unpack (extract files by clicking on) the zip file you downloaded to a drive or partition of your choice. The extract process will create three files (&amp;quot;Start Moodle&amp;quot;, &amp;quot;Stop Moodle&amp;quot;, and &amp;quot;README&amp;quot;) and a subfolder called &amp;quot;server&amp;quot;. &lt;br /&gt;
*Do NOT rename the &amp;quot;server&amp;quot; subfolder  &lt;br /&gt;
:&#039;&#039;Note:&#039;&#039; There will also be a folder under this server subfolder, called \moodle that holds the Moodle program.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; Create a folder and extract the files there.  For example, you might have one folder called Moodle254 and another one called Moodle281 for different versions or purposes.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;TIP:&#039;&#039; Make path to &amp;quot;server&amp;quot; subfolder simple. Best way if it will be in drive root. Like &amp;quot;D:\moodle281\server&amp;quot;. A long path, especially with any strange symbols, can prevent XAMPP from working properly.&lt;br /&gt;
&lt;br /&gt;
===Second - start the webserver===&lt;br /&gt;
Now you are ready to start the webserver.  Use the &amp;quot;Start Moodle.exe&amp;quot; file which you should find in the top directory. Once the &amp;quot;Start Moodle.exe&amp;quot; program is open, don&#039;t close it; use &amp;quot;Stop Moodle.exe&amp;quot; for that purpose.&lt;br /&gt;
 &lt;br /&gt;
:&#039;&#039;Note:&#039;&#039; These programs control both Apache and MySQL programs that operate the webserver.  Some sites will individually start and stop Apache and MySQL with the Xampp bat files found in the &amp;quot;server&amp;quot; subfolder.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; Alternatively, on a standalone computer with several potential webservers that might be running, you can use the &amp;quot;xampp_restart.exe&amp;quot; file in the &amp;quot;server&amp;quot; subfolder.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; You can also add shortcuts to the commands that start and stop the site in your Windows &amp;quot;start&amp;quot; menu.&lt;br /&gt;
 &lt;br /&gt;
Now you are ready to start the Moodle installation.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Warning:&#039;&#039; Windows XP requires the msvcr71.dll library file in order to run Xampp. Installing the [http://www.microsoft.com/downloads/details.aspx?familyid=262D25E3-F589-4842-8157-034D1E7CF3A3&amp;amp;displaylang=en .Net 1.1 framework] (not .Net 2.0 and upper) could resolve it. You can also search for the file on Google, download it and copy it into the server/apache/bin folder.&lt;br /&gt;
&lt;br /&gt;
===Third - start Moodle installation===&lt;br /&gt;
Start your web browser and type &amp;lt;nowiki&amp;gt; localhost, or  http://127.0.0.1 or http://localhost &amp;lt;/nowiki&amp;gt;in the address bar. You will either start your first time Moodle installation or if it is already installed you will enter the Moodle site&#039;s [[Front Page]] or Login screen.&lt;br /&gt;
&lt;br /&gt;
[[Image:Moodle_Setup_localhost_browser.jpg|frame|center|A browser&#039;s addressbar showing &amp;quot;localhost&amp;quot;. Click on  the green Goto arrow will go to the installed Moodle site.]]&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;Tip:&#039;&#039; After Moodle installs, put the site in your &amp;quot;favorites&amp;quot; or as a &amp;quot;bookmark&amp;quot; in you browser.&lt;br /&gt;
&lt;br /&gt;
====Set language====&lt;br /&gt;
The initial install page will be displayed after you type &amp;quot;localhost&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Image:C Install Windows 1.png|thumb|center|600px|Set initial language]]&lt;br /&gt;
&lt;br /&gt;
*Choose your preferred language (English is used in this example) and click the “Next” button.&lt;br /&gt;
&lt;br /&gt;
====Diagnostic results====&lt;br /&gt;
A diagnostic report is displayed – hopefully it will look like this, if not you may need to address some issues.&lt;br /&gt;
[[Image:Complete Windows Install 2.png|thumb|center|546px|Moodle liked and gave a Pass ]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Click the “Next” button to continue.&lt;br /&gt;
&lt;br /&gt;
====Moodle paths====&lt;br /&gt;
The paths for your Moodle installation are shown – if you are only using this as a local testing server, accept the ones that are shown on your screen.&lt;br /&gt;
&lt;br /&gt;
What you enter in the &amp;quot;Web Address&amp;quot; field depends on what you intend to use the new Moodle installation for. &lt;br /&gt;
If you are just going to use it for local testing, then use &#039;http://localhost&#039;. &lt;br /&gt;
If you are going to test the new installation on a LAN, and will be accessing it from other machines on that LAN, then put the private IP address or network name of the serving machine, followed by a forward slash and moodle: Web Address - http://192.168.1.1/moodle&lt;br /&gt;
If you are going to test the installation on the internet, then you will need to put the public ip address followed by a forward slash and moodle: http://your_ip_address/moodle or you can put your domain name here instead.&lt;br /&gt;
&lt;br /&gt;
[[image:Complete install Windows 3.png|thumb|center|600px|Installation paths]]&lt;br /&gt;
&lt;br /&gt;
*Click the “Next” button to continue.&lt;br /&gt;
&lt;br /&gt;
====Database configuration====&lt;br /&gt;
*In the next fields, we enter the database settings. The fields are populated with some suggested values.&lt;br /&gt;
&lt;br /&gt;
*We strongly recommend you place a user name and password in this screen. (Don&#039;t forget them).&lt;br /&gt;
&lt;br /&gt;
*DO NOT USE THE “ROOT” USER WITHOUT A PASSWORD FOR PRODUCTION INSTALLATIONS AS THIS CREATES A SECURITY VULNERABILITY&lt;br /&gt;
[[image:Complete install Windows 4.png|thumb|center|535px|Installation&#039;s database settings]]&lt;br /&gt;
&lt;br /&gt;
*When the fields have been populated, click the “Next” button to continue.&lt;br /&gt;
&lt;br /&gt;
====Check server====&lt;br /&gt;
The install process checks the server it installed.&lt;br /&gt;
[[image:Complete install Windows 5.png|thumb|center|535px|Check server environment screen]]&lt;br /&gt;
*Click the “Next” button to continue.&lt;br /&gt;
&lt;br /&gt;
====Confirm initial language pack====&lt;br /&gt;
Moodle will now check to see if the language pack is available for the language you selected at the first step.  If it is not, Moodle will continue with the install in English.&lt;br /&gt;
[[image:Complete install Windows 6.png|thumb|center|535px|Language pack check]]&lt;br /&gt;
&lt;br /&gt;
====Confirm config.php====&lt;br /&gt;
Provided the Moodle folder is writable, a message confirming the configuration has been completed will be displayed.&lt;br /&gt;
[[image:Complete install Windows 7.png|thumb|center|549px|Confirmation that config.php has been created]]&lt;br /&gt;
&lt;br /&gt;
*Click the “ Continue” button to proceed.&lt;br /&gt;
&lt;br /&gt;
====Moodle copyright &amp;amp; agreement====&lt;br /&gt;
The Moodle copyright / license notices are displayed.&lt;br /&gt;
&lt;br /&gt;
[[image:Complete install Windows 8.png|thumb|center|400px|Copyright notice and agreement]]&lt;br /&gt;
&lt;br /&gt;
*Click the “Yes” button to continue.  &lt;br /&gt;
&lt;br /&gt;
====Current release and unattended option====&lt;br /&gt;
The current release information is shown. &lt;br /&gt;
&#039;&#039;&#039;Check off the unattended operations box&#039;&#039;&#039;. This will automatically advance through many screens.  If you would like to watch the install screen by screen, do not check this box and be prepared to press the &amp;quot;continute button&amp;quot; many times.&lt;br /&gt;
 &lt;br /&gt;
*Click the &amp;quot;Continue&amp;quot; button and wait.&lt;br /&gt;
[[Image:Complete install Windows 9.png|thumb|center|600px|Current release and &amp;quot;unattended&amp;quot; check box]]&lt;br /&gt;
&lt;br /&gt;
====Installation modules and blocks screens====&lt;br /&gt;
In most cases this will be followed by a series of screens that have a continue button on the bottom.  This process stops with Admin user profile settings which needs to be filled out.&lt;br /&gt;
&lt;br /&gt;
====Administrator user profile====&lt;br /&gt;
[[Image:Complete install Windows 10.png|thumb|center|The administrator&#039;s users profile screen]]&lt;br /&gt;
&lt;br /&gt;
Fill out the required fields.&lt;br /&gt;
*Click on &amp;quot;Save&amp;quot; to continue&lt;br /&gt;
&lt;br /&gt;
====Front page settings====&lt;br /&gt;
The next screen is the Front Page settings page.  There are two parts to it.&lt;br /&gt;
The first part will ask for your Full site name and a short name for the navigation bar. There is also a place for a description. You can change these later.  &lt;br /&gt;
&lt;br /&gt;
[[Image:Complete install Windows 11a.png|thumb|center|The Moodle sites [[Front Page]] information]]&lt;br /&gt;
&lt;br /&gt;
The second part on the bottom instructs Moodle if you will disable the new user self [[authentication]] through email process.  The default is to disable.  This can be changed later in the [[Site administration block|site administration block]].&lt;br /&gt;
&lt;br /&gt;
[[Image:Complete install Windows 11ba.png|thumb|center|500px|Determine if users can create their own profiles when they log onto the side via email self authentication]]&lt;br /&gt;
&lt;br /&gt;
*Click on &amp;quot;Save changes&amp;quot; button to go to Moodle sites home page.&lt;br /&gt;
&lt;br /&gt;
====Moodle on====&lt;br /&gt;
&#039;&#039;&#039;Now you are ready to Moodle !&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Image:Complete install Windows 12.png|thumb|center|Blank Front page of your new site]]&lt;br /&gt;
&lt;br /&gt;
The Site Administration block is on the left, the &amp;quot;Turn edit on&amp;quot; button in the upper right corner, withe the site description block just below it.&lt;br /&gt;
&lt;br /&gt;
===Congratulations - Moodle has been installed===&lt;br /&gt;
This finishes the installation of a complete package.   Type &amp;lt;nowiki&amp;gt;http://localhost&amp;lt;/nowiki&amp;gt; (or what ever you set for web address earlier in the setup!) in your browser and Moodle will open. &lt;br /&gt;
&lt;br /&gt;
Your next task will be to configure Moodle to meet your needs.  Don&#039;t worry, it is easy to change any of the settings now that Moodle is up and running.&lt;br /&gt;
*Check &#039;&#039;Settings &amp;gt; Site administration&#039;&#039; for further links.&lt;br /&gt;
&lt;br /&gt;
==More tips and cautions==&lt;br /&gt;
*For installation on a Windows 2000 or Windows 2003 production server it is good practice to perform a manual install (see the manual installation section in [[Windows_installation|Windows Installation]]). &lt;br /&gt;
&lt;br /&gt;
*After installing the Windows package, you may wish to add additional contributed modules and plugins.  Theset may involve more customization of configuration files.&lt;br /&gt;
&lt;br /&gt;
*The latest complete install package version components, may not be backwardly compatible. Always check version compatibility of each component if you intend to develop materials on a later version of Moodle than the version installed on your &amp;quot;main&amp;quot; Moodle site.  In short, complete install packages are designed for first time install on a &amp;quot;clean&amp;quot; machine.  &lt;br /&gt;
&lt;br /&gt;
== Security matters (A MUST READ!)==&lt;br /&gt;
&lt;br /&gt;
As mentioned before, XAMPP is not meant for production use but only for developers &lt;br /&gt;
in a development environment. The way XAMPP is configured is to be open as possible &lt;br /&gt;
and allowing the developer anything he/she wants. For development environments this &lt;br /&gt;
is great but in a production environment it could be fatal. Here a list of missing security &lt;br /&gt;
in XAMPP:&lt;br /&gt;
&lt;br /&gt;
The MySQL administrator (root) has no password.&lt;br /&gt;
The MySQL daemon is accessible via network.&lt;br /&gt;
phpMyAdmin is accessible via network.&lt;br /&gt;
Examples are accessible via network.&lt;br /&gt;
&lt;br /&gt;
To fix most of the security weaknesses simply call the following URL:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;http://localhost/security/&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The root password for MySQL + phpMyAdmin and also a XAMPP directory protection can be established here.&lt;br /&gt;
&lt;br /&gt;
Note that on the Windows installer package, some (all?) of these issues have been fixed already by default and the above link does not work.&lt;br /&gt;
&lt;br /&gt;
If in doubt, more info is [http://www.apachefriends.org/en/faq-xampp-windows.html  here]&lt;br /&gt;
&lt;br /&gt;
== Apache and MySQL tweaks ==&lt;br /&gt;
Most of the time it is not necessary to tweak Apache or MySQL after completing the complete install package. Nor is it necessary to individually start and stop them because that is what the Xampp_start, Xampp_restart and Xammp_stop files are for.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Installing Apache and MySQL as services===&lt;br /&gt;
(This is only for NT4 | Windows 2000 | Windows XP operating systems)&lt;br /&gt;
&lt;br /&gt;
\xampplite\apache\apache_installservice.bat =&lt;br /&gt;
==&amp;gt; Install Apache 2 as service   &lt;br /&gt;
&lt;br /&gt;
\xampplite\apache\apache_uninstallservice.bat =&lt;br /&gt;
==&amp;gt; Uninstall Apache 2 as service   &lt;br /&gt;
&lt;br /&gt;
\xampplite\mysql\mysql_installservice.bat =&lt;br /&gt;
==&amp;gt; Install MySQL as service   &lt;br /&gt;
&lt;br /&gt;
\xampplite\mysql\mysql_uninstallservice.bat =&lt;br /&gt;
==&amp;gt; Uninstall MySQL as service   &lt;br /&gt;
&lt;br /&gt;
==&amp;gt; After all Service (un)installations, please restart your system!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Apache Notes===&lt;br /&gt;
&lt;br /&gt;
You can use the apache_start and apache_stop bat files to start and stop apache from running. However the Xampp_start or Xampp_restart and Xampp_stop is recommended to turn on/off both Apache and MySQL.&lt;br /&gt;
&lt;br /&gt;
====Troubleshooting====&lt;br /&gt;
&lt;br /&gt;
If you find that Apache is very flaky, with the page often not loading properly or even at all (especially on localhost), try adding these lines to the end of C:\your_moodle_installer_directory\apache\conf\httpd.conf &lt;br /&gt;
&lt;br /&gt;
  EnableSendfile Off&lt;br /&gt;
  EnableMMAP Off&lt;br /&gt;
  Win32DisableAcceptEx&lt;br /&gt;
&lt;br /&gt;
If You edit some .php files but browser still show old state of them, try to disable eAccelerator extension in \server\php\php.ini&lt;br /&gt;
&lt;br /&gt;
 [eAccelerator]&lt;br /&gt;
 ;extension=eaccelerator.dll&lt;br /&gt;
&lt;br /&gt;
===MySQL notes===&lt;br /&gt;
Again, the recommendation to start and stop the entire webserver is to use the xampp_start or Xampp_restart and the Xampp_stop.  The following maybe useful if you wish to tweak the system further.  Please be careful.&lt;br /&gt;
&lt;br /&gt;
(1) The MySQL server can be started by double-clicking (executing) mysql_start.bat. This file can be found in the same folder you installed xampp in, most likely this will be C:\xampplite\.  The exact path to this file is X:\xampplite\mysql_start.bat, where &amp;quot;X&amp;quot; indicates the letter of the drive you unpacked xampp into.This batch file starts the MySQL server in console mode. The first intialization might take a few minutes.&lt;br /&gt;
    &lt;br /&gt;
Do not close the DOS window or you&#039;ll crash the server! To stop the server, please use mysql_shutdown.bat, which is located in the same directory.&lt;br /&gt;
&lt;br /&gt;
(2) To use the MySQL Daemon with &amp;quot;innodb&amp;quot; for better performance, &lt;br /&gt;
please edit the &amp;quot;my&amp;quot; (or &amp;quot;my.cnf&amp;quot;) file in the /xampplite/mysql/bin directory or for services the c:\my.cnf for windows NT/2000/XP. In that director, activate the&lt;br /&gt;
 &amp;quot;innodb_data_file_path=ibdata1:30M&amp;quot;&lt;br /&gt;
statement. Attention, &amp;quot;innodb&amp;quot; is not recommended for 95/98/ME.&lt;br /&gt;
    &lt;br /&gt;
:To use MySQL as Service for NT/2000/XP, simply copy the &amp;quot;my&amp;quot; / &amp;quot;my.cnf&amp;quot; file to C:\my, or C:\my.cnf. Please note that this file has to be placed in C:\ (root), other locations are not permitted. Then execute the &amp;quot;mysql_installservice.bat&amp;quot; in the mysql folder. 	&lt;br /&gt;
   	&lt;br /&gt;
&lt;br /&gt;
(3) MySQL starts with standard values for the user id and the password. The preset user id is &amp;quot;root&amp;quot;, the password is &amp;quot;&amp;quot; (= no password). To access MySQL via PHP with the preset values, you&#039;ll have to use the following syntax:&lt;br /&gt;
 mysql_connect(&amp;quot;localhost&amp;quot;,&amp;quot;root&amp;quot;,&amp;quot;&amp;quot;);&lt;br /&gt;
If you want to set a password for MySQL access, please use of mysqladmin.&lt;br /&gt;
To set the password &amp;quot;secret&amp;quot; for the user &amp;quot;root&amp;quot;, type the following:&lt;br /&gt;
   &lt;br /&gt;
  \xampplite\mysql\bin\mysqladmin -u root password secret&lt;br /&gt;
    &lt;br /&gt;
After changing the password you&#039;ll have to reconfigure phpMyAdmin to use the new password, otherwise it won&#039;t be able to access the databases. To do that, open the file config.inc.php in \xampplite\phpmyadmin\ and edit the following lines:    &lt;br /&gt;
    &lt;br /&gt;
    $cfg[&#039;Servers&#039;][$i][&#039;user&#039;]            = &#039;root&#039;;   // MySQL user&lt;br /&gt;
    $cfg[&#039;Servers&#039;][$i][&#039;auth_type&#039;]       = &#039;http&#039;;   // HTTP authentificate&lt;br /&gt;
&lt;br /&gt;
So first the &#039;root&#039; password is queried by the MySQL server, before phpMyAdmin may access.&lt;br /&gt;
  	    	&lt;br /&gt;
  &lt;br /&gt;
&lt;br /&gt;
Have a lot of fun! Viel Spaß! Bonne Chance!&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
*[https://docs.moodle.org/19/en/Installation_guide_-_Moodle_for_Windows_on_a_USB_Memory_Stick Installation guide - Moodle 1.9 for Windows on a USB Memory Stick]&lt;br /&gt;
*Return to [[Windows installation]]&lt;br /&gt;
*[[Windows 1 computer many servers |Multiple web servers, on 1 computer]] similar to windows installation page, with some tips&lt;br /&gt;
*[https://docs.moodle.org/en/Windows_installation_using_XAMPP#Troubleshooting Troubleshooting]if you are running Skype. &lt;br /&gt;
*[[Installing_AMP]] lots of XAMPP stuff.  XAMPP stands for X (cross platform), Apache, MySQL,PHP and Perl.  XAMPP used in Moodle does not include Perl. MAMP stands for Mac, Apache, MySQL and PHP.  &lt;br /&gt;
*[[Installation Package for OS X]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[es:Paquetes_para_Instalaci%C3%B3n_Completa]]&lt;br /&gt;
[[pl:Kompletne pakiety instalacyjne]]&lt;br /&gt;
[[de:Vollständiges Installationspaket für Windows]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Installation]]&lt;br /&gt;
[[Category:Windows]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/4x/sv/index.php?title=Beginning_Moodle_2.0_Administration&amp;diff=116613</id>
		<title>Beginning Moodle 2.0 Administration</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/4x/sv/index.php?title=Beginning_Moodle_2.0_Administration&amp;diff=116613"/>
		<updated>2015-01-01T11:42:10Z</updated>

		<summary type="html">&lt;p&gt;Colinfraser: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The questions asked here are mostly questions that I was confronted with when I first started with administering a Moodle, but I had some experience as a user which helped me a lot. The other source of questions is the Moodle Forums.   &lt;br /&gt;
&lt;br /&gt;
===What kind of technical skills do I need to take on Moodle Administration?===&lt;br /&gt;
Reading and writing are handy skills, and probably the most useful. This is something of a loaded question, and the answer is actually, depends on what you want to do, and what skills you already have. &lt;br /&gt;
&lt;br /&gt;
Do you have any HTML, CSS and PHP skills? Do you have any SQL database skills. If you do, then you have a good start, if you do not, then do not worry about it. If you need them, you will pick these skills up as you go, and if you already have any programming skills, it is going to be fairly easy to do so. If you have never done any programming before, it is a little more difficult, but once you have the idea, it becomes a lot easier. Unless you intend on developing your Moodle, e.g. build your own home made theme, alter code to reflect your own organization, then you can get away without any of these skills. What you do need is a way of developing a quick understanding of how Moodle works.&lt;br /&gt;
&lt;br /&gt;
Installing and setting up a new Moodle is not difficult. Some servers and service providers do have problems, from time to time, but if you work with your ISP, and the Moodle Community, you will get your Moodle up and running. Once it is going, start looking at it. You won&#039;t break anything, unless you start deleting things. Your best bet would be to read the documents. Look at the page you are working on. Somewhere on that page is a link that points to &amp;quot;Moodle Docs for this page&amp;quot;. That is your best, most readily available, clues on how to do things. Once familiar with the environment, and how to get around it, how to get information on it, then the major steps have been taken, the rest is a continual refinement of that.        &lt;br /&gt;
&lt;br /&gt;
[[Image:lightbulb.png|frame|left|Tip]]As a newbie Administrator, it is easy to get overwhelmed with all the different things available, useful plugins and extra blocks and so on, but the majority of those things are third-party made, not Moodle.org in origin. Be aware that, as a general rule of thumb, the further you move away from the standard Moodle, the greater your risks of things going wrong. This does not mean the plugins are badly written, and some are really handy, just sometimes things go wrong. If you are going to use them, be deliberate in your choice, do not use them just because it might be a good idea. &lt;br /&gt;
&lt;br /&gt;
Perhaps the best thing is that you create a Moodle on your desktop, or laptop, and you use that as a testbed. It should be the same version as your production site, to make things easy. Try things there first, if there is no problems, then you can replicate it on your production site.&lt;br /&gt;
&lt;br /&gt;
===I am being told that I need a php plugin to continue to install Moodle 2.x===&lt;br /&gt;
Check the version of the PHP installation you have installed. This message generally means that your install is not a recent release, and Moodle will have some difficulty in running on it. Download and install the latest version of PHP to update. You will then have to uncomment all the required dynamic extensions you need, including the missing extension. The problem is then solved. If the install is on a host server, then you will need to contact your host and ask them to do this.  &lt;br /&gt;
&lt;br /&gt;
===What Dynamic Extensions do I really need uncommented in my php.ini file? What else do I need to change?===&lt;br /&gt;
This assumes you have complete control over the installation and running of your server, if your Moodle is hosted, you need to do something different, which is also discussed below. In the php.ini you need to delete the semi-colon, the ;, from the start of any line to uncomment it. For Moodle, you really should only need to change some values, and make sure the extensions you require are available. These are:&lt;br /&gt;
&lt;br /&gt;
Resource Limits&lt;br /&gt;
  memory_limit = 128M     //This is the maximum it requires and on a shared server you may get much less. &lt;br /&gt;
&lt;br /&gt;
Data Handling &lt;br /&gt;
  post_max_size = 512M    //This allows postings of up to 512MB, but set it to suit yourself and your circumstances&lt;br /&gt;
&lt;br /&gt;
Paths and Directories&lt;br /&gt;
  doc_root =&amp;quot;driveletter:\path\to\server\active\web\directory&amp;quot;  (e.g. d:\Apache\htdocs or e:\iis\wwwroot )&lt;br /&gt;
  and&lt;br /&gt;
  extension_dir = &amp;quot;driveletter:\path\to\php\ext&amp;quot; (e.g. d:\php\ext or e:\iis\php\ext)&lt;br /&gt;
&lt;br /&gt;
File Uploads&lt;br /&gt;
  upload_max_filesize = 512M    (This is different from the post_max_size this is for file uploads.)&lt;br /&gt;
&lt;br /&gt;
Dynamic Extensions&lt;br /&gt;
{| class=&amp;quot;nicetable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! PHP 5.3.x&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
  extension=php_curl.dll&lt;br /&gt;
  extension=php_gd2.dll&lt;br /&gt;
  extension=php_gettext.dll&lt;br /&gt;
  extension=php_intl.dll&lt;br /&gt;
  extension=php_imap.dll&lt;br /&gt;
  extension=php_ldap.dll&lt;br /&gt;
  extension=php_mbstring.dll&lt;br /&gt;
  extension=php_exif.dll      ; Must be after mbstring as it depends on it&lt;br /&gt;
  extension=php_mysql.dll&lt;br /&gt;
  extension=php_mysqli.dll&lt;br /&gt;
  extension=php_openssl.dll&lt;br /&gt;
  extension=php_pdo_mssql.dll&lt;br /&gt;
  extension=php_pdo_mysql.dll&lt;br /&gt;
  extension=php_soap.dll&lt;br /&gt;
  extension=php_sockets.dll&lt;br /&gt;
  extension=php_sqlite.dll&lt;br /&gt;
  extension=php_xmlrpc.dll&lt;br /&gt;
  extension=php_zip.dll&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These edits and Dynamic extensions cover a range of options here, there are a number of other possibilities, but these listed are the most common ones. Unless you have a specific need, there may not be any reason to deviate from these settings, but if you do, make sure you know what is going to happen. These extensions will also allow you to successfully install and run many other PHP applications. &lt;br /&gt;
&lt;br /&gt;
One example is the Oracle extensions are not shown here, but Oracle can be used for the Moodle database. Another area people often get themselves into trouble is using &amp;quot;Magic quotes&amp;quot;. Magic quotes really should be set to off, they were only introduced early in the use of PHP to allow for some inexperienced scripting practices, (read poor, shoddy or dodgy here). If someone is still writing poor scripts, then they deserve to draw attention to themselves and their scripts deleted.&lt;br /&gt;
&lt;br /&gt;
===My Host took my Moodle 2 down from the server due to an overload of the database.===&lt;br /&gt;
This happens far too often on shared servers. The additional memory requirements of Moodle 2+ for installation and the additional database storage required is going to make it worse. The best bet is to find a dedicated server, that is the optimum, but reality is that costs do play a large part in making decisions about where a Moodle will be stored. A dedicated server will give you the entire disc space and all the memory on that server to use as you need. A virtual dedicated server means you are sharing with a few other users on a server, possibly as many as 10, but more likely 5 or 6. A shared server mean you are sharing one box with as many of the Host&#039;s clientele that can be put onto one server. This means sharing all resources and Moodle&#039;s demands get higher as the number of Users increases which affects all other Clients of the Host. There are any number of Moodle Partners who may be willing to host your Moodle, and the Internet also means you are not restricted by national or natural boundaries or currency transactions - politics, oceans and banks have no impact on where you host your Moodle.&lt;br /&gt;
&lt;br /&gt;
===Why am I having trouble restoring my existing Moodle 1.9.x courses into Moodle 2.0?===&lt;br /&gt;
Simply put, the changes in coding between Moodle 1.9.x and Moodle 2.0 are large. Additional security has forced changes to the backup processes. In just looking at the databases there are an additional 60 or more tables, so that creates a number of restoring issues alone. To bring Moodle 1.9.x courses into Moodle 2.0 is a monumental challenge, and full credit to those who are trying it. There is, currently, one commercial Windows based solution but it is not fully successful in its restoration of courses. &lt;br /&gt;
 &lt;br /&gt;
: &#039;&#039;&#039;NOTE:&#039;&#039;&#039; Moodle 2.0 can backup and restore courses from within itself perfectly, the issue appears to be centred on v1.x.x courses.&lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;UPDATE:&#039;&#039;&#039; Moodle 2.1 was released on July 1, 2011 and can now restore course files from backups made in v1.9.x.  No users or user data can be restored.&lt;br /&gt;
&lt;br /&gt;
===How do I look up the error logs in Moodle 2.0?===&lt;br /&gt;
First, turn the error logs on, go to&lt;br /&gt;
&lt;br /&gt;
  Site administration ► Development ► Debugging&lt;br /&gt;
&lt;br /&gt;
and set error messages to DEVELOPER: .... Then go to&lt;br /&gt;
&lt;br /&gt;
  Site administration ► Reports ► Logs&lt;br /&gt;
&lt;br /&gt;
set your report options to Home 2.0(Site), All Participants, All Activities or Site Errors, View, Display on Page and then click, &amp;quot;Get these logs&amp;quot;. The report should give you something, and you may be able to develop an appropriate response from there.&lt;br /&gt;
&lt;br /&gt;
===Do I try to upgrade to Moodle 2.0 or just create a new install?=== &lt;br /&gt;
There is always debate around these issues, but simply put, Moodle 2.0 is a complete re-write of a tried and tested tool. This presents its own challenges, obviously, and those challenges need be met in the best way we can. It is a temptation to go all in and jump to the new tool, but this can be a dangerous practice when dealing with a lot of people who are resistant to change, and the change from Moodle 1.9.x to 2.0 is massive.&lt;br /&gt;
  Upgrading to Moodle 2.0 has always been an option, but make sure your environment will meet the newer specifications. &lt;br /&gt;
Consider your own circumstances. Are you starting out on the Moodle journey or have you just been dropped into it? Perhaps you are starting out, and you have no resources or courses and you are building for the next few months when you want it to become a part of your learning centre and a showpiece for your institute. A complete new Moodle 2.x.x install and starting from scratch is most appropriate in this circumstance. All major features work in it and some of the tools are a lot more interesting than for Moodle 1.9.x. &lt;br /&gt;
  Don&#039;t worry about Moodle 1.9.x, just use the new Moodle 2.x.x and learn it if you are starting from scratch.&lt;br /&gt;
If you have been dropped into it, and have a lot of courses, and you need to administer your Moodle 1.9.x as well as look at updating, then the next best option is to install a new Moodle and open it just for your Administrators and Staff. Let them get used to the new interface, develop training courses around the new Moodle, not just for staff but for Users as well. Aim at your staff first, let them learn it then they can be more confident in using the new Moodle when they come to teaching their Users/Students. &lt;br /&gt;
  In short, best advice is NOT to install a Moodle 2.0 as a production site without thoroughly testing and training first. &lt;br /&gt;
To install and run more than one Moodle successfully is actually simple. Install your Moodle 2.0 and then go to &#039;&#039;&#039;&#039;&#039;Site administration &amp;gt; Server &amp;gt; Session handling&#039;&#039;&#039;&#039;&#039;. Look for the Cookie prefix dialogue and add a value to it. Repeat the exercise in every other Moodle you have on your server, it should all work as it is supposed to - as long as the cookie prefixes are different for every Moodle, of course. &lt;br /&gt;
&lt;br /&gt;
[[Image:cookieprefix.png|frame|center|Cookie prefix for Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
Essentially, take your time and not be in too much of a rush if you have to convert your Staff and Learners to a new tool. Let the Staff get used to it first, then you can make the swap any time.&lt;br /&gt;
&lt;br /&gt;
If you do update your v1.9.x to v 2.0, and experience some problems, you may want to consider putting the issues and any error messages into a [http://tracker.moodle.org/secure/Dashboard.jspa Moodle Tracker item]. If you do, you may be providing information to resolve a number of updating issues for a lot of people.&lt;br /&gt;
&lt;br /&gt;
===Well, we want to try and upgrade to test our systems.===&lt;br /&gt;
Try, by all means. However, there are a couple of issues you may need be aware of. &lt;br /&gt;
&lt;br /&gt;
A rough guide and checklist: &lt;br /&gt;
#Plugins that work in Moodle 1.9.x may not be updated to Moodle 2.0. Check your plugins. Are you using any non-core plugins? &lt;br /&gt;
#Can you remove any non-core plugins? &lt;br /&gt;
#Have you backed up your database?&lt;br /&gt;
#Have you backed up your moodledata folder? &lt;br /&gt;
#Have you allocated additional time make the update, as a contingency?&lt;br /&gt;
&lt;br /&gt;
You may not necessarily have to remove the non-core plugins from the Moodle, or, they may still be present in the database even if you have deleted them from your Moodle Mod folder. The issue arising is that some plugins appear to be causing update errors as there is no matching core plugin from Moodle 2.0, or the plugin APIs are different and cannot accommodate the older plugins, or the older plugins that have not been properly maintained, cannot handle the newer environment. &lt;br /&gt;
&lt;br /&gt;
: &#039;&#039;&#039;NOTE:&#039;&#039;&#039;This is not meant to be an exhaustive checklist or to scare people off trying to upgrade their v1.9.x to v2.0.x, just be aware that Moodle 2.0 is still a work in progress, as is this checklist.&lt;br /&gt;
&lt;br /&gt;
===We have extensively used the Book for parts of our previous Moodle, can we do so for Moodle 2.0?===&lt;br /&gt;
The really good news is that Petr Skoda (Skodak) has the Maintainer role for the [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=319&amp;amp;filter=1 Book plugin/module]. Petr announced some time back that when his major coding tasks for Moodle 2.0 had been done, he was taking a short break then he would begin work on updating the Book for Moodle 2.0. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;UPDATE&#039;&#039;&#039;: Petr&#039;s updating of the Book module is now complete, and is available at the above link. Initial testing shows it installs easily and seems to run faster than the original. Seems the code has been better optimized by Petr, who deserves a hearty congratulations!!!&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please note:&#039;&#039;&#039; the book module is available as standard in Moodle 2.3&lt;br /&gt;
&lt;br /&gt;
===That is OK for the Book, but what about other plugins and blocks?===&lt;br /&gt;
As a general rule-of-thumb, if a plugin or block has not been maintained through Moodle 1.9.x then it is extremely unlikely it will make it to Moodle 2.0.x. This means the developer has not kept it current and may feel it is too much of a distraction from their current projects to keep active. This does not mean that you, or someone else, may not take it on, as long as you ensure that what you are working with is creative commons, open source or other non-proprietal software and you are not infringing either copyright or intellectual property rights. If you are not sure, try to contact the developer or last maintainer, they may be different - if required, get permission from them to continue development. Of course, you may also seek to develop an entirely new plugin, or block, but it is clear that it is actually duplicating something that already exists or was used in earlier versions of Moodle, but is no longer current. As long as you can prove the provenance of such a plugin or block, and do not use any code from anywhere else that is not original or acknowledged where the code came from, then you should be OK. For ideas and guidelines around developing or updating a plugin, look at this page from [https://docs.moodle.org/dev/Developer_documentation Developer Documentation].  You can also join a [http://dev.moodle.org/ class of developers] and learn how it can be done.&lt;br /&gt;
&lt;br /&gt;
===I am getting error messages about plugins and the installation stops when upgrading. What do I do?===&lt;br /&gt;
Quite frequently, not a lot at all, you can just continue on. Many of these messages are just that, messages, they are not supposed to stop or break the installation, they are just warnings that not all is working as you may be used to in an install. Usually they relate to plugins that are not part of Moodle 2.0 yet. Moodle is designed to display a message, but continue on. Or, you can consider that, given the above, upgrading is not really viable and just do a fresh install. If those messages continue, then you have another problem. If there were database errors, or code errors, then it is different, you really do need to stop and investigate.&lt;br /&gt;
&lt;br /&gt;
===We are installing Moodle and getting error messages about not using the unicode or UTF-8 charset===&lt;br /&gt;
In recent times, this has become an issue with CPanel and Fantastico installers on some Linux servers. Apparently the default charset for these tools is a latin_swedish_ci charset. Moodle requires the UTF-8 charset. This is a relatively simple fix, if you have the right tools. Install phpMyAdmin and check it is working, if you do not already have it. You can then go to the SQL page and enter the following code:&lt;br /&gt;
  ALTER DATABASE `moodle` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;&lt;br /&gt;
There have been, in the past, reports of tables that do not change using this SQL code, so try:  &lt;br /&gt;
  ALTER TABLE `mdl_tablename` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci; &lt;br /&gt;
There have been no reasons as to why some tables are missed, but you can alter individual tables by using the code above. The code should look something like: &lt;br /&gt;
&lt;br /&gt;
[[Image:altertablesqlm202.png|frame|center|Changing the charset in Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;This also works in Moodle 1.9.x IF you use the utf8_general_ci charset.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; This SQL is supposed to work across the database, but recent reports suggest that the ALTER DATABASE seems to have a number of issues stemming from problems with the GRANT command. GRANT &amp;lt;nowiki&amp;gt;[permissiontype]&amp;lt;/nowiki&amp;gt; is supposed to allow a user to access the entire database, but it no longer appears to be the case. The ALTER TABLE SQL has not been affected by this issue.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;FURTHER NOTE:&#039;&#039;&#039; When using the ALTER DATABASE SQL, it appears to be diverted to altering the &#039;&#039;db.opt&#039;&#039; file, but is not continued into the tables of the database. So whether this is a deliberate security feature of more recent editions of MySQL or not is, at this stage, unknown. How this affects Postgres, or Oracle databases is also unknown.&lt;br /&gt;
&lt;br /&gt;
===OK, but how can we tell what tables are not converted?===&lt;br /&gt;
Using phpMyAdmin, you can find out almost anything you like about your database, as long as you know where to look. There is some real documentation about using phpMyAdmin that is linked both in the left and right panels. Go to the Database tab and then select the database you want to look at.&lt;br /&gt;
&lt;br /&gt;
[[Image:selectdatabasetab.png|thumb|150px|frame|center|Selecting the database tab in Moodle 2.0]]&lt;br /&gt;
&lt;br /&gt;
Once selected, you will see what the charset is of each table. Any table that does not comply you can change using the table SQL code above. &lt;br /&gt;
&lt;br /&gt;
[[Image:phpmyadmintablelisting.png|frame|center|Checking the table listings in phpMyAdmin]]&lt;br /&gt;
&lt;br /&gt;
===How do I get and install phpMyAdmin?===&lt;br /&gt;
phpMyAdmin is another very useful plugin. In Moodle 2.0 the plugin has been updated and is now located in a different place than it was in earlier versions. Go to the [http://moodle.org/mod/data/view.php?d=13&amp;amp;rid=448&amp;amp;filter=1 phpMyAdmin page in Modules and Plugins] and download the Moodle 2.0 version. Unzip it to the &#039;&#039;&#039;moodle/local&#039;&#039;&#039; folder and then go to &#039;&#039;&#039;Notifications&#039;&#039;&#039;. Moodle will then tell you it has been successfully installed. If you look in Administration &amp;gt; Server you will now find a line &amp;quot;phpMyAdmin&amp;quot;. To access your database, click the link. &lt;br /&gt;
&lt;br /&gt;
===When I update over a 1.9 install, I get an error message about an incompatible plugin and it all stops. What can I do?===&lt;br /&gt;
&lt;br /&gt;
One piece of advice is that you just do not do that!&lt;br /&gt;
&lt;br /&gt;
Sometimes, a file/folder will be removed from the code between one version of Moodle and the next. If you upgrade Moodle by copying the new Moodle code over the top of the old code, then the older files not duplicated or no longer existent, or just disused and dropped, will remain, and can break things.&lt;br /&gt;
&lt;br /&gt;
The correct way to upgrade is (assuming your Moodle code is in a folder called &amp;lt;tt&amp;gt;moodle&amp;lt;/tt&amp;gt; on the server:&lt;br /&gt;
# Upload the new code onto the server into a folder with a temporary name, like &amp;lt;tt&amp;gt;moodle_new&amp;lt;/tt&amp;gt;.&lt;br /&gt;
# Copy the &amp;lt;tt&amp;gt;config.php&amp;lt;/tt&amp;gt; file from the moodle folder to the &amp;lt;tt&amp;gt;moodle_new&amp;lt;/tt&amp;gt; folder.&lt;br /&gt;
# For any third-party plugins you have installed, copy them into &amp;lt;tt&amp;gt;moodle_new&amp;lt;/tt&amp;gt;. (Make sure the plugin is compatible with the version of Moodle you are upgrading to.)&lt;br /&gt;
# Then rename the &amp;lt;tt&amp;gt;moodle&amp;lt;/tt&amp;gt; folder to &amp;lt;tt&amp;gt;moodle_old&amp;lt;/tt&amp;gt;, and then rename &amp;lt;tt&amp;gt;moodle_new&amp;lt;/tt&amp;gt; to &amp;lt;tt&amp;gt;moodle&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If you insist though, then you can expect to be getting all sorts of error messages. Given the fundamental changes to the database and the manner in which plugins are structured, and employed, in Moodle 2.0.x this is a very time consuming and, ultimately, futile (I would suggest) approach. You can, of course, remove all non-core plugins, and their corresponding tables from the database, and then you give yourself a chance at getting through it somewhat less scathed, but I doubt it.&lt;br /&gt;
&lt;br /&gt;
===What is happening to my uploaded files? I cannot see them in the moodledata folder!===&lt;br /&gt;
To improve security, Moodle has change how files are stored in the moodledata folder. There are there, but no longer obvious. When a file is uploaded it is given a storage name, an encrypted name, and it is placed into a specific folder within the moodledata folder. That folder&#039;s name is directly related to the file storage name. So we have a file with an encrypted name, inside a folder with a related name, inside the moodledata folder. Now comes the nifty part, these encrypted names are used as connections to the database. The database stores those encrypted names as aliases for the files and uses them to link the files to the courses. You see them, but you do not see them, well they are not obvious. Unfortunately, you cannot edit them in place, like you could files in Moodle 1.9.x you have to edit them, delete the older file and upload the new ones.&lt;br /&gt;
&lt;br /&gt;
==See Also==&lt;br /&gt;
&lt;br /&gt;
*[[Beginning Moodle 2.x Administration 2 FAQ |  Beginning Moodle 2.x Administration 2 FAQ ]] &lt;br /&gt;
*[[:Category:Administrator | Index of all Administrator-related pages]]&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;/div&gt;</summary>
		<author><name>Colinfraser</name></author>
	</entry>
</feed>