<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alrachels</id>
	<title>MoodleDocs - Contribucions de l&amp;#039;usuari [ca]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/2x/ca/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Alrachels"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/Especial:Contribucions/Alrachels"/>
	<updated>2026-04-17T03:22:59Z</updated>
	<subtitle>Contribucions de l&amp;#039;usuari</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Text_editor&amp;diff=104554</id>
		<title>Text editor</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Text_editor&amp;diff=104554"/>
		<updated>2013-05-22T15:03:55Z</updated>

		<summary type="html">&lt;p&gt;Alrachels: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Editing text}}&lt;br /&gt;
The text editor (sometimes referred to as the &#039;HTML editor&#039; or even &#039;TinyMCE&#039;) has many icons to assist the user in entering content.  Many of these icons and functions should be familiar to anyone who uses a word processor.  Some examples of where you will see the text editor include: Editing Section headings, description of an activity, writing an answer to a quiz question or editing the content of many blocks.&lt;br /&gt;
&lt;br /&gt;
[[Image:HTMLeditor tools M2 1.png|thumb|The standard version of the text editor tool bar]]&lt;br /&gt;
&lt;br /&gt;
==List of groups==&lt;br /&gt;
For those who are not familiar with the tool bar, here are the functions listed by group using the above example.  Remember that the site administrator can edit or provide additonal toolbars.&lt;br /&gt;
&lt;br /&gt;
Row 1&lt;br /&gt;
*[[Image:HTML_editor_group_font_style.png]] - Font, size and heading group&lt;br /&gt;
*[[Image:HTML_editor_group_undo_redo.png]] - Undo and Redo group&lt;br /&gt;
*[[Image:HTML_editor_group_find_replace.png]] - Find and Replace group&lt;br /&gt;
*[[Image:HTML_editor_group_fullscreen_1.png]]|Full screen toggle&lt;br /&gt;
Row 2&lt;br /&gt;
*[[Image:HTML editor group text effects.png]] - Text effect group&lt;br /&gt;
*[[Image:HTML editor group line format.png]] - Line format group&lt;br /&gt;
*[[Image:HTML_editor_group_formatting.png]] - Formatting group&lt;br /&gt;
*[[Image:HTML_editor_group_color.png]] - Color group&lt;br /&gt;
*[[Image:HTML_editor_group_paragraph.png]] - Paragraph group&lt;br /&gt;
&lt;br /&gt;
Row 3&lt;br /&gt;
*[[Image:HTML_editor_group_lists.png]] - Number and Bullets and indents&lt;br /&gt;
*[[Image:HTML_editor_group_link.png]] - Link group&lt;br /&gt;
*[[Image:HTML_editor_group_insert.png]] - Insert group&lt;br /&gt;
*[[Image:HTML_editor_group_HTML_spell.png]] - HTML source toggle &amp;amp; spellchecker&lt;br /&gt;
&lt;br /&gt;
==Special features==&lt;br /&gt;
&lt;br /&gt;
===Color pickers===&lt;br /&gt;
*[[Image:HTML_editor_group_color.png]]&lt;br /&gt;
There are four levels of selecting a font or background color, &lt;br /&gt;
*A quick pick 5x8 matrix of colors&lt;br /&gt;
*&amp;quot;More colors&amp;quot; that links to Picker, Pallet and Named tabs&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:HTML_editor_color_selector_basic_1.png|A quick pick 5x8 matrix of colors&lt;br /&gt;
Image:HTML_editor_color_selector_more_picker_1.png|A rainbow color picker tab&lt;br /&gt;
Image:HTML_editor_color_selector_more_pallet_1.png|A Pallet tab with a 18x12 matrix of colors&lt;br /&gt;
Image:HTML_editor_color_selector_more_named_1.png|A Named tab with custom pallets&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Insert images and media===&lt;br /&gt;
[[Image:HTML_editor_group_insert_MU_1.png|thumb|The Insert images and media group]]&lt;br /&gt;
&lt;br /&gt;
* 1 Insert Image - uses [[File picker]]&lt;br /&gt;
* 2 Insert Emoticon (only visible if the site administrator has enabled the &amp;quot;show emoticons as images&amp;quot; &#039;&#039;filter in Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Filters&amp;gt;Manage filters&#039;&#039;)&lt;br /&gt;
* 3 Insert Media - uses [[File picker]]&lt;br /&gt;
* 4 Insert Equation - uses java script editor&lt;br /&gt;
* 5 Insert Non breaking space &lt;br /&gt;
* 6 Insert Custom character - Special keyboard characters&lt;br /&gt;
* 7 Insert Table -&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery widths=&amp;quot;300px&amp;quot;&amp;gt;&lt;br /&gt;
Image:Files_File_picker_upload_files_add_1.png|File picker Upload file screen&lt;br /&gt;
Image:HTML editor equation editor 1.png|Equation editor&lt;br /&gt;
Image:HTML_editor_custom_character_selector_1.png|Custom character selector&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Insert table====&lt;br /&gt;
&amp;lt;gallery widths=&amp;quot;300px&amp;quot;&amp;gt;&lt;br /&gt;
Image:HTMLeditor_Insert_Table_general_1.png|General tab&lt;br /&gt;
Image:HTMLeditor_Insert_Table_advanced_1.png|Advanced tab&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To add borders to a table&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Cell borders are crucial for helping readers to follow the rows across the screen. If they aren’t showing already you can add them as follows:&lt;br /&gt;
&lt;br /&gt;
#In the Wiki page containing your table, click its Edit tab&lt;br /&gt;
#Carefully select all the cells of the table&lt;br /&gt;
#Then right click (Macs: Command+click or Ctrl+Click) over any part of your selection to get a context menu; from it select Cell &amp;gt; Table Cell Properties; the cell properties dialog box then loads.&lt;br /&gt;
#Click on its Advanced tab, set Border Color to black (for instance), then click Apply, and then click Update.&lt;br /&gt;
#Click Save; the Wiki page containing your table will then load displaying its borders.&lt;br /&gt;
&lt;br /&gt;
==Site administration settings==&lt;br /&gt;
&lt;br /&gt;
===Manage editors===&lt;br /&gt;
&lt;br /&gt;
A site administrator can enable / disable text editors in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Text editors &amp;gt; Manage editors&#039;&#039;. By default the TinyMCE HTML editor and plain text area are enabled.&lt;br /&gt;
&lt;br /&gt;
===TinyMCE editor settings===&lt;br /&gt;
{{New features}}&lt;br /&gt;
The TinyMCE  HTML editor has its own settings page &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Text editors&amp;gt;TinyMCE HTML editor&amp;gt;General settings&#039;&#039; with the following options:&lt;br /&gt;
&lt;br /&gt;
====Plugins====&lt;br /&gt;
*Buttons for equations, emoticons,images, media, automatic linking, and spell-checking may be enabled, disabled or uninstall here by clicking on their eye.&lt;br /&gt;
*Additionally the equation, emoticon and spell check buttons have links to their Settings screens.&lt;br /&gt;
&lt;br /&gt;
[[File:pluginstexteditor.png |thumb|none|upright=2.0|alt=&amp;quot;The TinyMCE editor plugins screen&amp;quot; | The TinyMCE editor plugins screen]]&lt;br /&gt;
&lt;br /&gt;
=====Insert equation=====&lt;br /&gt;
&lt;br /&gt;
Accessed from &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Text editors&amp;gt;TinyMCE HTML editor&amp;gt;Edit equation&#039;&#039;, this allows you to enable or disable the  TeX filter in the editor context and thereby display the Dragmath button. If you have a global custom TeX filter, then disable this setting.&lt;br /&gt;
&lt;br /&gt;
=====Insert emoticon=====&lt;br /&gt;
Accessed from &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Text editors&amp;gt;TinyMCE HTML editor&amp;gt;Insert emoticon&#039;&#039;, this allows you to enable or disable the emoticon filter in the editor context and thereby display the emoticon button.&lt;br /&gt;
&lt;br /&gt;
=====Spell checker=====&lt;br /&gt;
If you want to disable the TinyMCE spell checker and rely on browser spell checker functionality instead, you can do this by disabling the &#039;&#039;spellchecker&#039;&#039; plugin by clicking the eye in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Text editors &amp;gt; TinyMCE HTML editor &amp;gt; General settings&#039;&#039; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can select a different spell engine from &#039;&#039;Settings&amp;gt; Site administration &amp;gt; Plugins &amp;gt; Text editors &amp;gt; TinyMCE HTML editor&amp;gt;Check spelling&#039;&#039;  and can choose languages for the spell checking feature &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:Spellengine.png|thumb|Choosing a different spell engine]]&lt;br /&gt;
|[[File:spelllanguagelist.png|thumb|add additional languages for spell checking]]&lt;br /&gt;
|[[File:Spellcheck.png|thumb|Spell checking in action in the editor]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If PSpellSpell is selected then aspell 0.50 or later must be installed on your server and the path to aspell set in Settings &amp;gt; Site administration &amp;gt; Server &amp;gt; System Paths.&lt;br /&gt;
&lt;br /&gt;
===Customising the editor toolbar===&lt;br /&gt;
{{New features}}&lt;br /&gt;
&lt;br /&gt;
An administrator can remove or add buttons to the TinyMCE editor toolbar by altering the Editor toolbar box in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Text editors&amp;gt;TinyMCE HTML editor&amp;gt;General settings&#039;&#039; as demonstrated in the screencast [http://youtu.be/vTW1DImro9c Customise the text editor in 2.4]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
| [[File:editortoolbar.png|thumb|The Editor toolbar box]]&lt;br /&gt;
|[[File:horizontalrule.png|thumb|Example of simpler toolbar with added horizontal rule button]]&lt;br /&gt;
|[[File:inserttime.png|thumb|An &amp;quot;insert time&amp;quot; button has been added]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Here is the [http://www.tinymce.com/wiki.php/Buttons/controls default list of TinyMCE buttons available for use]&lt;br /&gt;
&lt;br /&gt;
====Available fonts list====&lt;br /&gt;
&lt;br /&gt;
In addition to the default fonts, a site administrator can add extra fonts by typing their name and string in the box in &#039;&#039;Settings &amp;gt; Site administration &amp;gt; Plugins &amp;gt; Text editors &amp;gt; TinyMCE HTML editor&amp;gt;General settings&#039;&#039; as demonstrated in the screencast [http://youtu.be/udP7Bnur30Y How to add extra fonts].&lt;br /&gt;
{|&lt;br /&gt;
|[[File:comicsans.png|thumb|Example of custom font]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
====Custom configuration====&lt;br /&gt;
{{New features}}&lt;br /&gt;
A new setting from 2.4.1 in &#039;&#039;Settings&amp;gt;Site administration&amp;gt;Plugins&amp;gt;Text editors&amp;gt;TinyMCE HTML editor&amp;gt;General settings&#039;&#039; provides  a box in which an administrator can apply custom formats. See MDL-37186 for more details with examples,  and see also the [http://www.tinymce.com/wiki.php/Configuration:formats TinyMCE configuration page]&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|[[File:bottomtoolbar.png|thumb| Example 1:Toolbar at the bottom]]&lt;br /&gt;
|[[File:customstyles.png|thumb| Example 2: Custom styles]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
*Example 1: Moving the toolbar to the bottom:&lt;br /&gt;
&lt;br /&gt;
Add the following:&lt;br /&gt;
 {&amp;quot;theme_advanced_toolbar_location&amp;quot; : &amp;quot;bottom&amp;quot;}&lt;br /&gt;
*Example 2: Adding your own custom styles.&lt;br /&gt;
(This might be useful for example if you want a &amp;quot;house style&amp;quot; for important notes, key points or similar)&lt;br /&gt;
In the editor toolbar, enter &amp;quot;styleselect&amp;quot; and then in the custom box add the following code, changing it to suit your purposes:&lt;br /&gt;
 {&amp;quot;style_formats&amp;quot; : [&lt;br /&gt;
  {&amp;quot;title&amp;quot; : &amp;quot;Bold text&amp;quot;, &amp;quot;inline&amp;quot; : &amp;quot;b&amp;quot;},&lt;br /&gt;
  {&amp;quot;title&amp;quot; : &amp;quot;Red text&amp;quot;, &amp;quot;inline&amp;quot; : &amp;quot;span&amp;quot;, &amp;quot;styles&amp;quot; : {&amp;quot;color&amp;quot; : &amp;quot;#ff0000&amp;quot;}},&lt;br /&gt;
  {&amp;quot;title&amp;quot; : &amp;quot;Red header&amp;quot;, &amp;quot;block&amp;quot; : &amp;quot;h1&amp;quot;, &amp;quot;styles&amp;quot; : {&amp;quot;color&amp;quot; : &amp;quot;#ff0000&amp;quot;}} ]}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
* [[Text editor FAQ]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Site administration]]&lt;br /&gt;
&lt;br /&gt;
[[de:Text-Editor]]&lt;/div&gt;</summary>
		<author><name>Alrachels</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Short-Answer_question_type&amp;diff=100907</id>
		<title>Short-Answer question type</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Short-Answer_question_type&amp;diff=100907"/>
		<updated>2012-10-01T23:39:09Z</updated>

		<summary type="html">&lt;p&gt;Alrachels: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Questions}}&lt;br /&gt;
In a short answer question, the student types in a word or phrase in response to a question (that may include a image). Answers may or may not be case sensitive. The answer could be a word or a phrase, but it must match one of your acceptable answers exactly. It&#039;s a good idea to keep the required answer as short as possible to avoid missing a correct answer that&#039;s phrased differently.&lt;br /&gt;
&lt;br /&gt;
The [[Quiz]] and [[Lesson module|Lesson]] modules both have short answer question types.  The analysis of the question given below works for both modules.  However there is another analysis type available for Lesson which is not available in a Quiz (see note below).&lt;br /&gt;
&lt;br /&gt;
==Question set-up==&lt;br /&gt;
#Select the question category&lt;br /&gt;
#Give your question a descriptive name.&lt;br /&gt;
#Create the question text. If you&#039;re using the HTML Editor, you can format the question just like a word processing document.&lt;br /&gt;
#*Tip: if the answer is intended to fill a gap in the text, use underscores (5 or more) to indicate where the gap is.&lt;br /&gt;
#Select an image to display if you want to add a picture to the question (see step 4 in [[Multiple Choice question type]] for more detail).&lt;br /&gt;
# Set the &#039;default question grade&#039; (i.e. the maximum number of marks for this question).&lt;br /&gt;
# Set the &#039;Penalty factor&#039; (see [[Short-Answer_question_type#Penalty_factor|Penalty factor]] below).&lt;br /&gt;
# If you wish, add general feedback. This is text that appears to the student after he/she has answered the question. &lt;br /&gt;
#Choose whether the answers are case-sensitive. Case sensitivity can be tricky where capitalization is important. Will you accept &#039;&#039;	Ban Ki-moon&#039;&#039; as well as &#039;&#039;ban ki-moon&#039;&#039; as an answer?&lt;br /&gt;
#Next, fill in the answers you will accept. You could give common misspellings partial credit with this option. For example will you accept &amp;quot;Ban Ki moon&amp;quot;?  Use [[Short-Answer_question_type#Wildcard_usage|wildcards]] to allow for variants on a word pr phrase. &lt;br /&gt;
#Add grade for each answer.&lt;br /&gt;
#Create feedback for any and all answers. This will appear if the student enters that answer.&lt;br /&gt;
#*&#039;&#039;&#039;Note:&#039;&#039;&#039; It is good practice to add a single wild card * for the last answer, so you can create a feedback response and a score for all other answers students might have.&lt;br /&gt;
#Click Save Changes to add the question to the category.&lt;br /&gt;
&lt;br /&gt;
=== Penalty factor ===&lt;br /&gt;
&lt;br /&gt;
The &#039;penalty factor&#039; only applies when the question is used in a quiz using adaptive mode - i.e. where the student is allowed multiple attempts at a question even within the same attempt at the quiz. If the penalty factor is more than 0, then the student will lose that proportion of the &#039;&#039;&#039;maximum&#039;&#039;&#039; grade upon each successive attempt. For example, if the default question grade is 10, and the penalty factor is 0.2, then each successive attempt after the first one will incur a penalty of 0.2 x 10 = 2 points.&lt;br /&gt;
&lt;br /&gt;
==Wildcard usage==&lt;br /&gt;
&lt;br /&gt;
You can use the asterisk character (*) as a wildcard to match any series of characters. For example, use &amp;lt;code&amp;gt;ran*ing&amp;lt;/code&amp;gt; to match any word or phrase starting with &#039;&#039;ran&#039;&#039; and ending with &#039;&#039;ing&#039;&#039;. If you really do want to match an asterisk then use a backslash like this: &amp;lt;code&amp;gt;\*&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want one question with the two answers &#039;&#039;fuel&#039;&#039; and &#039;&#039;oxygen&#039;&#039;, you ought to be able to limit the number of variants  by writing &amp;lt;code&amp;gt;fuel*oxygen 100%&amp;lt;/code&amp;gt;. This would accept &#039;&#039;&amp;quot;fuel oxygen&amp;quot;, &amp;quot;fuel, oxygen&amp;quot;, &amp;quot;fuel; oxygen&amp;quot;, &amp;quot;fuel and oxygen&amp;quot;, &amp;quot;fuel &amp;amp; oxygen&amp;quot; &amp;quot;fuel oxygen&amp;quot;, &amp;quot;fuel  und oxygen&amp;quot; &amp;quot;fuel&amp;amp;&amp;amp;oxygen&amp;quot;&#039;&#039;. It would even accept &#039;&#039;&amp;quot;fuel or oxygen&amp;quot;, &amp;quot;fuel but not oxygen&amp;quot; &amp;quot;fuel|oxygen&amp;quot;&#039;&#039; which might not be so good but you can never be completely safe!&lt;br /&gt;
&lt;br /&gt;
Here are some answers and scores for a question &amp;quot;What does a rocket burn?&amp;quot;.&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;oxygen*fuel&amp;lt;/code&amp;gt; with a score 100% &amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;*fuel*&amp;lt;/code&amp;gt; with a score 50%&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;*oxygen*&amp;lt;/code&amp;gt; with a score 50%&amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;*air*&amp;lt;/code&amp;gt; with a score 40% &amp;lt;br&amp;gt;&lt;br /&gt;
#&amp;lt;code&amp;gt;* &amp;lt;/code&amp;gt; with a score of 0%&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The order of the answers is important. The answers are evaluated from 1st to last. When a match is found the process stops.  If no match is found the question is scored wrong and the general response is used.  It is a good practice to put a wild card as the last answer so the evaluation process knows what to do when nothing above it matches.&lt;br /&gt;
&lt;br /&gt;
Without wildcards, the answers are compared exactly, so be careful with your spelling!&lt;br /&gt;
&lt;br /&gt;
==Feedback for wrong answers==&lt;br /&gt;
&lt;br /&gt;
When you wish to have short answer type questions, you naturally have a limited number of variations that would be acceptable. So in case you wish to give a feedback in case of a wrong answer, you must spell out the right answers exactly and then use * as a final answer which will have grade as zero, and feedback will be the one for wrong answer.&lt;br /&gt;
&lt;br /&gt;
Effectively, ANYTHING other than the specific answers mentioned by you will be treated as this option due to wildcard and will be deemed wrong; it&#039;ll give 0 marks and show the feedback for a wrong answer.&lt;br /&gt;
&lt;br /&gt;
Here is an example:&lt;br /&gt;
&lt;br /&gt;
What is a rabbit?&lt;br /&gt;
&lt;br /&gt;
answer1: animal&amp;lt;br /&amp;gt;&lt;br /&gt;
feedback: right&amp;lt;br /&amp;gt;&lt;br /&gt;
grade: 100%&lt;br /&gt;
&lt;br /&gt;
answer2: mammal&amp;lt;br /&amp;gt;&lt;br /&gt;
feedback: right&amp;lt;br /&amp;gt;&lt;br /&gt;
grade: 100%&lt;br /&gt;
&lt;br /&gt;
answer3: vertebrate&amp;lt;br /&amp;gt;&lt;br /&gt;
feedback: right&amp;lt;br /&amp;gt;&lt;br /&gt;
grade: 100%&lt;br /&gt;
&lt;br /&gt;
answer4: *&amp;lt;br /&amp;gt;&lt;br /&gt;
feedback: ouch! that was wrong&amp;lt;br /&amp;gt;&lt;br /&gt;
grade: none&lt;br /&gt;
&lt;br /&gt;
Remember: you cannot do negative marking in this type and ANYTHING other than your right answer will be treated as option 4 due to the wildcard and given that feedback and zero marks.&lt;br /&gt;
&lt;br /&gt;
==Tip: Prototype your questions==&lt;br /&gt;
You may like to prototype your short answer questions to catch common acceptable answers you hadn&#039;t thought of. Start out by creating a few acceptable answers, then include the question in a quiz for no points. Be sure to tell students you are testing a new question. Once the quiz is over, review students&#039; answers and add their acceptable answers to the list.&lt;br /&gt;
&lt;br /&gt;
==Lesson module note==&lt;br /&gt;
&lt;br /&gt;
In the Lesson module, there are two different student answer analysis systems available for the Short Answer type of question: the &#039;&#039;simple system &#039;&#039;is used by default.  The second type only available in Lesson Module is called &amp;quot;Regular Expressions&amp;quot;.  See [[Short answer analysis]] for a description of the new type, with examples.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
[[MP3_player#Inserting_sounds_into_questions|Adding sound to a question]]&lt;br /&gt;
&lt;br /&gt;
[[fr:Question à réponse courte]]&lt;br /&gt;
[[ca:Tipus_de_pregunta_de_resposta_breu]]&lt;br /&gt;
[[ja:記述問題タイプ]]&lt;br /&gt;
[[de:Kurzantwort-Fragen]]&lt;/div&gt;</summary>
		<author><name>Alrachels</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/2x/ca/index.php?title=Using_TeX_Notation_3&amp;diff=100189</id>
		<title>Using TeX Notation 3</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/2x/ca/index.php?title=Using_TeX_Notation_3&amp;diff=100189"/>
		<updated>2012-08-22T00:37:00Z</updated>

		<summary type="html">&lt;p&gt;Alrachels: /* Intersecting Lines */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&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: line11.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;
==See Also==&lt;br /&gt;
&lt;br /&gt;
* [[Using TeX Notation]]&lt;br /&gt;
* [[Using TeX Notation 2]]&lt;br /&gt;
* [[Using TeX Notation 4]]&lt;br /&gt;
&lt;br /&gt;
[[Category: Mathematics]]&lt;/div&gt;</summary>
		<author><name>Alrachels</name></author>
	</entry>
</feed>