“LaTeX”的版本间的差异
(Autogenerated from properties) |
(en) |
||
第1行: | 第1行: | ||
<noinclude>{{Manual Page|version=4.0}}</noinclude>{{objects|advanced}} | <noinclude>{{Manual Page|version=4.0}}</noinclude>{{objects|advanced}} | ||
:{{translate|LaTeX}} | :{{translate|LaTeX}} | ||
+ | In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the [[Image:Tool Insert Text.gif]][[Insert Text Tool]] and enter your formula in LaTeX syntax. | ||
+ | |||
+ | {{Note|In order to create text that contains a LaTeX formula as well as static text you may enter the static part of the text and then add the LaTeX formula in between a set of dollar symbols ($).}} | ||
+ | |||
+ | {{Example|1=The length of the diagonal is <nowiki>$\sqrt{ 2 }$</nowiki>.}} | ||
+ | |||
+ | You can select the syntax for common formula symbols from the drop-down menu next to the LaTeX checkbox. This inserts the corresponding LaTeX code into the text field and places the cursor in between a set of curly brackets. The Symbols drop-down menu contains a list of common math symbols, Greek letters and operators. If you would like to create dynamic text within the formula, you need to select the relating objects from the Objects drop-down list, causing GeoGebra to insert their names as well as the syntax for mixed text. | ||
+ | |||
+ | Some important LaTeX commands are explained in following table. Please have a look at any LaTeX documentation for further information. | ||
+ | {|class="pretty" | ||
+ | !LaTeX input | ||
+ | !Result | ||
+ | |- | ||
+ | |a \cdot b | ||
+ | |<math>a \cdot b</math> | ||
+ | |- | ||
+ | |\frac{a}{b} | ||
+ | |<math>\frac{a}{b}</math> | ||
+ | |- | ||
+ | |\sqrt{x} | ||
+ | |<math>\sqrt{x}</math> | ||
+ | |- | ||
+ | |\sqrt[n]{x} | ||
+ | |<math>\sqrt[n]{x}</math> | ||
+ | |- | ||
+ | |\vec{v} | ||
+ | |<math>\vec{v}</math> | ||
+ | |- | ||
+ | |\overline{AB} | ||
+ | |<math>\overline{AB}</math> | ||
+ | |- | ||
+ | |x^{2} | ||
+ | |<math>x^{2}</math> | ||
+ | |- | ||
+ | |a_{1} | ||
+ | |<math>a_{1}</math> | ||
+ | |- | ||
+ | |\sin\alpha + \cos\beta | ||
+ | |<math>\sin\alpha + \cos\beta</math> | ||
+ | |- | ||
+ | |\int_{a}^{b} x dx | ||
+ | |<math>\int_{a}^{b} x dx</math> | ||
+ | |- | ||
+ | |\sum_{i=1}^{n} i^2 | ||
+ | |<math>\sum_{i=1}^{n} i^2</math> | ||
+ | |} | ||
+ | |||
+ | ==See also== | ||
+ | * [http://folk.uio.no/knutm/mmcs2008/lshort2e.pdf The Not So Short Introduction To LaTeX] | ||
+ | * [http://www.tug.org TeX user group] |
2011年10月3日 (一) 09:32的最新版本
In GeoGebra you can write formulas as well. To do so, check the box LaTeX formula in the dialog window of the Insert Text Tool and enter your formula in LaTeX syntax.
You can select the syntax for common formula symbols from the drop-down menu next to the LaTeX checkbox. This inserts the corresponding LaTeX code into the text field and places the cursor in between a set of curly brackets. The Symbols drop-down menu contains a list of common math symbols, Greek letters and operators. If you would like to create dynamic text within the formula, you need to select the relating objects from the Objects drop-down list, causing GeoGebra to insert their names as well as the syntax for mixed text.
Some important LaTeX commands are explained in following table. Please have a look at any LaTeX documentation for further information.
LaTeX input | Result |
---|---|
a \cdot b | a \cdot b |
\frac{a}{b} | \frac{a}{b} |
\sqrt{x} | \sqrt{x} |
\sqrt[n]{x} | \sqrt[n]{x} |
\vec{v} | \vec{v} |
\overline{AB} | \overline{AB} |
x^{2} | x^{2} |
a_{1} | a_{1} |
\sin\alpha + \cos\beta | \sin\alpha + \cos\beta |
\int_{a}^{b} x dx | \int_{a}^{b} x dx |
\sum_{i=1}^{n} i^2 | \sum_{i=1}^{n} i^2 |