Commenti:LaTeX - codici per le formule di uso comune
Da GeoGebra Manual.
Versione del 23 mag 2017 alle 09:45 di Mathmum (discussione | contributi) (Creata pagina con "==Come utilizzare le formule== Basta copiare il testo contenuto nella colonna '''Input LaTeX''' nella casella di isnerimento dell'oggetto testo. Se la formula deve essere dina...")
Come utilizzare le formule
Basta copiare il testo contenuto nella colonna Input LaTeX nella casella di isnerimento dell'oggetto testo. Se la formula deve essere dinamica è necessario inserire l'oggetto dinamico al posto delle variabili indicate.
Anteprima
Le forumle avranno questo aspetto in Java (http://www.geogebra.org/student/m33487?mobile=false) e questo in HTML5 (http://www.geogebra.org/student/m33487?mobile=true)
Formule di uso comune
Usage | Input LaTeX | Output LaTeX |
---|---|---|
Radice quadrata | \sqrt{x} | \sqrt{x} |
Frazioni | \frac{a}{b+c} | \frac{a}{b+c} |
\left( e \right) per parentesi grandi | \left( \frac{a}{b} \right) ^{2} | \left( \frac{a}{b} \right) ^{2} |
\textcolor definisce un colore | x^{\textcolor{#FF00FF}{2}} | |
\cr definisce un'interruzione di riga | x=3 \cr y=2 | \begin{array} x=3 \\ y=2 \end{array} |
\text{ } per testo ed espressioni | \text{Le radici di }ax^2 + bx + c= 0\text{ sono }x = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} | \text{Le radici di }ax^2 + bx + c= 0 \text{ sono } x = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} |
Pendenza di una retta (1) | m=\frac{y_2-y_1}{x_2-x_1} | m=\frac{y_2-y_1}{x_2-x_1} |
Pendenza di una retta (2) | m= \frac{Δy}{Δx}=\frac{y_A-y_B}{x_A-x_B} | m= \frac{Δy}{Δx}=\frac{y_A-y_B}{x_A-x_B} |
Compound Interest | Amount = Principal \cdot \left( 1 + \frac {rate}{periods} \right) ^ {time \cdot periods} | Amount = Principal \cdot \left( 1 + \frac {rate}{periods} \right) ^ {time \cdot periods} |
Quadratic Equation | a x^2 + b x + c = 0 | a x^2 + b x + c = 0 |
Simplified Quadratic Equation | x^2 + p x + q = 0 | x^2 + p x + q = 0 |
Vertex Form | f(x) = a(x - h)^2 + k | f(x) = a(x - h)^2 + k |
Factored Form | f(x) = (x + a)(x + b) | f(x) = (x + a)(x + b) |
Quadratic Formula | x = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} | x = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} |
Quadratic Formula | x_{1/2} = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} | x_{1/2} = \frac {-b \pm \sqrt {b^2 - 4ac}}{2a} |
Quadratic Formula for Simplified Quadratic Equation | x_{1/2} = - \frac{p}{2}{ \pm \sqrt {\left( \frac{p}{2} \right)^2 - q}} | x_{1/2} = - \frac{p}{2}{ \pm \sqrt {\left( \frac{p}{2} \right)^2 - q}} |
Quadratic Formula for Simplified Quadratic Equation | x_{1/2} = - \frac{p}{2}{ \pm \sqrt {\left( \frac{p}{2} \right)^2 - q}} | x_{1/2} = - \frac{p}{2}{ \pm \sqrt { \frac{p^2}{4} - q}} |
Cubic Equation | a x^3 + b x^2 + c x + d = 0 | a x^3 + b x^2 + c x + d = 0 |
Basic Trigonometry Forms | \sin A = \frac {opp}{hyp} = \frac {a}{c} = (a/c) | \sin A = \frac {opp}{hyp} = \frac {a}{c} = (a/c) |
f(x) = a \sin b (x - h) + k | f(x) = a \sin b (x - h) + k | |
f(x) = a sin (B x + C) + k | f(x) = a \sin (B x + C) + k | |
b (x - h) = B \left( x - \frac {-C}{B} \right) | b (x - h) = B \left( x - \frac {-C}{B} \right) | |
h = \frac {-C}{B} | h = \frac {-C}{B} | |
Limit (corrected to work in HTML5 as well as Java) | \lim_{x \to \infty} \left( \frac{1}{x} \right) | \lim_{x \to \infty} \left( \frac{1}{x} \right) |
Distance Formula | \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2} | \sqrt{(x_1 - x_2)^2 + (y_1 - y_2)^2} |
Text formatting
Usage | LaTex Input | LaTex Output |
---|---|---|
Text with spacing | \text{some words with spaces} | \text{some words with spaces} |
Italic text | \mathit{italic text} | \mathit{italic text} |
Bold text | \mathbf{bold text} | \mathbf{bold text} |