Friday, April 19, 2024, 11:24 PM
Site: Trinity Moodle
Course: Trinity Moodle (Home)
Glossary: Math Notation Help
01 GETTING STARTED
escaping the TeX filter - With two triple $'s embracing an expression you can make the filter to escape and the code itself is shown (with two embracing double $'s).
- Ex.: $$$a^2$$$ produces $$a^2$$, i.e. prevents the filter to render it as a formula gif.
|
|
mathematics expression - A valid expression inside the $'s is rendered as mathematics in an inserted gif image.
- Ex.: $$x=y^2$$ creates
|
|
triggering the TeX filter - Two double $'s embracing a valid math expression trigger the filter to generate and insert the formula gif.
- Ex.: $$a^2$$ produces
|
|
02 ARITHMETIC EXPRESSIONS, SUB-/SUPERSCRIPTS, ROOTS
arithmetic operations - Type arithmetic operations and "=" as usual.
- Exp.: $$f(x)=x-2b+(3a/c)$$ gives
- See also keyword "fraction" for extended capabilities.
|
|
constants - Numbers in formulas are interpreted as constants and they are rendered in non-italic roman font face, which is a widely used convention.
- Following this convention, variables are shown in italic.
- Exp.: $$f(x)=3a+x$$ gives
|
|
multiplication (with cdot) $$a\cdot~b$$ gives |
|
root - Syntax: \sqrt[n]{arg} or simply \sqrt{arg} for \sqrt[2]{arg}
- Ex.: $$\sqrt[3]{8}$$ gives
- Nesting of roots (and combining with fractions, ...etc.) are possible.
- Ex.: $$\sqrt[n]{\frac{x^n-y^n}{1+u^{2n}}}$$ gives
- Ex.: $$\sqrt[3]{-q+\sqrt{q^2+p^3}}$$ gives
|
|
variables - Variables in formulas are rendered in italic roman font face, which is a widely used convention.
- Following this convention, constants are shown as non-italic.
- Exp.: $$f(x)=3a+x$$ gives
|
|
03 FONT STYLES
\LARGE (all capital letters) - Everthing following the \LARGE command will be output in the largest predefined font size until the system encounters another font size command.
- Note: This command is case sensitive, since large, Large and LARGE are different sizes!
- Ex.: $$\LARGE~3x$$ gives
|
|
\Large (L capital letter) - Everthing following the \Large command will be output in the second largest font size until the system encounters another font size command.
- Note: This command is case sensitive, since large, Large and LARGE are different sizes!
- Ex.: $$\Large~3x$$ gives
|
|