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
Cap resum de modificació
Línia 7: Línia 7:
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.
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. Unfortunately, MimeTeX is designed for use in Maths, not science so it may struggle using non-Maths charsets.
Keyboard characters are available as themselves but many characters have a significance in TeX. All command sequences start and end with the $$ i.e. $$ \entire command sequence $$. All control sequences start with the backslash, \, i.e. \times, or \frac{1}{2}, and have no end character. 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. Unfortunately, MimeTeX is designed for use in Maths, not science, so it may struggle using non-Maths charsets.


==Symbols==
==Symbols==

Revisió del 13:36, 9 jul 2010

As we have already covered the basics of MimeTeX, this page is devoted to the characters you can use.

WARNING: In this Wiki environment, the MimeTeX filter is not controlling the essential rendering of the control sequences. The effects are the same, but they are rendered by another Tex filter. It helps the syntax is almost the same though.

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 command sequences start and end with the $$ i.e. $$ \entire command sequence $$. All control sequences start with the backslash, \, i.e. \times, or \frac{1}{2}, and have no end character. 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. Unfortunately, MimeTeX is designed for use in Maths, not science, so it may struggle using non-Maths charsets.

Symbols

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

\amalg No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \amalg} \cup No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \cup} \oplus No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \oplus} \times No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \times}
\ast No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \ast} \dagger No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \dagger} \oslash No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \oslash} \triangleleft No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \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 LaTeX usually requires a \. In TeX, apparently, it does not. Other packages, AsciiMath, 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. I have been, almost reliably, informed that a particular instruction will produce a different notice though .:)

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}
\textdegree or (50)^\circ

Greek Letters

\alpha \beta \gamma
\delta \epsilon \zeta
\eta \theta \iota
\kappa \lambda No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \mu} \mu
No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \xi} \xi \pi No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \rho} \rho
No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \sigma} \sigma No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \tau} \tau No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \upsilon} \upsilon
No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \phi} \phi No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \chi} \chi No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \psi} \psi
No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \omega} \omega No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \Omega} \Omega No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \Theta} \Theta
No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \Delta} \Delta No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \Pi} \Pi No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \Phi} \Phi

Notable Exceptions

Greek letter omicron. Simply put, omicron is an "o" or an "O".

Fonts

To use a particular font you need to access the font using the same syntax as demonstrated above.

A math calligraphic font:

No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \mathcal{ABCDEFGHIJKLMNOPQRSTUVXYZ}}

or

$$ \mathcal{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$

A Castellar type font:

No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \mathbb{ABCDEFGHIJKLMNOPQRSTUVXYZ}}

or

$$ \mathbb{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$

An Old English type font:

No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \mathfrak{ABCDEFGHIJKLMNOPQRSTUVXYZ}}

or

$$ \mathfrak{ABCDEFGHIJKLMNOPQRSTUVXYZ}$$

An italic font:

ABCDEFGHIJKLMNOPQRSTUVXYZ

or

$$ \mathi{ABCDEFGHIJKLMNOPQRSTUVXYZ} $$

A bold-face font:

No s'ha pogut entendre (MathML amb SVG o PNG alternatiu (recomanat per a navegadors moderns i eines d'accessibilitat): Resposta invàlida («Math extension cannot connect to Restbase.») del servidor «https://en.wikipedia.org/api/rest_v1/»:): {\displaystyle \mathbf{ABCDEFGHIJKLMNOPQRSTUVXYZ}}

or

$$ \mathbf{ABCDEFGHIJKLMNOPQRSTUVXYZ} $$

See Also