Note: You are currently viewing documentation for Moodle 2.1. Up-to-date documentation for the latest stable version is available here: Using MimeTeX 2.

Using MimeTeX 2: Difference between revisions

From MoodleDocs
Colin Fraser (talk | contribs)
Colin Fraser (talk | contribs)
No edit summary
Line 255: Line 255:
| \widetilde{ab}
| \widetilde{ab}
|}
|}
==Greek Letters==
{| class="nicetable"
|-
| <math>\alpha</math>
| \alpha 
| <math>\beta</math>
| \beta 
| <math>\gamma</math>
| \gamma
|-
| <math>\delta</math>
| \delta 
| <math>\epsilon</math>
| \epsilon
| <math>\zeta</math>
| \zeta
|-
| <math>\eta</math>
| \eta
| <math>\theta</math>
| \theta
| <math>\iota</math>
| \iota
|-
| <math>\kappa</math>
| \kappa
| <math>\lambda</math>
| \lambda
| <math>\mu</math>
| \mu
|-
| <math>\xi</math>
| \xi
| <math>\pi</math>
| \pi
| <math>\rho</math>
| \rho
|-
| <math>\sigma</math>
| \sigma
| <math>\tau</math>
| \tau
| <math>\upsilon</math>
| \upsilon
|-
| <math>\phi</math>
| \phi
| <math>\chi</math>
| \chi
| <math>\psi</math>
| \psi
|-
| <math>\omega</math>
| \omega 
| <math>\Omega</math>
| \Omega 
| <math>\Theta</math>
| \Theta
|-
| <math>\Delta</math>
| \Delta 
| <math>\Pi</math>
| \Pi 
| <math>\Phi</math>
| \Phi
|}
Notable Exceptions
Greek letter omicron. Simply put, omicron is an "o" or an "O".
Degrees can be written  $$ <math>\textdegree</math> $$ or $$ 50^\circ $$ 50^\circ$$


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

Revision as of 07:18, 9 July 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 Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \amalg} \cup Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \cup} \oplus Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \oplus} \times Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \times}
\ast Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \ast} \dagger Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \dagger} \oslash Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \oslash} \triangleleft Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \triangleleft}
\bigcirc Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \bigcirc} \ddagger Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \ddagger} \otimes Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \otimes} \triangleright Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \triangleright}
\bigtriangledown Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \bigtriangledown} \diamond Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \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 Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \supseteq} \approx Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \approx}
\neq Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \neq} \ni Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \ni} \notin Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \notin} \in Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \ni}
\vdash Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \vdash} \dashv Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle \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:

Larger \left(x and \right) brackets
\widetilde{ab}

Greek Letters

\alpha \beta \gamma
\delta \epsilon \zeta
\eta \theta \iota
\kappa \lambda \mu
\xi \pi \rho
\sigma \tau \upsilon
\phi \chi \psi
\omega \Omega \Theta
\Delta \Pi \Phi

Notable Exceptions

Greek letter omicron. Simply put, omicron is an "o" or an "O". Degrees can be written $$ Failed to parse (unknown function "\textdegree"): {\displaystyle \textdegree} $$ or $$ 50^\circ $$ 50^\circ$$

See Also