Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Using MimeTeX 2: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Línia 197: Línia 197:


NOTE: Most delimiters and constructs need additional parameters for them to appear appropriately.
NOTE: Most delimiters and constructs need additional parameters for them to appear appropriately.
{|
{| class="nicetable"
|-
|-
| \{x
| \{x
Línia 203: Línia 203:
| x | \}
| x | \}
| <math>x | \} </math>   
| <math>x | \} </math>   
| \(
| <math> \left(x </math> 
| \)
|-
| <math> x| \right) </math> 
| \rangle
| \rangle
| <math> \rangle </math>   
| <math> \rangle </math>   
Línia 215: Línia 210:
| \angle
| \angle
| <math> \angle </math>   
| <math> \angle </math>   
| \|
| \=
| <math> \| </math>   
| <math> \| </math>   
| \sqrt{ab}
| \sqrt{ab}
| <math> \sqrt{ab}</math>   
| <math> \sqrt{ab}</math>   
|-
| \sqrt[n]{ab}
| \sqrt[n]{ab}
| <math> \sqrt[n]{ab}</math>   
| <math> \sqrt[n]{ab}</math>   
|-
| \frac{ab}{cd}
| \frac{ab}{cd}
| <math> \frac{ab}{cd}</math>   
| <math> \frac{ab}{cd}</math>   
| \backslash
| \backslash
| <math> \backslash</math>   
| <math> \backslash</math>   
|-
| \widetilde{ab}
| <math> \widetilde{ab}</math> 
| \widehat{ab}
| \widehat{ab}
| <math> \widehat{ab}</math>   
| <math> \widehat{ab}</math>   
| \$
| <math> \$ </math> 
|-
| \overline{ab}
| \overline{ab}
| <math> \overline{ab}</math>   
| <math> \overline{ab}</math>   
|-
| \underline{ab}
| \underline{ab}
| <math> \underline{ab}</math>   
| <math> \underline{ab}</math>   
| \$
| <math> \$ </math> 
| \therefore
| \therefore
| <math> \therefore</math>   
| <math> \therefore</math>   
| \ddots
| <math> \ddots</math> 
|-
|-
| \%
| \%
Línia 245: Línia 239:
| \#
| \#
| <math> \# </math>   
| <math> \# </math>   
| \angle
| <math> \angle</math> 
|-
| \vdots
| \vdots
| <math> \vdots</math>   
| <math> \vdots</math>   
| \ddots
| <math> \ddots</math> 
| \emptyset
| \emptyset
| <math> \emptyset</math>   
| <math> \emptyset</math>   
|}
|}
WARNINGS: The & character in </math>LaTeX</math> usually requires a | \. In </math>TeX</math>, apparently, it does not. Other packages, AsciiMath, when it becomes available, may use it differently again so be careful using it. The copyright character may use the default MimeTeX charset, and produces a copyright notice for John Forkosh Associates.
WARNINGS: The & character in </math>LaTeX</math> usually requires a | \. In </math>TeX</math>, apparently, it does not. Other packages, AsciiMath, when it becomes available, may use it differently again so be careful using it. The copyright character may use the default MimeTeX charset, and produces a copyright notice for John Forkosh Associates.
There are also a number of characters that can be used in MimeTeX but do not render in this page:
 
[[Image: cfmimetex08.png|\left(x \right)]] 
\\Image: cfmimetex07.png| \widetilde{ab}


==See Also==
==See Also==

Revisió del 06:48, 9 jul 2010

As we have already covered the basics of MimeTeX, this page is devoted to more advanced issues.

Maths symbols available in Moodle

A number of the characters and symbols below have already been covered in previous pages, but this is a more exhaustive list. There are a number more, but their relevance to K-12 maths is questionable.

Keyboard characters are available as themselves but many characters have a significance in TeX. All control sequences start with the backslash, \, and have no end character. All command sequences start and end with the $$. There are a number of different types of charsets available, not just Maths but also scientific sets but these need be installed to your Moodle if you want additional charsets.

Symbols

These are not all the symbols that may be available in MimeTeX, just the ones that a) Work in Moodle and b) that I have found to work in Moodle.

\amalg \cup \oplus \times
\ast \dagger \oslash \triangleleft
\bigcirc \ddagger \otimes \triangleright
\bigtriangledown \diamond \pm \odot
\bigtriangleup \div \ominus \wr
\circ \wedge \vee \sqcup
\leq \geq \equiv \prec
\succ \sim \perp \preceq
\succeq \simeq \mid \ll
\gg \asymp \parallel \subset
\supset \subseteq \supseteq \approx
\neq \ni \notin \in
\vdash \dashv \bullet \cdot

Arrows

Arrows

\leftarrow \longleftarrow \Leftarrow \Longleftarrow
\rightarrow \longrightarrow \Rightarrow \Longrightarrow
\uparrow \Uparrow \downarrow \Downarrow
\leftrightarrow \longleftrightarrow \updownarrow \Updownarrow
\Leftrightarrow \Longleftrightarrow \leftrightharpoon \Im
\nearrow \nwarrow \swarrow
\searrow

Delimiters and Maths Constructs

NOTE: Most delimiters and constructs need additional parameters for them to appear appropriately.

\{x \} \rangle \langle
\angle \= \sqrt{ab} \sqrt[n]{ab}
\frac{ab}{cd} \backslash \widehat{ab} \$
\overline{ab} \underline{ab} \therefore \ddots
\% \# \vdots \emptyset

WARNINGS: The & character in </math>LaTeX</math> usually requires a | \. In </math>TeX</math>, apparently, it does not. Other packages, AsciiMath, when it becomes available, may use it differently again so be careful using it. The copyright character may use the default MimeTeX charset, and produces a copyright notice for John Forkosh Associates.

There are also a number of characters that can be used in MimeTeX but do not render in this page:

\left(x \right)

\\Image: cfmimetex07.png| \widetilde{ab}

See Also